dotfiles

My dotfiles.
git clone git://git.ryanmj.xyz/dotfiles.git
Log | Files | Refs | LICENSE

init-polybar.sh (305B)


      1 #!/usr/bin/env sh
      2 
      3 # Terminate already running bar instances
      4 killall -q polybar
      5 
      6 # Wait until the processes have been shut down
      7 while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
      8 
      9 # Launch Polybar, using default config location ~/.config/polybar/config
     10 polybar main &
     11 
     12 echo "Polybar launched..."