Add keybindings

This commit is contained in:
rydesun 2021-02-26 19:43:28 +08:00
parent 3959b803ff
commit ea00f99786
2 changed files with 6 additions and 0 deletions

View file

@ -7,4 +7,5 @@ export LANG=zh_CN.UTF-8
# swap Ctrl_R and Alt_R
setxkbmap -option ctrl:rctrl_ralt
setxkbmap -option ctrl:ralt_rctrl
xbindkeys -f ${XDG_CONFIG_HOME}/xbindkeys/config
) &

5
.config/xbindkeys/config Normal file
View file

@ -0,0 +1,5 @@
"xdotool keydown super && notify-send -t 5000 xdotool 正在持续按住Super键..."
b:9
"xdotool keyup super; notify-send -t 5000 xdotool 松开Super键。"
Mod4 + b:8 + Release