Browse Source

shrc: Unset SHLVL in xinitrc

pull/1/head
10sr 10 years ago
parent
commit
c57a6dc79a
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      xinitrc

+ 4
- 2
xinitrc View File

@@ -9,14 +9,16 @@ case "$TERM" in
xterm*) return;; xterm*) return;;
esac esac


unset SHLVL
unset TMUX unset TMUX


# -model set must come before -option
setxkbmap -layout "jp" setxkbmap -layout "jp"
# use localectl list-x11-keymap-models to get list of available models # use localectl list-x11-keymap-models to get list of available models
test "`hostname`" = "arch-aspireone" && \ 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" && \ 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" setxkbmap -option "ctrl:nocaps,ctrl:menu_rctrl"
# use `xev` to get keycode # use `xev` to get keycode


Loading…
Cancel
Save