update setxkbmap and hope no one else is using these files

This commit is contained in:
Aminda Suomalainen 2019-01-30 19:16:45 +02:00
parent c331eababc
commit f7fbf35109
No known key found for this signature in database
GPG Key ID: 0C207F07B2F32B67
2 changed files with 6 additions and 4 deletions

View File

@ -1,6 +1,7 @@
# Map compose to left menu and kill x with ctrl alt backspace and
# disable unbreakable space
setxkbmap -option compose:menu -option terminate:ctrl_alt_bksp -option nbsp:none
# disable unbreakable space, male alt+shift change layout and
# layouts Finnish, Czech Qwerty and Esperanto.
setxkbmap -option compose:menu -option terminate:ctrl_alt_bksp -option nbsp:none -option 'grp:alt_shift_toggle' -layout fi,cz,epo -variant ,qwerty,
# Set TZ as the current timezone. This is supposed to be sent over SSH.
TZ=$(date +%Z)

View File

@ -8,8 +8,9 @@ fi
# Set compose to menu, kill X with ctrl-alt-backspace,
# 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
# make alt+shift toggle layout and specify layouts
# as Finnish, Czech Qwerty and Esperanto.
setxkbmap -option compose:menu -option terminate:ctrl_alt_bksp -option nbsp:none -option 'grp:alt_shift_toggle' -layout fi,cz,epo -variant ,qwerty,
# 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]}')