diff --git a/xinitrc b/xinitrc index c3cd5dd..ada6092 100755 --- a/xinitrc +++ b/xinitrc @@ -9,14 +9,16 @@ case "$TERM" in xterm*) return;; esac +unset SHLVL unset TMUX +# -model set must come before -option setxkbmap -layout "jp" # use localectl list-x11-keymap-models to get list of available models test "`hostname`" = "arch-aspireone" && \ - setxkbmap -model "acer_laptop" -layout "jp" # this line must comes first + setxkbmap -model "acer_laptop" -layout "jp" test "`hostname`" = "arch-mba" && \ - setxkbmap -model "apple_laptop" -layout "jp" # this line must comes first + setxkbmap -model "apple_laptop" -layout "jp" setxkbmap -option "ctrl:nocaps,ctrl:menu_rctrl" # use `xev` to get keycode