add quick actions tab

This commit is contained in:
soraefir
2026-06-13 14:04:33 +02:00
parent 43a074f355
commit 6117dca845
10 changed files with 198 additions and 37 deletions

View File

@@ -0,0 +1,13 @@
#!/usr/bin/env bash
case "$1" in
status)
pgrep -x wlsunset >/dev/null 2>&1 && echo true || echo false
;;
*)
if pgrep -x wlsunset >/dev/null 2>&1; then
pkill -x wlsunset && echo false
else
wlsunset -T 4500 -t 3200 & echo true
fi
;;
esac