46 lines
867 B
Bash
46 lines
867 B
Bash
#!/bin/sh
|
|
|
|
# misc low level stuff
|
|
|
|
xset -b
|
|
sudo powertop --auto-tune &
|
|
redshift -x; redshift -O 6000K &
|
|
xbacklight -set 50 &
|
|
|
|
# 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 &
|
|
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 &
|
|
nitrogen --restore &
|
|
xcompmgr & # sleep 0.3
|
|
~/src/zenUtils/batAlarm.sh &
|
|
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
|