Use Super as dwm modifier key
Signed-off-by: Stacy Harper <contact@stacyharper.net>
This commit is contained in:
parent
200ecfa1a7
commit
d8e19504f6
3 changed files with 9 additions and 9 deletions
|
@ -133,7 +133,7 @@ programchoicesinit() {
|
|||
printf %b "Off → On" || printf %b "On → Off";
|
||||
printf %b "^ 1 ^ sxmo_flashtoggle.sh"
|
||||
)
|
||||
$icon_cfg Bar Toggle ^ 1 ^ key Alt+b
|
||||
$icon_cfg Bar Toggle ^ 1 ^ key Super+b
|
||||
$icon_cfg Invert Colors ^ 1 ^ xcalib -a -invert
|
||||
$icon_clk Change Timezone ^ 1 ^ sxmo_timezonechange.sh
|
||||
$icon_ror Autorotate $(
|
||||
|
|
|
@ -65,8 +65,8 @@ killexistingfoxtrotgps() {
|
|||
WMCLASS="$(xprop -id "$ACTIVEWIN" | grep WM_CLASS | cut -d ' ' -f3-)"
|
||||
if echo "$WMCLASS" | grep -i foxtrot; then
|
||||
# E.g. by focusing back and refocuing forward we preserve ordering in stack
|
||||
xdotool key Alt+k
|
||||
xdotool key Alt+j
|
||||
xdotool key Super+k
|
||||
xdotool key Super+j
|
||||
xdotool windowkill "$ACTIVEWIN" && return 0
|
||||
return 1
|
||||
else
|
||||
|
|
|
@ -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)"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue