Updates
This commit is contained in:
10
hypr/scripts/hypridle.sh
Executable file
10
hypr/scripts/hypridle.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/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
|
||||
|
||||
Reference in New Issue
Block a user