mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2025-01-09 00:36:48 +00:00
14 lines
349 B
Bash
14 lines
349 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
killall -q polybar
|
||
|
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
|
||
|
|
||
|
export TERMINAL_CMD="tilix --profile orange --new-process -e"
|
||
|
export WM_CONTROL="wmctrl -a"
|
||
|
|
||
|
for monitor in $(polybar --list-monitors | cut -d":" -f1); do
|
||
|
export MONITOR=$monitor
|
||
|
polybar top -c ~/.config/polybar/bar.ini >/dev/null &
|
||
|
done
|
||
|
|