瀏覽代碼

shrc: Unset SHLVL in xinitrc

pull/1/head
10sr 10 年之前
父節點
當前提交
c57a6dc79a
共有 1 個檔案被更改,包括 4 行新增2 行删除
  1. +4
    -2
      xinitrc

+ 4
- 2
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


Loading…
取消
儲存