Hyprland-dotfiles/hypr/scripts/hypridle.sh
Stephan Raabe 6304aea7d5 Updates
2024-05-29 20:13:30 +02:00

11 lines
207 B
Bash
Executable File

#!/bin/bash
SERVICE="hypridle"
if [[ "$1" == "status" ]]; then
if pgrep -x "$SERVICE" >/dev/null ;then
echo ":: $SERVICE is running"
else
echo ":: $SERVICE is not running"
fi
fi