nix-config/.config/polybar/launch.sh

13 lines
349 B
Bash
Raw Normal View History

#!/bin/sh
2018-02-27 21:07:50 +01:00
# New Start: A modern Arch workflow built with an emphasis on functionality.
# Copyright (C) 2017 Donovan Glover
# Terminate any previous instances of polybar
killall -q polybar
# Wait until there are no more polybar instances running
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
# Start polybar
launch polybar secondary