make right windows and menu key a hyper key

This commit is contained in:
Łukasz Pankowski 2020-07-22 10:27:15 +02:00
parent 25b6d66553
commit fddcd180ff
2 changed files with 6 additions and 0 deletions

5
bspwm/.xmodmaprc Normal file
View File

@ -0,0 +1,5 @@
! make right windows key and menu key a hyper key
remove mod4 = Super_R
keycode 134 = Hyper_R NoSymbol Hyper_R
keycode 135 = Hyper_R NoSymbol Hyper_R
add Mod5 = Hyper_R

View File

@ -9,6 +9,7 @@ xrandr --output HDMI1 --right-of DP1
xsetroot -solid '#224242' xsetroot -solid '#224242'
xrdb -merge ~/.Xresources xrdb -merge ~/.Xresources
setxkbmap pl -option ctrl:nocaps setxkbmap pl -option ctrl:nocaps
xmodmap ~/.xmodmaprc
# lock screen on suspend/hibernate # lock screen on suspend/hibernate
if which xss-lock slock >/dev/null; then if which xss-lock slock >/dev/null; then