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

3 lines
174 B
Bash
Raw Normal View History

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