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.
11 lines
177 B
TOML
11 lines
177 B
TOML
[tool.ruff]
|
|
line-length = 120
|
|
extend-include = ["xidle-inhibit"]
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "W", "I", "B", "UP"]
|
|
|
|
[tool.mypy]
|
|
files = ["xidle-inhibit"]
|
|
strict = true
|