Add xidle-dim notifier to dim the screen before xss-lock locks

Fades a black window in over the screen through the compositor, so it works with redshift (no gamma
changes); does nothing without a compositor. README shows it in the xss-lock setup.
This commit is contained in:
Daniele Fucini
2026-10-23 21:36:18 +02:00
parent 6548bbb232
commit 441b86448e
3 changed files with 140 additions and 4 deletions
+2 -1
View File
@@ -1,10 +1,11 @@
[tool.ruff]
line-length = 120
extend-include = ["xidle-inhibit"]
extend-include = ["xidle-inhibit", "xidle-dim"]
[tool.ruff.lint]
select = ["E", "F", "W", "I", "B", "UP"]
[tool.mypy]
# Scripts both map to __main__, so check xidle-dim separately: mypy xidle-dim
files = ["xidle-inhibit"]
strict = true