polybar/toggle-polybar.sh

16 lines
164 B
Bash
Raw Normal View History

2020-04-07 22:25:22 +00:00
#!/bin/sh
if killall polybar; then
exit 0
else
_host=$(hostname)
case "$_host" in
Patricia)
polybar HDMI-0 &
;;
Pamela)
2020-07-13 19:53:41 +00:00
polybar eDP-1-1 &
2020-04-07 22:25:22 +00:00
;;
esac
fi