11 lines
207 B
Bash
Executable File
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
|
|
|