Parcourir la source

shrc: Unset SHLVL in xinitrc

pull/1/head
10sr il y a 10 ans
Parent
révision
c57a6dc79a
1 fichiers modifiés avec 4 ajouts et 2 suppressions
  1. +4
    -2
      xinitrc

+ 4
- 2
xinitrc Voir le fichier

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


Chargement…
Annuler
Enregistrer