dotfiles/ryudorc

47 lines
867 B
Text
Raw Permalink Normal View History

2022-03-10 16:36:20 +00:00
#!/bin/sh
# misc low level stuff
xset -b
sudo powertop --auto-tune &
2022-03-10 16:36:20 +00:00
redshift -x; redshift -O 6000K &
xbacklight -set 50 &
2022-03-10 16:36:20 +00:00
# mbsync wrapper
if ! pgrep sirius.sh; then
~/src/zenUtils/sirius.sh &
fi
2022-03-10 16:36:20 +00:00
# pipewire is great. no more pulseaudio taking 100% cpu on relogin
if ! pgrep pipewire; then
pipewire & sleep 0.3
pipewire-pulse &
fi
2022-03-10 16:36:20 +00:00
# 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 &
nitrogen --restore &
xcompmgr & # sleep 0.3
~/src/zenUtils/batAlarm.sh &
2022-03-10 16:36:20 +00:00
xosview -geometry +0+0 &
xclock -strftime "%Y-%m-%d %H:%M" -geometry -0-0 &
export GTK_THEME=steppenwolf-dark
export WINIT_X11_SCALE_FACTOR=1
xbindkeys -f ~/.xbindkeysrc