Browse Source

Move i3 restarting out of keyboard setup

Colin Powell 5 years ago
parent
commit
13ef961943

+ 0 - 1
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

+ 1 - 0
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

+ 2 - 0
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

+ 1 - 0
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