add polybar toggle script

This commit is contained in:
Ray Elliott 2020-04-07 23:25:22 +01:00
parent 05c3068f20
commit 138cf65205
1 changed files with 15 additions and 0 deletions

15
toggle-polybar.sh Executable file
View File

@ -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