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
hypr/scripts
|
@ -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…
Add table
Add a link
Reference in a new issue