From 6ee9e8e405c350fc550d978821c482b20eb7a880 Mon Sep 17 00:00:00 2001 From: Colin Date: Mon, 1 Jan 2024 07:24:08 +0000 Subject: [PATCH] sxmo_hook_screenoff: decrease the blink frequency even more if i was smarter i'd just disable the periodic blinking right before entering sleep --- hosts/modules/gui/sxmo/hooks/sxmo_hook_screenoff.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/hosts/modules/gui/sxmo/hooks/sxmo_hook_screenoff.sh b/hosts/modules/gui/sxmo/hooks/sxmo_hook_screenoff.sh index debf7c1b..1ecc422d 100755 --- a/hosts/modules/gui/sxmo/hooks/sxmo_hook_screenoff.sh +++ b/hosts/modules/gui/sxmo/hooks/sxmo_hook_screenoff.sh @@ -5,7 +5,7 @@ # - the LED frequency is adjusted from its default of "blink every 2s" # - dwm-specific bits are removed -BLINK_FREQ=8 +BLINK_FREQ=12 swaymsg mode default sxmo_wm.sh dpms on @@ -15,8 +15,7 @@ sxmo_jobs.sh start periodic_blink sxmo_run_periodically.sh "$BLINK_FREQ" sxmo_le wait -# avoid immediate suspension. particularly, ensure that we get at least one blink in -sxmo_wakelock.sh lock sxmo_hold_a_bit "$BLINK_FREQ"s -sxmo_wakelock.sh unlock sxmo_not_screenoff - +# # avoid immediate suspension. particularly, ensure that we get at least one blink in +# sxmo_wakelock.sh lock sxmo_hold_a_bit "$BLINK_FREQ"s +# sxmo_wakelock.sh unlock sxmo_not_screenoff