feat: press esc to close eww widgets
This commit is contained in:
parent
588684b25b
commit
23642f4401
3 changed files with 4 additions and 3 deletions
|
@ -1 +1 @@
|
|||
/nix/store/nsxbpm07iq9gr8h9pd6vvmj139nlm2gd-home-manager-files/.config/hypr/hyprland.conf
|
||||
/nix/store/0rh5brib0wdiw91maz1903xkyxfx8lgv-home-manager-files/.config/hypr/hyprland.conf
|
|
@ -173,6 +173,7 @@ bind = $mainMod, C, killactive,
|
|||
|
||||
bind = $mainMod, L, exec, $HOME/.config/gtklock/scripts/lock.sh
|
||||
bind = $mainMod SHIFT, E, exec, eww open closer && $HOME/.config/eww/scripts/open.sh powermenu
|
||||
bindn =, Escape, exec, /home/matt/.config/eww/scripts/close-opened.sh
|
||||
bind = $mainMod SHIFT, SPACE, togglefloating,
|
||||
bind = $mainMod, D, exec, $menu
|
||||
bind = $mainMod, P, pseudo, # dwindle
|
||||
|
|
|
@ -25,7 +25,7 @@ function rotate_ms {
|
|||
rotate 1
|
||||
;;
|
||||
esac
|
||||
elif [[ $(hyprctl monitors | grep "transform: 0") == "" ]]; then
|
||||
elif [[ $(hyprctl monitors | grep "transform: 0") == "" ]]; then
|
||||
rotate 0
|
||||
fi
|
||||
}
|
||||
|
@ -37,7 +37,7 @@ function rotate {
|
|||
|
||||
hyprctl keyword monitor $SCREEN,transform,$TARGET_ORIENTATION
|
||||
|
||||
for i in "${WAYLANDINPUT[@]}"
|
||||
for i in "${WAYLANDINPUT[@]}"
|
||||
do
|
||||
hyprctl keyword device:"$i":transform $TARGET_ORIENTATION
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue