From eb8215e92207a1130d8fed2e328d77a759de044c Mon Sep 17 00:00:00 2001 From: meliurwen Date: Mon, 8 Nov 2021 00:22:32 +0100 Subject: [PATCH] Removed --reload from polybar launch script --- polybar/.config/polybar/launch.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/polybar/.config/polybar/launch.sh b/polybar/.config/polybar/launch.sh index 4d82582..1b6ff2d 100755 --- a/polybar/.config/polybar/launch.sh +++ b/polybar/.config/polybar/launch.sh @@ -15,7 +15,6 @@ while pgrep -u "$(id -u)" -x polybar >/dev/null; do sleep 1; done POLY_IFACES="$(ip link show | awk '/^[0-9]+:/ {sub(/:/,"",$2); print $2}')" for NET_IFACE in $POLY_IFACES ; do - echo "$NET_IFACE" case $NET_IFACE in wlp* ) POLY_WLP=$NET_IFACE ;; enp* ) POLY_ENP=$NET_IFACE ;; @@ -27,8 +26,8 @@ POLY_HWMON="$HWMON_BASEDIR"/temp1_input if type "xrandr"; then for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do - POLY_WLP=$POLY_WLP POLY_ENP=$POLY_ENP POLY_HWMON=$POLY_HWMON MONITOR=$m polybar main --reload -c "$HOME/.config/polybar/config" & + POLY_WLP=$POLY_WLP POLY_ENP=$POLY_ENP POLY_HWMON=$POLY_HWMON MONITOR=$m polybar main -c "$HOME/.config/polybar/config" & done else - polybar main --reload -c "$HOME/.config/polybar/config" & + POLY_WLP=$POLY_WLP POLY_ENP=$POLY_ENP POLY_HWMON=$POLY_HWMON MONITOR=$m polybar main -c "$HOME/.config/polybar/config" & fi