diff --git a/xinitrc b/xinitrc index de31f75..d1d0f48 100644 --- a/xinitrc +++ b/xinitrc @@ -1,3 +1,6 @@ +test -n "$DISPLAY" || return +test -z "$ROXTERM_PID" || return + test "`hostname`" == "arch-aspireone" && setxkbmap -model "acer_laptop" -layout "jp" # this line must comes first