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% &
|
gentoo-pipewire-launcher && wpctl set-volume @DEFAULT_AUDIO_SINK@ 50% &
|
||||||
# MPD daemon start (if no other user instance exists)
|
# MPD daemon start (if no other user instance exists)
|
||||||
[ ! -s "$XDG_CONFIG_HOME/mpd/pid" ] && mpd
|
[ ! -s "$XDG_CONFIG_HOME/mpd/pid" ] && mpd
|
||||||
|
[ -z "$(pgrep -f sb-mpdup)" ] && sb-mpdup &
|
||||||
sbacklight set 3 &
|
sbacklight set 3 &
|
||||||
setbg &
|
setbg &
|
||||||
dwmblocks &
|
dwmblocks &
|
||||||
|
|
|
@ -18,7 +18,7 @@ case "$state" in
|
||||||
INTERFACE_DISABLED) str="WIFI DOWN" ;;
|
INTERFACE_DISABLED) str="WIFI DOWN" ;;
|
||||||
*) str="$(printf "NO WIFI")";;
|
*) str="$(printf "NO WIFI")";;
|
||||||
esac
|
esac
|
||||||
eth="$(cat /sys/class/net/enp0s31f6/operstate)"
|
eth="$(cat /sys/class/net/enp0s31f6/operstate &> /dev/null)"
|
||||||
if [ "up" = "$eth" ]; then
|
if [ "up" = "$eth" ]; then
|
||||||
str="$(printf "%s / " "$str")"
|
str="$(printf "%s / " "$str")"
|
||||||
fi
|
fi
|
||||||
|
|
Reference in New Issue