profile: embrace Colemak (caps to backspace)

This commit is contained in:
Aminda Suomalainen 2018-09-06 13:25:36 +03:00
parent 556deb069f
commit 1140d75d72
No known key found for this signature in database
GPG Key ID: 0C207F07B2F32B67
1 changed files with 3 additions and 2 deletions

View File

@ -7,8 +7,9 @@ if hash ruby 2>/dev/null; then
fi
# Set compose to menu, kill X with ctrl-alt-backspace,
# disable nbsp (still available with compose-space-space.
setxkbmap -option compose:menu -option terminate:ctrl_alt_bksp -option nbsp:none
# disable nbsp (still available with compose-space-space,
# make Caps Lock a backspace (Colemak)
setxkbmap -option compose:menu -option terminate:ctrl_alt_bksp -option nbsp:none -option caps:backspace
# Removes duplicates from $PATH. Copied from http://unix.stackexchange.com/a/14896
PATH=$(echo "$PATH" | awk -v RS=':' -v ORS=":" '!a[$1]++{if (NR > 1) printf ORS; printf $a[$1]}')