Update gammastep-toggle

This commit is contained in:
FURK4NGG
2026-01-06 21:31:34 +03:00
committed by GitHub
parent 4c3bd1b011
commit d10d280a9d
+5
View File
@@ -1,9 +1,14 @@
#!/bin/bash
SERVICE=gammastep-refresh.service
TIMER=gammastep-refresh.timer
if systemctl --user is-active --quiet "$SERVICE"; then
# KAPAT
systemctl --user stop "$TIMER"
systemctl --user stop "$SERVICE"
else
# AÇ
systemctl --user start "$SERVICE"
systemctl --user enable --now "$TIMER"
fi