[scripts] feat: adapt Menu button remaping to Super-R

This commit is contained in:
David JULIEN 2023-01-27 11:35:51 +01:00
parent d1e3350445
commit 7d4f919ff3

View File

@ -18,6 +18,6 @@ setxkbmap -option ctrl:nocaps
# But when it is pressed only once, treat it as escape.
killall xcape 2>/dev/null ; xcape -e 'Control_L=Escape'
# Map the menu button to right super as well.
xmodmap -e 'keycode 107 = Super_R'
xmodmap -e 'keycode 135 = Super_R'
# Turn off the caps lock if on since there is no longer a key for it.
#xset -q | grep "Caps Lock:\s*on" && xdotool key Caps_Lock