Merge branch 'dev' into venus
status: pipe sb-internet errors to /dev/null launch sb-mpdup at startup
This commit is contained in:
commit
fa32f258e1
|
@ -11,6 +11,7 @@ dunst &> /dev/null & #temp fix
|
|||
gentoo-pipewire-launcher && wpctl set-volume @DEFAULT_AUDIO_SINK@ 50% &
|
||||
# MPD daemon start (if no other user instance exists)
|
||||
[ ! -s "$XDG_CONFIG_HOME/mpd/pid" ] && mpd
|
||||
[ -z "$(pgrep -f sb-mpdup)" ] && sb-mpdup &
|
||||
sbacklight set 3 &
|
||||
setbg &
|
||||
dwmblocks &
|
||||
|
|
|
@ -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
|
||||
|
|
Reference in New Issue