jbuchermn / newm

Wayland compositor
MIT License
958 stars 31 forks source link

Option to turn display off after locking screen. #159

Open moilong opened 1 year ago

moilong commented 1 year ago

Now the energy default config is dim, lock and then suspend after specified times. Can we change suspend_command so that instead of suspending it only turn off display and resume upon keypress.

jbuchermn commented 1 year ago

Take a look into the config options energy.idle_callback and energy.suspend_command. Should be possible by just leaving suspend_command empty and setting backlight to zero in idle_callback with e.g. "idle-presuspend".