summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSuleyman Farajli <suleyman@farajli.net>2025-11-25 19:11:06 +0400
committerSuleyman Farajli <suleyman@farajli.net>2025-11-25 19:11:06 +0400
commitb6b7dbe85610157853f6ef7aaaea47358977e384 (patch)
tree8b6742da9bfa55693634b984afa98cfd505e5394
parent918a5f26d05a63d5c3ece4513094e4046c56979d (diff)
fix: update notify_send api
-rwxr-xr-xscripts/gui/sclip6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/gui/sclip b/scripts/gui/sclip
index 56ea57f..3e4c30d 100755
--- a/scripts/gui/sclip
+++ b/scripts/gui/sclip
@@ -58,15 +58,15 @@ fi
if [ "${silent}" -eq 0 ]; then
if [ "${status}" -eq 0 ]; then
if [ -n "${filepath}" ]; then
- notify_handle "Copied file: ${filepath}"
+ notify_handle send "Copied file: ${filepath}"
else
notify_handle "Copied text"
fi
else
if [ -n "${filepath}" ]; then
- notify_handle "Failed to copy file: ${filepath}"
+ notify_handle send "Failed to copy file: ${filepath}"
else
- notify_handle "Failed to copy text"
+ notify_handle send "Failed to copy text"
fi
fi
fi