jurassicplayer / decky-autosuspend

A decky-loader plugin to automatically notify and suspend your steamdeck on low power.
Other
7 stars 0 forks source link

[Feature] App Exclusions #22

Open jurassicplayer opened 10 months ago

jurassicplayer commented 10 months ago

Is your feature request related to a problem? Please describe. https://www.reddit.com/r/SteamDeck/comments/16lvmcq/is_there_a_way_to_disable_the_auto_dim_sleep_for/ tl;dr: Skip applying rules when the exclusion is applied.

Describe the solution you'd like Not entirely sure the best way to implement it. Could have exclusions per alarm, which provides all the flexibility, but absolute chore to setup if there are a lot of alarms since it would have to be each alarm. Or a global exclusions, basically negating AutoSuspend features for an app. Or maybe better yet, just have global exclusions and then have the alarms be selectable in like a checklist or something.

jurassicplayer commented 7 months ago

Create a new menu with an Add Exclusion button and a list of current application exclusions with Modify Exclusion buttons (like the Decky-loader plugin screen)

The final implementation approach feels like it would be the best option as it would allow for some pretty nifty shit. Ex: The video/movie watcher use-case: Having 2 inactivity alarms, one that triggers at 10 minutes and one that triggers at 2.5 hours. Then have an exclusion for an application (ie. Jellyfin) that only excludes Jellyfin from the 10 minute alarm. This should theoretically allow the user to ignore/skip the 10 minute alarm while Jellyfin is running and still trigger after 2.5 hours.