From a0bc2358704d19a2124cb5cf9eae4bd58b22858b Mon Sep 17 00:00:00 2001 From: Derek Stevens Date: Thu, 10 Mar 2022 09:36:20 -0700 Subject: [PATCH] update ryudorc --- ryudorc | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/ryudorc b/ryudorc index d13c5d8..ddb85c2 100644 --- a/ryudorc +++ b/ryudorc @@ -1,22 +1,45 @@ +#!/bin/sh + +# misc low level stuff + xset -b sudo powertop --auto-tune & -redshit -x; redshift -O 6000K & +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 & +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