A Quick Settings toggle (plus a companion CLI) that blocks suspend and lid-switch sleep by holding a systemd-inhibit lock in a transient systemd user unit. The unit is the single source of truth, so the toggle can never desync from the real inhibitor and normal sleep returns on logout. Note: this blocks sleep, not idle — the screen may still blank or lock.
Note: Binary files aren't shown on the web site. To see all files, please download the extension zipfile.
| Version | Status |
|---|---|
| 1.0.2 (2) | Active |
| 1.0.1 (1) | Active |
Please use `connectObject()` and `disconnectObject()` so it is easier to track for cleanup. Avoid sending large diff. It is hard to review and takes time to review. You can also add `donations` to the `metadata.json`, so people can donate to you if they want: [Extension Anatomy: donations](https://gjs.guide/extensions/overview/anatomy.html#donations) If you need any help with your extension you can ask us on: - [GNOME Extensions Matrix Channel](https://matrix.to/#/#extensions:gnome.org) - IRC Bridge: irc://irc.gimpnet.org/shell-extensions
Sorry for the large diff comment. I had that in my text file and forgot to remove it for this review.