[bin] Pull monitor distinction into starter script

This commit is contained in:
Sebastian Schulze 2018-07-27 19:23:31 +02:00
parent aaf79e029c
commit 7077e9af3f
Signed by: bascht
GPG Key ID: 5BCB1D3B4D38A35A
2 changed files with 3 additions and 2 deletions

View File

@ -12,7 +12,7 @@ margin-top = 5
margin-bottom = 5
[bar/bascht]
monitor = ${env:MONITOR:DP-2}
monitor = ${env:MONITOR:eDP-1}
width = 100%
height = 30
;offset-x = 0

View File

@ -3,6 +3,7 @@
if [[ $HOSTNAME == "zog"* ]]; then
xrandr --output DP-3.8 --mode 2560x1440 --pos 0x0 --rotate left --output DVI-I-1 --off --output DP-1 --off --output DP-2 --mode 3440x1440 -r 49.99 --pos 1440x440 --rotate normal --output DP-2-1 --off
feh --bg-fill ~/Pictures/Wallpapers/mountains-pale.jpg
MONITOR=eDP-1
fi;
i3-polybar
MONITOR=${MONITOR} i3-polybar