From c57a6dc79a2e08408fca74a0e7638cd5d95df30b Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Tue, 18 Nov 2014 00:47:13 +0900 Subject: [PATCH] shrc: Unset SHLVL in xinitrc --- xinitrc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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