summaryrefslogtreecommitdiff
path: root/scripts/gui
diff options
context:
space:
mode:
authorSuleyman Farajli <suleyman@farajli.net>2025-11-25 22:43:15 +0400
committerSuleyman Farajli <suleyman@farajli.net>2025-11-25 22:43:15 +0400
commitc71ad1db04d9fa988d5c933e98f90bebb704bef4 (patch)
tree6200ed035a70506b35e93add8ca7894501419525 /scripts/gui
parent7c19172f87b6fe35dffd8f9a252c3c10efe13aa2 (diff)
fix(sclip): use proper api for `notify_handle`
Diffstat (limited to 'scripts/gui')
-rwxr-xr-xscripts/gui/sclip8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/gui/sclip b/scripts/gui/sclip
index 3e4c30d..5b56e4b 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 send "Copied file: ${filepath}"
+ notify_handle send 5 "Copied file: ${filepath}"
else
- notify_handle "Copied text"
+ notify_handle send 5 "Copied text"
fi
else
if [ -n "${filepath}" ]; then
- notify_handle send "Failed to copy file: ${filepath}"
+ notify_handle send 5 "Failed to copy file: ${filepath}"
else
- notify_handle send "Failed to copy text"
+ notify_handle send 5 "Failed to copy text"
fi
fi
fi