Add polybar config

This commit is contained in:
Riyyi
2019-12-30 23:13:04 +01:00
parent 9e1686fd99
commit 697a41fb19
5 changed files with 304 additions and 1 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/bin/sh
# Kill existing panels
while [ "$(pgrep -cx polybar)" -gt 1 ]; do
pkill -x -9 polybar;
done
# Start a panel on each monitor
for m in $(polybar --list-monitors | cut -d ":" -f1); do
MONITOR=$m polybar --reload polybar &
done