Hyprland-dotfiles/hypr/scripts/hypridle.sh

11 lines
207 B
Bash
Raw Normal View History

2024-05-29 14:13:30 -04:00
#!/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