dotfiles/.bin/OLD/bspwm-keys

6 lines
185 B
Plaintext
Raw Normal View History

#!/bin/sh
. ~/.bin/_config
awk '/^[a-z]/ && last {print $0,"|",last} {last=""} /^#/{last=$0}' ~/.config/bspwm/sxhkdrc \
| column -t -s '|' \
| $DMENU_CMD -p "bspwm keys:" -l 30