diff options
| author | Blista Kanjo | 2024-06-19 08:35:12 -0400 |
|---|---|---|
| committer | Blista Kanjo | 2024-06-19 08:35:12 -0400 |
| commit | 4039eb264493c4f6fd47b7e3cd0ec87108d2f30c (patch) | |
| tree | 7bcc080f164891abbdcda7d7ed11144dbb8c5efb /.local | |
| parent | b8f5a332bd786baca6370f176ef2938f1de6ee43 (diff) | |
refactor: better wording for `GUI-dateTime`
Diffstat (limited to '.local')
| -rwxr-xr-x | .local/bin/GUI-dateTime | 8 |
1 files changed, 4 insertions, 4 deletions
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 |
