From ca897388046facfeff33220a8c9a9a78f1b2ac1f Mon Sep 17 00:00:00 2001 From: Blista Kanjo Date: Tue, 18 Jun 2024 19:29:45 -0400 Subject: feat: add `notify-send` commands to `GUI-dateTime` --- .local/bin/GUI-dateTime | 2 ++ 1 file changed, 2 insertions(+) (limited to '.local') 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 -- cgit v1.2.3