update zenUtils
This commit is contained in:
parent
a0029a4664
commit
b44cc9e968
3 changed files with 11 additions and 10 deletions
|
@ -34,7 +34,7 @@ handler() {
|
||||||
elif pgrep plasmashell; then
|
elif pgrep plasmashell; then
|
||||||
killall plasmashell
|
killall plasmashell
|
||||||
elif pgrep ryudo; then
|
elif pgrep ryudo; then
|
||||||
pkill -9 -P $(pgrep ryudo)
|
pkill -9 -P $(pgrep startx)
|
||||||
else
|
else
|
||||||
killall -0 Xorg
|
killall -0 Xorg
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -5,18 +5,16 @@ sudo powertop -auto-tune &
|
||||||
redshit -x; redshift -O 6000K &
|
redshit -x; redshift -O 6000K &
|
||||||
xbacklight -set 50 &
|
xbacklight -set 50 &
|
||||||
|
|
||||||
if ! pgrep pulseaudio; then
|
|
||||||
pulseaudio -k
|
|
||||||
pulseaudio --start --exit-idle-time=-1 &
|
|
||||||
fi
|
|
||||||
if ! pgrep hamster-service; then
|
|
||||||
hamster-service &
|
|
||||||
fi
|
|
||||||
if ! pgrep offlineimap; then
|
if ! pgrep offlineimap; then
|
||||||
offlineimap &
|
offlineimap &
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if ! pgrep pipewire; then
|
||||||
|
pipewire & sleep 0.3
|
||||||
|
pipewire-pulse &
|
||||||
|
fi
|
||||||
|
|
||||||
|
export WINIT_X11_SCALE_FACTOR=1
|
||||||
export GTK_THEME=steppenwolf-dark
|
export GTK_THEME=steppenwolf-dark
|
||||||
rm ~/.config/gtkrc*
|
rm ~/.config/gtkrc*
|
||||||
export WINIT_X11_SCALE_FACTOR=1
|
export WINIT_X11_SCALE_FACTOR=1
|
||||||
|
|
|
@ -72,5 +72,8 @@ if [ "$1" = "-r" ]; then
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
if ! grep Full /sys/class/power_supply/BAT*/status > /dev/null \
|
||||||
|
&& file /sys/class/power_supply/BAT* > /dev/null; then
|
||||||
echo " ${meter}"
|
echo " ${meter}"
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in a new issue