diff --git a/.config/ncmpc/config b/.config/.old/ncmpc/config similarity index 100% rename from .config/ncmpc/config rename to .config/.old/ncmpc/config diff --git a/.config/X11/xprofile b/.config/X11/xprofile index 76af107..ea00bf3 100644 --- a/.config/X11/xprofile +++ b/.config/X11/xprofile @@ -8,7 +8,7 @@ eval $(dbus-launch --sh-syntax --exit-with-session) redshift & dunst &> /dev/null & #temp fix # MPD daemon start (if no other user instance exists) -[ -z "$(pidof mpd)" ] && mpd +[ -z "$(pgrep -fx mpd)" ] && mpd [ -z "$(pgrep -f sb-mpdup)" ] && sb-mpdup & pulsemixer --set-volume 50 sbacklight set 3 & diff --git a/.local/bin/statusbar/sb-internet b/.local/bin/statusbar/sb-internet index 0c8d157..812238e 100755 --- a/.local/bin/statusbar/sb-internet +++ b/.local/bin/statusbar/sb-internet @@ -18,7 +18,7 @@ case "$state" in INTERFACE_DISABLED) str="WIFI DOWN" ;; *) str="$(printf "NO WIFI")";; esac -eth="$(cat /sys/class/net/enp0s31f6/operstate)" +eth="$(cat /sys/class/net/enp0s31f6/operstate &> /dev/null)" if [ "up" = "$eth" ]; then str="$(printf "%s / " "$str")" fi