mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 03:09:22 +01:00
parent
06820d58b9
commit
73d3d51377
@ -4,5 +4,5 @@ Section "InputClass"
|
||||
Identifier "system-keyboard"
|
||||
MatchIsKeyboard "on"
|
||||
Option "XkbLayout" "fi"
|
||||
Option "XkbModel" "compose:lwin"
|
||||
Option "XkbModel" "compose:menu"
|
||||
EndSection
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Map compose to left Windows key and kill x with ctrl alt backspace and
|
||||
# Map compose to left menu and kill x with ctrl alt backspace and
|
||||
# disable unbreakable space
|
||||
setxkbmap -option compose:lwin -option terminate:ctrl_alt_bksp -option nbsp:none
|
||||
setxkbmap -option compose:menu -option terminate:ctrl_alt_bksp -option nbsp:none
|
||||
|
||||
# Set TZ as the current timezone. This is supposed to be sent over SSH.
|
||||
TZ=$(date +%Z)
|
||||
|
@ -6,9 +6,9 @@ if hash ruby 2>/dev/null; then
|
||||
PATH="$(ruby -e 'print Gem.user_dir')/bin:$PATH"
|
||||
fi
|
||||
|
||||
# Set compose to left Super/Windows, kill X with ctrl-alt-backspace,
|
||||
# Set compose to menu, kill X with ctrl-alt-backspace,
|
||||
# disable nbsp (still available with compose-space-space.
|
||||
setxkbmap -option compose:lwin -option terminate:ctrl_alt_bksp -option nbsp:none
|
||||
setxkbmap -option compose:menu -option terminate:ctrl_alt_bksp -option nbsp:none
|
||||
|
||||
# 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]}')
|
||||
|
Loading…
Reference in New Issue
Block a user