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
370 B

  1. #!/usr/bin/env bash
  2. DIR="$HOME/.config/polybar/hack"
  3. # Terminate already running bar instances
  4. killall -q polybar
  5. # Wait until the processes have been shut down
  6. while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
  7. # Launch the preview bar
  8. polybar -q top -c "$DIR"/preview.ini &
  9. polybar -q mid -c "$DIR"/preview.ini &
  10. polybar -q bottom -c "$DIR"/preview.ini &