Files
Arch_Hyprland_dots/.config/scripts/gammastep-toggle
T
2026-01-06 21:31:34 +03:00

15 lines
304 B
Bash

#!/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