#!/bin/bash SERVICE=gammastep-refresh.service if systemctl --user is-active --quiet "$SERVICE"; then systemctl --user stop "$SERVICE" else systemctl --user start "$SERVICE" fi