dots-of-war/files/scripts/showMappings.sh

7 lines
187 B
Bash
Raw Normal View History

2020-03-25 17:36:34 +00:00
#!/bin/dash
2020-04-19 15:49:39 +00:00
cat ~/.xmonad/lib/Config.hs \
| awk '/myKeys = \[/,/\] \+\+ generatedMappings.*/' \
| sed 's/myKeys = \[ (\|\].*generatedMappings.*//g' \
| sed 's/^\s*, \?(\|)//g'