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

8 lines
338 B
Bash
Executable File

#!/usr/bin/env nix-shell
#!nix-shell -i bash
# 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.