aboutsummaryrefslogtreecommitdiff
path: root/scripts/notify-saved-name.sh
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-11-28 15:11:50 +0100
committerdec05eba <dec05eba@protonmail.com>2024-11-28 15:11:50 +0100
commit2ea0a921e8d0c100d5f894536a93f0dfdf45f67b (patch)
tree1f50796f39afc11b6c4e5ba948175b27ad0734a1 /scripts/notify-saved-name.sh
parentece3d02e0a34d7a90d3e3d21fc426f4954ddfe86 (diff)
Fix restore portal session option not working, close other notifications when showing a new one
Diffstat (limited to 'scripts/notify-saved-name.sh')
-rwxr-xr-xscripts/notify-saved-name.sh17
1 files changed, 0 insertions, 17 deletions
diff --git a/scripts/notify-saved-name.sh b/scripts/notify-saved-name.sh
deleted file mode 100755
index c8ca399..0000000
--- a/scripts/notify-saved-name.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-
-[ "$GSR_SHOW_SAVED_NOTIFICATION" != "1" ] && exit 0
-
-filepath="$1"
-type="$2"
-
-file_name="$(basename "$filepath")"
-
-case "$type" in
- "regular")
- gsr-notify --text "Saved recording to '$file_name'" --timeout 3.0 --icon record --bg-color "$GSR_NOTIFY_BG_COLOR"
- ;;
- "replay")
- gsr-notify --text "Saved replay to '$file_name'" --timeout 3.0 --icon replay --bg-color "$GSR_NOTIFY_BG_COLOR"
- ;;
-esac \ No newline at end of file