dotfiles/openbox/autostart

51 lines
867 B
Text
Raw Permalink Normal View History

# misc low level stuff
2019-11-23 19:46:58 +00:00
xset -b
sudo powertop --auto-tune &
redshift -x; redshift -O 6000K &
xbacklight -set 50 &
2019-11-23 19:46:58 +00:00
# mbsync wrapper
if ! pgrep sirius.sh; then
~/src/zenUtils/sirius.sh &
fi
# pipewire is great. no more pulseaudio taking 100% cpu on relogin
if ! pgrep pipewire; then
pipewire & sleep 0.3
pipewire-pulse &
wireplumber &
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
export XDG_SESSION_DESKTOP=openbox
export XDG_SESSION_TYPE=x11
export GTK_THEME=steppenwolf-dark
export WINIT_X11_SCALE_FACTOR=1
udiskie &
plumber &
nitrogen --restore &
picom & # sleep 0.3
xbindkeys -f ~/.xbindkeysrc &
tint2 &
plank &
cortile &