dotfiles/files/launch-polybar.sh

11 lines
230 B
Bash
Raw Permalink Normal View History

2018-11-18 20:26:59 +00:00
#!/usr/bin/env bash
# From: https://github.com/jaagr/polybar/issues/763#issuecomment-392960721
pkill polybar
for m in $(polybar --list-monitors | cut -d":" -f1); do
MONITOR=$m polybar top &
MONITOR=$m polybar bottom &
2018-11-18 20:26:59 +00:00
done