Use Super as dwm modifier key

Signed-off-by: Stacy Harper <contact@stacyharper.net>
This commit is contained in:
Nguyễn Gia Phong 2021-05-16 22:29:48 +07:00 committed by Stacy Harper
parent 200ecfa1a7
commit d8e19504f6
No known key found for this signature in database
GPG key ID: 5BAC92328B7C5D65
3 changed files with 9 additions and 9 deletions

View file

@ -53,16 +53,16 @@ if [ "$HANDLE" -ne 0 ]; then
#standard handling
case "$ACTION" in
"prevdesktop")
xdotool key --clearmodifiers Alt+Shift+e
xdotool key --clearmodifiers Super+Shift+e
;;
"nextdesktop")
xdotool key --clearmodifiers Alt+Shift+r
xdotool key --clearmodifiers Super+Shift+r
;;
"moveprevdesktop")
xdotool key --clearmodifiers Alt+e
xdotool key --clearmodifiers Super+e
;;
"movenextdesktop")
xdotool key --clearmodifiers Alt+r
xdotool key --clearmodifiers Super+r
;;
"unmute")
sxmo_vol.sh unmute &
@ -156,10 +156,10 @@ if [ "$HANDLE" -ne 0 ]; then
sxmo_lock.sh
;;
"voldown_one")
xdotool key --clearmodifiers Alt+space
xdotool key --clearmodifiers Super+space
;;
"voldown_two")
xdotool key --clearmodifiers Alt+Return
xdotool key --clearmodifiers Super+Return
;;
"voldown_three")
sxmo_blinkled.sh red && xdotool windowkill "$(xdotool getactivewindow)"