MyNixOS website logo
option

services.xsuspender.rules.<name>.execSuspend

Before suspending, execute this shell script. If it fails, abort suspension.

Declarations
Type
null or string
Default
null
Example
"echo \"suspending window $XID of process $PID\""