From 13ef96194397d161a64b32b345155e8e1276a618 Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Tue, 17 Dec 2019 12:15:19 -0500 Subject: [PATCH] Move i3 restarting out of keyboard setup --- screenlayout/.screenlayout/keyboard-and-bg.sh | 1 - screenlayout/.screenlayout/titan-one.sh | 1 + screenlayout/.screenlayout/titan-three.sh | 2 ++ screenlayout/.screenlayout/titan-two.sh | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/screenlayout/.screenlayout/keyboard-and-bg.sh b/screenlayout/.screenlayout/keyboard-and-bg.sh index bb8e3d3..634617e 100755 --- a/screenlayout/.screenlayout/keyboard-and-bg.sh +++ b/screenlayout/.screenlayout/keyboard-and-bg.sh @@ -2,4 +2,3 @@ feh --bg-scale ~/var/inbox/astrobin/`ls -Art ~/var/inbox/astrobin | tail -n 1` setxkbmap -model pc105 -layout us,ru -option grp:ctrls_toggle setxkbmap -option caps:escape -option compose:ralt & -i3 restart diff --git a/screenlayout/.screenlayout/titan-one.sh b/screenlayout/.screenlayout/titan-one.sh index c63d60b..1564b79 100755 --- a/screenlayout/.screenlayout/titan-one.sh +++ b/screenlayout/.screenlayout/titan-one.sh @@ -2,3 +2,4 @@ export DISPLAY=:0 xrandr --output HDMI-2 --off --output HDMI-1 --off --output DP-1 --off --output eDP-1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output DP-2 --off ~/.screenlayout/keyboard-and-bg.sh +i3 restart diff --git a/screenlayout/.screenlayout/titan-three.sh b/screenlayout/.screenlayout/titan-three.sh index 8e8409d..fe2c22f 100755 --- a/screenlayout/.screenlayout/titan-three.sh +++ b/screenlayout/.screenlayout/titan-three.sh @@ -1,3 +1,5 @@ #!/bin/sh +export DISPLAY=:0 xrandr --output HDMI-2 --off --output HDMI-1 --mode 2560x1440 --pos 1920x192 --rotate normal --output DP-1 --off --output eDP-1 --primary --mode 1920x1080 --pos 0x360 --rotate normal --output DP-2 --mode 1920x1080 --pos 4480x0 --rotate left ~/.screenlayout/keyboard-and-bg.sh +i3 restart diff --git a/screenlayout/.screenlayout/titan-two.sh b/screenlayout/.screenlayout/titan-two.sh index af90c82..efb0164 100755 --- a/screenlayout/.screenlayout/titan-two.sh +++ b/screenlayout/.screenlayout/titan-two.sh @@ -2,3 +2,4 @@ export DISPLAY=:0 xrandr --output HDMI-2 --off --output HDMI-1 --off --output DP-1 --off --output eDP-1 --primary --mode 1920x1080 --pos 0x600 --rotate normal --output DP-2 --mode 1680x1050 --pos 1920x0 --rotate left ~/.screenlayout/keyboard-and-bg.sh +i3 restart