You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
352 B
Bash

#!/usr/bin/env bash
killall -q waybar
while pgrep -u $UID -x waybar >/dev/null; do sleep 1; done
echo "---" | tee -a /tmp/waybar.log
#for m in $(polybar --list-monitors | cut -d":" -f1); do
# MONITOR=$m polybar example -c ~/.config/polybar/gloom-onedark.ini >>/tmp/polybarl.log 2>&1 &
#done
waybar >>/tmp/waybar.log 2>&1 &
echo "Bar launched..."