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).
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).