diff --git a/.config/scripts/gammastep-toggle b/.config/scripts/gammastep-toggle index c6c3b05..f017731 100644 --- a/.config/scripts/gammastep-toggle +++ b/.config/scripts/gammastep-toggle @@ -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