From 4039eb264493c4f6fd47b7e3cd0ec87108d2f30c Mon Sep 17 00:00:00 2001 From: Blista Kanjo Date: Wed, 19 Jun 2024 08:35:12 -0400 Subject: refactor: better wording for `GUI-dateTime` --- .local/bin/GUI-dateTime | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to '.local/bin') diff --git a/.local/bin/GUI-dateTime b/.local/bin/GUI-dateTime index cc7859c..ddfa56a 100755 --- a/.local/bin/GUI-dateTime +++ b/.local/bin/GUI-dateTime @@ -11,8 +11,8 @@ if [ -f "$BIN_PATH" ]; then elif command -v pkexec > /dev/null 2>&1; then pkexec env DISPLAY="$DISPLAY" XAUTHORITY="$XAUTHORITY" $BIN_PATH else - echo "No suitable privilege escalation tool found. Running without root privileges." - notify-send "No suitable privilege escalation tool found. Running without root privileges." + echo "No suitable graphical authentication tool found. Running without root privileges." + notify-send "No suitable graphical authentication tool found. Running without root privileges." $BIN_PATH fi elif [ -f "$SCRIPT_PATH" ]; then @@ -23,8 +23,8 @@ elif [ -f "$SCRIPT_PATH" ]; then elif command -v pkexec > /dev/null 2>&1; then pkexec env DISPLAY="$DISPLAY" XAUTHORITY="$XAUTHORITY" python3 $SCRIPT_PATH else - echo "No suitable privilege escalation tool found. Running without root privileges." - notify-send "No suitable privilege escalation tool found. Running without root privileges." + echo "No suitable graphical authentication tool found. Running without root privileges." + notify-send "No suitable graphical authentication tool found. Running without root privileges." python3 $SCRIPT_PATH fi else -- cgit v1.2.3