sxmo_hook_screenoff.sh blink first

Now that blinking is fast, thanks to brightnessctl, we should blink
directly to make state switch consistent.
This commit is contained in:
Willow Barraco
2023-08-11 12:55:58 +02:00
parent 2c961c8c95
commit db1614b7b7

View File

@@ -16,11 +16,13 @@
# This hook is called when the system reaches a off state (screen off)
sxmo_led.sh blink red blue &
[ "$SXMO_WM" = "sway" ] && swaymsg mode default
sxmo_wm.sh dpms on
sxmo_wm.sh inputevent touchscreen off
sxmo_daemons.sh start periodic_blink sxmo_run_periodically.sh 2 sxmo_led.sh blink red blue
sxmo_daemons.sh start periodic_blink sxmo_run_periodically.sh - 2 sxmo_led.sh blink red blue
case "$SXMO_WM" in
dwm)