From 6f3169a46cd78d94a6f048227289ccf16a608339 Mon Sep 17 00:00:00 2001 From: Alison Watson Date: Mon, 17 Jun 2019 23:04:07 -0400 Subject: [PATCH] sharenix: use freedesktop notifications instead of GTK ones --- scripts/sharenix.fish | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/sharenix.fish b/scripts/sharenix.fish index 1bdeb6d..59992b7 100755 --- a/scripts/sharenix.fish +++ b/scripts/sharenix.fish @@ -6,7 +6,9 @@ function run_spectacle spectacle -b $argv -n -o "$f" if test -f "$f" - sharenix -n -s Greyserv "$f" + if sharenix -s Greyserv "$f" + notify-send -u low -a sharenix -i dialog-information -c transfer.complete "Upload completed" + end end rm "$f"