aboutsummaryrefslogtreecommitdiff
path: root/polybar/launch.sh
diff options
context:
space:
mode:
authorBlaster4385 <blaster4385@tablaster.dev>2024-03-03 18:17:27 +0530
committerBlaster4385 <blaster4385@tablaster.dev>2024-03-14 23:38:38 +0530
commitc940777406364e5eb2be539bd21e11d27eed71ed (patch)
treee408579cbb238c3f373b5c546d5756e3b0c21fd8 /polybar/launch.sh
parentcead788a4a8e67f776d82c4ad50f6d065609c1cf (diff)
feat: added support for two monitors
Diffstat (limited to 'polybar/launch.sh')
-rwxr-xr-xpolybar/launch.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/polybar/launch.sh b/polybar/launch.sh
index e39b321..11e6018 100755
--- a/polybar/launch.sh
+++ b/polybar/launch.sh
@@ -2,4 +2,6 @@
killall -q polybar
-polybar --config=$HOME/.config/polybar/config.ini top
+MONITOR=DP-2 polybar --config=$HOME/.config/polybar/config.ini top
+sleep 1
+MONITOR=DP-0 polybar --config=$HOME/.config/polybar/config.ini top