mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 11:19:22 +01:00
profile: embrace Colemak (caps to backspace)
This commit is contained in:
parent
556deb069f
commit
1140d75d72
@ -7,8 +7,9 @@ if hash ruby 2>/dev/null; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Set compose to menu, kill X with ctrl-alt-backspace,
|
# Set compose to menu, kill X with ctrl-alt-backspace,
|
||||||
# disable nbsp (still available with compose-space-space.
|
# disable nbsp (still available with compose-space-space,
|
||||||
setxkbmap -option compose:menu -option terminate:ctrl_alt_bksp -option nbsp:none
|
# 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
|
# 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]}')
|
PATH=$(echo "$PATH" | awk -v RS=':' -v ORS=":" '!a[$1]++{if (NR > 1) printf ORS; printf $a[$1]}')
|
||||||
|
Loading…
Reference in New Issue
Block a user