I cannot seem to get the displays to sleep on my Intel Nuc desktop. The swayidle command that this program builds doesn't seem to handle a condition where I have screen blanking enabled in the gdm config, but automatic suspend off.
There's no dpms off command as part of the timeout, only as part of the sleep commands. This is the swayidle command being generated:
Rust is a little tricky for me to read and there aren't many comments in this code, so I can't quite spot the issue. It appears as though the actions for on ac power (idle_action_ac_opt) are checked against on_ac_power.
I cannot seem to get the displays to sleep on my Intel Nuc desktop. The swayidle command that this program builds doesn't seem to handle a condition where I have screen blanking enabled in the gdm config, but automatic suspend off.
There's no dpms off command as part of the timeout, only as part of the sleep commands. This is the swayidle command being generated:
on_ac_power
exits with 1, since there are no (or incorrect) hardware indicators for main power:Rust is a little tricky for me to read and there aren't many comments in this code, so I can't quite spot the issue. It appears as though the actions for on ac power (idle_action_ac_opt) are checked against
on_ac_power
.Maybe this program could use
systemd-ac-power
?Or maybe it is something else? Any suggestions?