mirror of
https://github.com/rydesun/dotfiles.git
synced 2025-12-26 14:44:58 +08:00
Add keybindings
This commit is contained in:
parent
3959b803ff
commit
ea00f99786
2 changed files with 6 additions and 0 deletions
|
|
@ -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
5
.config/xbindkeys/config
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue