diff --git a/xinitrc b/xinitrc index 80365c4..7fd5e3f 100755 --- a/xinitrc +++ b/xinitrc @@ -1,8 +1,13 @@ #! /bin/bash -if [ "$HOSTNAME" = warthog ]; then - xrdb -load -DHOST_WARTHOG ~/.Xresources -else - xrdb -load ~/.Xresources - setxkbmap us -variant altgr-intl -option ctr:nocaps -fi +case "$HOSTNAME" in + fau*) + # detects fau-machine and defines variable for Xresources + xrdb -load -DHOST_FAUCIP ~/.Xresources + setxkbmap us -variant altgr-intl -option ctr:nocaps + ;; + *) + # other hosts cann use SRVR_host + xrdb -load ~/.Xresources + ;; +esac