Update hyprlock.sh
This commit is contained in:
parent
551cdfdd94
commit
52124b7e69
@ -43,6 +43,11 @@ elif [ "$1" == "status" ]; then
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
exit
|
exit
|
||||||
|
elif [ "$1" == "help" ] || [ "$1" == "-h" ] || [ "$1" == "-help" ] || [ "$1" == "--help" ]; then
|
||||||
|
echo Usage:
|
||||||
|
echo -e "\thyprlock status"
|
||||||
|
echo -e "\thyprlock [monitor_id]"
|
||||||
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
monitor=$(echo "$monitors" | jq -c ".[$1]")
|
monitor=$(echo "$monitors" | jq -c ".[$1]")
|
||||||
|
Loading…
Reference in New Issue
Block a user