add polybar toggle script
This commit is contained in:
parent
05c3068f20
commit
138cf65205
1 changed files with 15 additions and 0 deletions
15
toggle-polybar.sh
Executable file
15
toggle-polybar.sh
Executable 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue