Archlinux basic installation configuration scripts
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.

14 lines
327 B

  1. #!/usr/bin/env bash
  2. # Add this script to your wm startup file.
  3. DIR="$HOME/.config/polybar/shapes"
  4. # Terminate already running bar instances
  5. killall -q polybar
  6. # Wait until the processes have been shut down
  7. while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
  8. # Launch the bar
  9. polybar -q main -c "$DIR"/config.ini &