From 52124b7e6949065894fa6590875c930b45b506dd Mon Sep 17 00:00:00 2001 From: Mohammed Goder Date: Thu, 14 Mar 2024 17:21:03 -0500 Subject: [PATCH] Update hyprlock.sh --- hyprlock.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hyprlock.sh b/hyprlock.sh index 7f7820a..696c57a 100644 --- a/hyprlock.sh +++ b/hyprlock.sh @@ -43,6 +43,11 @@ elif [ "$1" == "status" ]; then fi done exit +elif [ "$1" == "help" ] || [ "$1" == "-h" ] || [ "$1" == "-help" ] || [ "$1" == "--help" ]; then + echo Usage: + echo -e "\thyprlock status" + echo -e "\thyprlock [monitor_id]" + exit fi monitor=$(echo "$monitors" | jq -c ".[$1]")