From afa1f7e2a542fd3bb308d5d989d6f209ae097b6d Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Tue, 24 Jun 2014 14:28:24 +0200 Subject: [PATCH] added conditionals for diffrent systems --- .xinitrc | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/.xinitrc b/.xinitrc index 7f4f3e5..bddeece 100644 --- a/.xinitrc +++ b/.xinitrc @@ -5,14 +5,28 @@ xset -dpms xset s off # Composite manager -compton -d :0.0 -b -compton -d :0.1 -b +case "$(hostname)" in + "ryx") + compton -d :0.0 -b + compton -d :0.1 -b + ;; + "len") + compton -d :1 -b + ;; + *) +esac # Background xrdb ~/.Xresources nitrogen --restore # Window manager -DISPLAY=:0.1 i3 & +case "$(hostname)" in + "ryx") + DISPLAY=:0.1 i3 & + ;; + *) +esac + exec i3