NixOS configs
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.

19 lines
384 B

  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 bspwm &
  11. }
  12. newver
  13. echo "Polybar launched..."