sxhkd-rc

[fork] simple X hotkey daemon (but for the rc shell)
Log | Files | Refs | README | LICENSE

commit 754f8746d1f4a5a16b41f1e53e94c9bb2f65e38c
parent e7e2992edce8e2a58083ccb181e7570bc03167a3
Author: Bastien Dejean <nihilhill@gmail.com>
Date:   Sat,  1 Aug 2020 20:42:08 +0200

Add complex example from @msteen

Fixes #99.

Diffstat:
MREADME.md | 11+++++++++++
1 file changed, 11 insertions(+), 0 deletions(-)

diff --git a/README.md b/README.md @@ -44,6 +44,17 @@ The format of the configuration file supports a simple notation for mapping mult super + alt + p bspc config focus_follows_pointer {true,false} + # Smart resize, will grow or shrink depending on location. + # Will always grow for floating nodes. + super + ctrl + alt + {Left,Down,Up,Right} + n=10; \ + { d1=left; d2=right; dx=-$n; dy=0; \ + , d1=bottom; d2=top; dx=0; dy=$n; \ + , d1=top; d2=bottom; dx=0; dy=-$n; \ + , d1=right; d2=left; dx=$n; dy=0; \ + } \ + bspc node --resize $d1 $dx $dy || bspc node --resize $d2 $dx $dy + ## Editor Plugins ### Vim