From 1c587c1c8f145eb262d8240783c0bafc2d9cee27 Mon Sep 17 00:00:00 2001 From: David Thurstenson Date: Tue, 20 Dec 2016 12:26:17 -0600 Subject: [PATCH] Move to correct display names, Use j4-make-config to create an i3 config before launching i3. --- .xinitrc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.xinitrc b/.xinitrc index 1b33ac1..182466d 100644 --- a/.xinitrc +++ b/.xinitrc @@ -37,11 +37,11 @@ xautolock -time 30 -locker 'i3lock -b -d -c 000000 -e -f' & # dtarchaio-specific config: if [ "$(hostname)" == "dtarchaio" ]; then # Set HDMI1 to be right of eDP1 - xrandr --output eDP-1 --auto --output HDMI-1 --right-of eDP-1 + xrandr --output eDP1 --auto --output HDMI1 --right-of eDP1 # Set the bell to be different from Matt's xset b 75 750 50 # Set Touchscreen to only work on main display - xinput --map-to-output $(xinput list --id-only "Advanced Silicon S.A CoolTouch(TM) System") eDP-1 + xinput --map-to-output $(xinput list --id-only "Advanced Silicon S.A CoolTouch(TM) System") eDP1 fi # If numlockx is installed, turn numlock on @@ -64,7 +64,8 @@ case $session in fluxbox ) exec startfluxbox;; gnome ) exec gnome-session;; gnome-classic ) exec gnome-session --session=gnome-classic;; - i3|i3wm ) exec i3 -c ~/.config/i3/$(hostname).config;; + i3|i3wm ) j4-make-config -a $(hostname).config archlinux # Create config + exec i3;; icewm ) exec icewm-session;; jwm ) exec jwm;; kde ) exec startkde;;