Przeglądaj źródła

shrc: Unset SHLVL in xinitrc

pull/1/head
10sr 10 lat temu
rodzic
commit
c57a6dc79a
1 zmienionych plików z 4 dodań i 2 usunięć
  1. +4
    -2
      xinitrc

+ 4
- 2
xinitrc Wyświetl plik

@@ -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


Ładowanie…
Anuluj
Zapisz