feat: press esc to close eww widgets

This commit is contained in:
matt1432 2023-06-27 00:48:17 +02:00
parent 588684b25b
commit 23642f4401
3 changed files with 4 additions and 3 deletions
hypr/scripts

View file

@ -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