aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlista Kanjo2024-06-18 19:29:45 -0400
committerBlista Kanjo2024-06-18 19:29:45 -0400
commitca897388046facfeff33220a8c9a9a78f1b2ac1f (patch)
tree8e1e585c270d970f52215a3ae2f5df2c554be277
parentfde88c774dbcaccf3a565614ca204f02c0d96923 (diff)
feat: add `notify-send` commands to `GUI-dateTime`
-rwxr-xr-x.local/bin/GUI-dateTime2
1 files changed, 2 insertions, 0 deletions
diff --git a/.local/bin/GUI-dateTime b/.local/bin/GUI-dateTime
index 9f994a5..cc7859c 100755
--- a/.local/bin/GUI-dateTime
+++ b/.local/bin/GUI-dateTime
@@ -12,6 +12,7 @@ if [ -f "$BIN_PATH" ]; 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."
$BIN_PATH
fi
elif [ -f "$SCRIPT_PATH" ]; then
@@ -23,6 +24,7 @@ elif [ -f "$SCRIPT_PATH" ]; 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."
python3 $SCRIPT_PATH
fi
else