polybar returns

This commit is contained in:
Luke Smith
2019-11-26 18:04:22 -05:00
parent e867fcfae5
commit 0578a928fd
2 changed files with 431 additions and 0 deletions

16
.config/polybar/launch.sh Executable file
View File

@@ -0,0 +1,16 @@
#!/bin/bash
#!/usr/bin/env sh
# Terminate already running bar instances
killall -q polybar
# Wait until the processes have been shut down
while pgrep -x polybar >/dev/null; do sleep 1; done
# Launch bar1 and bar2
#polybar example &
for i in $(polybar -m | awk -F: '{print $1}'); do MONITOR=$i polybar example -c ~/.config/polybar/config & done
feh --bg-scale ~/.config/wall.png
echo "Bars launched..."