dots-of-war/files/scripts/showMappings.sh
2020-03-29 20:47:50 +02:00

2 lines
195 B
Bash
Executable file

#!/bin/dash
cat ~/.xmonad/lib/Config.hs | awk '/myKeys = \[/,/\] \+\+ generatedMappings.*/' | sed 's/myKeys = \[//g' | sed 's/\].*generatedMappings.*//g' | sed 's/^\s*,\? //g' | sed 's/^(\|)//g'