From 047f962fa5abec245c3f3d6aed22ad3c86487568 Mon Sep 17 00:00:00 2001 From: ray Date: Tue, 7 Apr 2020 21:55:47 +0100 Subject: [PATCH] startup polybar --- start-polybar.sh | 15 +++++++++++++++ xinitrc | 4 ++++ 2 files changed, 19 insertions(+) create mode 100755 start-polybar.sh diff --git a/start-polybar.sh b/start-polybar.sh new file mode 100755 index 0000000..d7049a0 --- /dev/null +++ b/start-polybar.sh @@ -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 diff --git a/xinitrc b/xinitrc index c93fd63..ee511d6 100644 --- a/xinitrc +++ b/xinitrc @@ -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