Shell echokeymap to print the visual layout of a keymap upon it symbol file.
parent
7f4bbe27cb
commit
7795ece42b
|
@ -374,6 +374,16 @@ pgex ()
|
||||||
ps aux | grep "$(echo "$@" | sed 's/./[&]/;q')"
|
ps aux | grep "$(echo "$@" | sed 's/./[&]/;q')"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
## Keymap view in terminal
|
||||||
|
echokeymap ()
|
||||||
|
{
|
||||||
|
if [ $# -ne 1 ]; then
|
||||||
|
1="$HOME/.xkb/symbols/usex"
|
||||||
|
fi
|
||||||
|
|
||||||
|
awk '/━|┃|│|─/ {gsub(/^\/\/ /, ""); print $0}' "$1"
|
||||||
|
}
|
||||||
|
|
||||||
##==============================================================================
|
##==============================================================================
|
||||||
## Pacman functions
|
## Pacman functions
|
||||||
##==============================================================================
|
##==============================================================================
|
||||||
|
|
Loading…
Reference in New Issue