startup polybar

This commit is contained in:
Ray Elliott 2020-04-07 21:55:47 +01:00
parent a64bcacc91
commit 047f962fa5
2 changed files with 19 additions and 0 deletions

15
start-polybar.sh Executable file
View File

@ -0,0 +1,15 @@
#!/bin/sh
sleep 3;
_host=$(hostname)
case "$_host" in
Patricia)
polybar HDMI-0 &
polybar DVI-0 &
;;
Pamela)
;;
esac
sleep 2;
polybar-msg cmd hide

View File

@ -79,6 +79,8 @@ _host=$(hostname)
case "$_host" in
Patricia)
barriers --no-tray --debug ERROR --name Patricia -c ~/.config/barrier/barrier.conf --address 192.168.0.201:24800 &
kitty &
"$HOME/.config/xinitrc/start-polybar.sh" &
;;
Pamela)
# TODO - why did i have these? do i still need them?
@ -90,6 +92,8 @@ case "$_host" in
;;
esac
# sleep 3; polybar-msg cmd hide &
bspwm
# if [ -f /usr/local/bin/start_dwm ] ; then