sxmo_hook_screenoff: decrease the blink frequency even more
if i was smarter i'd just disable the periodic blinking right before entering sleep
This commit is contained in:
parent
09ee8e6efc
commit
6ee9e8e405
|
@ -5,7 +5,7 @@
|
||||||
# - the LED frequency is adjusted from its default of "blink every 2s"
|
# - the LED frequency is adjusted from its default of "blink every 2s"
|
||||||
# - dwm-specific bits are removed
|
# - dwm-specific bits are removed
|
||||||
|
|
||||||
BLINK_FREQ=8
|
BLINK_FREQ=12
|
||||||
|
|
||||||
swaymsg mode default
|
swaymsg mode default
|
||||||
sxmo_wm.sh dpms on
|
sxmo_wm.sh dpms on
|
||||||
|
@ -15,8 +15,7 @@ sxmo_jobs.sh start periodic_blink sxmo_run_periodically.sh "$BLINK_FREQ" sxmo_le
|
||||||
|
|
||||||
wait
|
wait
|
||||||
|
|
||||||
# avoid immediate suspension. particularly, ensure that we get at least one blink in
|
# # 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 lock sxmo_hold_a_bit "$BLINK_FREQ"s
|
||||||
sxmo_wakelock.sh unlock sxmo_not_screenoff
|
# sxmo_wakelock.sh unlock sxmo_not_screenoff
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user