blob: 45d06267b376f584b2075c52a08343e466bd6502 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/sh
if [ -n "$TERM" ]; then
grep '^bindsym' ~/.config/i3/config | sort |
sed 's/^bindsym \(\S*\)\s\+\(.*\)$/\1|\2/; s/\$super+/ /; s/Shift+/וּ /; s/$alt+/Alt /; s/Ctrl+/Ctrl /' |
column --table --separator='|' | less -r
else
grep '^bindsym' ~/.config/i3/config | sort |
sed 's/^bindsym \(\S*\)\s\+\(.*\)$/\1|\2/; s/\$super+/ /; s/Shift+/Shift /; s/$alt+/Alt /; s/Ctrl+/Ctrl /' |
column --table --separator='|' | yad --text-info
fi
|