fix mabox-obstart

This commit is contained in:
Daniel Napora 2024-02-12 09:02:49 +01:00
parent 740c7bf4a1
commit f69bc67c48

View File

@ -74,7 +74,7 @@ iconsize="--size=${phwmon_iconsize:-32}"
[[ $phwmon_io = true ]] && io="--io" || io=""
#phwmon.py ${cpu} ${mem} ${swap} ${net} ${io} --task_manager lxtask
phwmon.py ${cpu} ${mem} ${swap} ${net} ${io} ${bg} ${fg_alert} ${fg_cpu} ${fg_mem} ${fg_swap} ${fg_net} ${fg_io} ${iconsize} --task_manager="lxtask"
phwmon.py ${cpu} ${mem} ${swap} ${net} ${io} ${bg} ${fg_alert} ${fg_cpu} ${fg_mem} ${fg_swap} ${fg_net} ${fg_io} ${iconsize} --task_manager="lxtask" 2>/dev/null &
fi
@ -92,11 +92,11 @@ checkautostart
# [ -f "$HOME/.config/wpg/.mabox-init" ] && wpg-mabox-init &
# rename old wrappers, they now in /usr/local/bin
wrappers=(nitrogen i3lock xrandr lxappearance skippy-xd-fix)
for wrapper in "${wrappers[@]}"
do
[[ -f "$HOME/.local/bin/${wrapper}" ]] && mv "$HOME/.local/bin/${wrapper}" "$HOME/.local/bin/${wrapper}.old"
done
#wrappers=(nitrogen i3lock xrandr lxappearance skippy-xd-fix)
#for wrapper in "${wrappers[@]}"
#do
#[[ -f "$HOME/.local/bin/${wrapper}" ]] && mv "$HOME/.local/bin/${wrapper}" "$HOME/.local/bin/${wrapper}.old"
#done
. $HOME/.config/mabox/mabox.conf
#Set config variables if not set or empty; ":" means do nothing