polybar/toggle-polybar.sh

16 lines
162 B
Bash
Executable File

#!/bin/sh
if killall polybar; then
exit 0
else
_host=$(hostname)
case "$_host" in
Patricia)
polybar HDMI-0 &
polybar DVI-0 &
;;
Pamela)
;;
esac
fi