Make safeeyes propery reset after sleep

This commit is contained in:
2025-12-14 09:01:20 -08:00
parent 51bebbabf6
commit a8320c22f4
2 changed files with 13 additions and 1 deletions

8
reset-safeeyes-time Executable file
View File

@ -0,0 +1,8 @@
#!/usr/bin/env zsh
local state
state="$(safeeyes --status)"
if [[ "${state}" = Next* ]]; then
safeeyes --disable
safeeyes --enable
fi