[i3] Make polybar compatible with both laptop + workstation

This commit is contained in:
Sebastian Schulze 2018-05-16 23:45:54 +02:00
parent 6284463af0
commit b9d74b3465
Signed by: bascht
GPG Key ID: 5BCB1D3B4D38A35A
1 changed files with 8 additions and 3 deletions

View File

@ -1,5 +1,10 @@
#!/bin/bash
killall -9 polybar
MONITOR=DP-3.8 polybar bascht --reload &
polybar bascht --reload &
killall -9 polybar
if [[ $HOSTNAME == "zog"* ]]; then
MONITOR=DP-3.8 polybar bascht &
MONITOR=DP-2 polybar bascht &
else
polybar bascht &
fi;