i3, change bedtime from 21 to 20 and generalize redshift location.

This commit is contained in:
me committed 2026-11-01 20:09:07 -07:00
1 parent a714a26058
commit a9b78dbba2
1 file changed
+2 -2
+2 -2
View File
@@ -412,7 +412,7 @@ exec_always --no-startup-id bash -c 'pkill -ef "bash `which battery_nag.sh`" >~/
# Redshift # Redshift
#exec_always --no-startup-id "killall redshift-gtk; redshift-gtk" #exec_always --no-startup-id "killall redshift-gtk; redshift-gtk"
#exec_always --no-startup-id "killall redshift; redshift -l 35.19540:-111.65720 -t 6500K:1100K" #exec_always --no-startup-id "killall redshift; redshift -l 35.19540:-111.65720 -t 6500K:1100K"
exec_always --no-startup-id "killall redshift; killall redshift-gtk; sleep 1; redshift -x; redshift-gtk -l 35.19540:-111.65720 -t 6500K:1100K" exec_always --no-startup-id "killall redshift; killall redshift-gtk; sleep 1; redshift -x; redshift-gtk -l 32,-111 -t 6500K:1100K"
# Allow locking the session. # Allow locking the session.
#set $AGENT pkttyagent #set $AGENT pkttyagent
@@ -448,4 +448,4 @@ set $refresh_i3status killall -SIGUSR1 i3status
exec_always --no-startup-id "killall sunset-alarm; /home/ling/Code/sunset_alarm_cli/sunset-alarm -l 32:-111 -m 30 > ~/Reports/sunset-alarm.log" exec_always --no-startup-id "killall sunset-alarm; /home/ling/Code/sunset_alarm_cli/sunset-alarm -l 32:-111 -m 30 > ~/Reports/sunset-alarm.log"
# Bedtime ;) # Bedtime ;)
exec --no-startup-id "while true; do if [[ `date +'%H'` -ge 21 ]]; then fyi -w -u critical 'Bedtime' 'Go to sleep! >:)'; fi; sleep 150; done" exec --no-startup-id "while true; do if [[ `date +'%H'` -ge 20 ]]; then fyi -w -u critical 'Bedtime' 'Go to sleep! >:)'; fi; sleep 150; done"