Skip to content

Adding a configuration option to inhibit suspend and idle behavior to dconf

Franz Dietrich requested to merge enaut:inhibitor-dconf-only into master

Two boolean flags are added to the dconf:

  • inhibit-suspend
  • inhibit-idle

Other changes:

  • adding the inhibitor class that reacts to config changes, playback changes
  • changing the fullscreen.py to also use the inhibitor class
  • whitespace cleanup

The already existing code for the fullscreen inhibit is adjusted to also use the inhibitor.

Implements: https://github.com/gnumdk/lollypop/issues/1188 closes: https://github.com/gnumdk/lollypop/pull/1206 closes: https://github.com/gnumdk/lollypop/pull/1200

Merge request reports