update ryudorc
This commit is contained in:
parent
b949797e41
commit
a0bc235870
1 changed files with 25 additions and 2 deletions
27
ryudorc
27
ryudorc
|
@ -1,22 +1,45 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# misc low level stuff
|
||||||
|
|
||||||
xset -b
|
xset -b
|
||||||
sudo powertop --auto-tune &
|
sudo powertop --auto-tune &
|
||||||
redshit -x; redshift -O 6000K &
|
redshift -x; redshift -O 6000K &
|
||||||
xbacklight -set 50 &
|
xbacklight -set 50 &
|
||||||
|
|
||||||
|
# mbsync wrapper
|
||||||
|
|
||||||
if ! pgrep sirius.sh; then
|
if ! pgrep sirius.sh; then
|
||||||
~/src/zenUtils/sirius.sh &
|
~/src/zenUtils/sirius.sh &
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# pipewire is great. no more pulseaudio taking 100% cpu on relogin
|
||||||
|
|
||||||
if ! pgrep pipewire; then
|
if ! pgrep pipewire; then
|
||||||
pipewire & sleep 0.3
|
pipewire & sleep 0.3
|
||||||
pipewire-pulse &
|
pipewire-pulse &
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# serve local copy of my website for testing
|
||||||
|
|
||||||
|
darkhttpd /home/nilix/src/nilfm/www/ --port 9001 --daemon
|
||||||
|
|
||||||
|
# handle monitor biz
|
||||||
|
|
||||||
|
case $(~/src/zenUtils/extdisplay.sh status) in
|
||||||
|
"connected")
|
||||||
|
~/src/zenUtils/extdisplay.sh solo;;
|
||||||
|
*)
|
||||||
|
:;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
# real session stuff
|
||||||
|
|
||||||
plumber &
|
plumber &
|
||||||
nitrogen --restore &
|
nitrogen --restore &
|
||||||
xcompmgr & # sleep 0.3
|
xcompmgr & # sleep 0.3
|
||||||
~/src/zenUtils/batAlarm.sh &
|
~/src/zenUtils/batAlarm.sh &
|
||||||
xosview --geometry +0+0 &
|
xosview -geometry +0+0 &
|
||||||
xclock -strftime "%Y-%m-%d %H:%M" -geometry -0-0 &
|
xclock -strftime "%Y-%m-%d %H:%M" -geometry -0-0 &
|
||||||
export GTK_THEME=steppenwolf-dark
|
export GTK_THEME=steppenwolf-dark
|
||||||
export WINIT_X11_SCALE_FACTOR=1
|
export WINIT_X11_SCALE_FACTOR=1
|
||||||
|
|
Loading…
Reference in a new issue