From 91685a52195a68c74274da086cea25682caff5a2 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Wed, 12 Feb 2014 23:59:24 +0900 Subject: [PATCH] update xinitrc --- xinitrc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/xinitrc b/xinitrc index 748cce5..b0a4b40 100755 --- a/xinitrc +++ b/xinitrc @@ -12,8 +12,11 @@ esac unset TMUX setxkbmap -layout "jp" -test "`hostname`" == "arch-aspireone" && -setxkbmap -model "acer_laptop" -layout "jp" # this line must comes first +# 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 +test "`hostname`" = "arch-mba" && \ + setxkbmap -model "apple_laptop" -layout "jp" # this line must comes first setxkbmap -option "ctrl:nocaps,ctrl:menu_rctrl" xmodmap -e 'keycode 101 = Alt_R Meta_R' # hiragana key as alt