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

22 lines
449 B

2 years ago
  1. #!/usr/bin/env bash
  2. # Terminate already running bar instances
  3. pkill polybar
  4. # Wait until the processes have been shut down
  5. while pgrep -u "$(id -u)" -x polybar >/dev/null; do sleep 1; done
  6. # Launch Polybar, using default config location ~/.config/polybar/config
  7. newver() {
  8. polybar main & sleep 0.5
  9. polybar pulse &
  10. polybar backlight &
  11. polybar bspwm &
  12. polybar battery &
  13. polybar wlan &
  14. }
  15. newver
  16. echo "Polybar launched..."