Add xss-lock backend and rename to xidle-inhibit

The backend comes from ~/.config/xidle-inhibit/config, else the installed locker. With xss-lock, pausing X blanking alone blocks locking and Lock uses loginctl; the unit's ExecStopPost runs --cleanup. Inhibits from the old xautolock-inhibit state file are taken over once. Also fix mypy with pygobject-stubs 2.19.
This commit is contained in:
Daniele Fucini
2026-10-23 19:53:42 +02:00
parent ef9c8b858b
commit 0fc1ab2f47
5 changed files with 152 additions and 53 deletions
+2 -2
View File
@@ -1,10 +1,10 @@
[tool.ruff]
line-length = 120
extend-include = ["xautolock-inhibit"]
extend-include = ["xidle-inhibit"]
[tool.ruff.lint]
select = ["E", "F", "W", "I", "B", "UP"]
[tool.mypy]
files = ["xautolock-inhibit"]
files = ["xidle-inhibit"]
strict = true