Dim screen on inactivity, then lock it

This commit is contained in:
2023-12-27 22:20:05 +03:00
parent 6ed1448668
commit 582418bbee
4 changed files with 54 additions and 2 deletions

7
scripts/undim-screen Executable file
View File

@ -0,0 +1,7 @@
#!/bin/bash
if pid=$(pgrep -x "dim-screen"); then
kill $pid
fi
light -I