diff --git a/toggle-polybar.sh b/toggle-polybar.sh new file mode 100755 index 0000000..10550f8 --- /dev/null +++ b/toggle-polybar.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +if killall polybar; then + exit 0 +else + _host=$(hostname) + case "$_host" in + Patricia) + polybar HDMI-0 & + polybar DVI-0 & + ;; + Pamela) + ;; + esac +fi