Prevent already existing modifiers to prevent view change

Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
This commit is contained in:
Stacy Harper 2021-09-01 18:34:00 +02:00 committed by Maarten van Gompel
parent 2e6ce5c810
commit f9976df021

View file

@ -49,16 +49,16 @@ sway() {
dwm() {
case "$1" in
next)
xdotool key Super+Shift+r
xdotool key --clearmodifiers Super+Shift+r
;;
previous)
xdotool key Super+Shift+e
xdotool key --clearmodifiers Super+Shift+e
;;
move-next)
xdotool key Super+r
xdotool key --clearmodifiers Super+r
;;
move-previous)
xdotool key Super+e
xdotool key --clearmodifiers Super+e
;;
esac
}