Jeśli w ~/.config/sxhkd/sxhkdrc masz komentarze z opisem działania, np.:
# quit/restart bspwm
super + alt + {q,r}
bspc {quit,wm -r}
# close and kill
super + {_,shift + } w
bspc node -{c,k}
# tiled/monocle layout
super + m
bspc desktop -l next
Możesz je wykorzystać do pokazania ściągawki.
~/bin/lssxhkd:
#!/bin/env bash
awk '/^[A-Za-z@]/ && last {print $0,"\t",last} {last=""} /^#/{last=$0}' \
~/.config/sxhkd/sxhkdrc | column -t -s $'\t'
$ lssxhkd
super + Escape # make sxhkd reload its configuration files:
super + Return # terminal emulator
super + shift + Return # terminal emulator (floating)
super + alt + {q,r} # quit/restart bspwm
super + {_,shift + } w # close and kill
super + m # tiled/monocle layout
super + y # send the newest marked node to the newest preselected node
super + shift + y # send the current node to the newest preselected node
super + g # swap the current node and the biggest node
super + {t,shift + t,s,f} # set the window state (tiled,pseudo_tiled,floating,fullscreen)
super + ctrl + {m,x,y,z} # set the node flags (marked,locked,sticky,private)
super + {_,shift + }{h,j,k,l} # focus the node in the given direction
super + {p,b,comma,period} # focus the node for the given path jump
super + {_,shift + } c # focus the next/previous node in the current desktop
super + bracket{left,right} # focus the next/previous desktop in the current monitor
super + alt + {p,n} # focus the prev/next desktop with opened app
super + {grave,Tab} # focus the last node/desktop
[...]