nix-files/hosts/modules/gui/sxmo/hooks/sxmo_hook_postwake.sh

8 lines
338 B
Bash
Raw Normal View History

2023-09-24 17:48:18 +00:00
#!/usr/bin/env nix-shell
#!nix-shell -i bash
2023-09-23 09:17:21 +00:00
# the default sxmo_postwake handler checks if the modem is offline
# and if so installs a wakelock to block suspend for 30s.
# that's a questionable place to install that logic, and i want to keep stuff
# out of the wake-from-sleep critical path, so i'm overriding this hook to disable that.