diff --git a/.config/X11/profile b/.config/X11/profile index e8a8e24..beac2d6 100644 --- a/.config/X11/profile +++ b/.config/X11/profile @@ -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 ) & diff --git a/.config/xbindkeys/config b/.config/xbindkeys/config new file mode 100644 index 0000000..cb64167 --- /dev/null +++ b/.config/xbindkeys/config @@ -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