SecUpwN / Spotify-AdKiller

Your Party with Spotify - without ads!
https://github.com/SecUpwN/Spotify-AdKiller
GNU General Public License v3.0
845 stars 84 forks source link

Inhibit PowerManagement while playing music #96

Open saladpanda opened 7 years ago

saladpanda commented 7 years ago

Since this script is already running in parallel with Spotify I think it is a neat little addition to make the script inhibit suspend while Spotify is playing music.

As far as I know Spotify does this already on GNOME. This PR should add the feature for all FreeDesktop-compliant desktop environments (But I only tested it on KDE 5).