Inhibit idle lock for fullscreen windows on ringtail (#212)
## Summary - Adds `inhibit_idle fullscreen` window commands to sway config on ringtail - Covers both Wayland-native (`app_id`) and XWayland (`class`) windows - Prevents swayidle from locking the screen during gamepad-only gaming sessions where controller input isn't detected by the Wayland idle tracker ## Notes This is a blanket fullscreen inhibit. A more targeted approach (daemon monitoring `/dev/input` gamepad events) may be desired later to allow idle lock during long-running fullscreen apps like Factorio. ## Deployment and Testing - [ ] `mise run provision-ringtail` to deploy - [ ] Run a fullscreen app and verify swayidle doesn't lock after 15 minutes - [ ] Verify lock still activates when no fullscreen window is present Reviewed-on: https://forge.ops.eblu.me/eblume/blumeops/pulls/212
This commit is contained in:
parent
9829a6f971
commit
8f89239c78
2 changed files with 5 additions and 0 deletions
1
docs/changelog.d/sway-inhibit-idle-fullscreen.bugfix.md
Normal file
1
docs/changelog.d/sway-inhibit-idle-fullscreen.bugfix.md
Normal file
|
|
@ -0,0 +1 @@
|
|||
Inhibit swayidle lock screen when a fullscreen window is active on ringtail, preventing screen lock during gamepad-only gaming sessions.
|
||||
|
|
@ -213,6 +213,10 @@ in
|
|||
window = {
|
||||
border = 2;
|
||||
titlebar = false;
|
||||
commands = [
|
||||
{ command = "inhibit_idle fullscreen"; criteria = { class = ".*"; }; }
|
||||
{ command = "inhibit_idle fullscreen"; criteria = { app_id = ".*"; }; }
|
||||
];
|
||||
};
|
||||
colors = {
|
||||
focused = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue