From c5dcc86843b8f27628f901115eeda192d6260aca Mon Sep 17 00:00:00 2001 From: yuzu-eva Date: Tue, 31 Oct 2023 20:36:41 +0100 Subject: updated readme --- .config/nnn/plugins/.ntfy | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100755 .config/nnn/plugins/.ntfy (limited to '.config/nnn/plugins/.ntfy') diff --git a/.config/nnn/plugins/.ntfy b/.config/nnn/plugins/.ntfy deleted file mode 100755 index 2a61478..0000000 --- a/.config/nnn/plugins/.ntfy +++ /dev/null @@ -1,22 +0,0 @@ -#!/usr/bin/env sh - -# Description: Show a notification -# -# Details: nnn invokes this plugin to show notification when a cp/mv/rm operation is complete. -# -# Dependencies: notify-send (Ubuntu)/ntfy (https://github.com/dschep/ntfy)/osascript (macOS)/notify (Haiku) -# -# Shell: POSIX compliant -# Author: Anna Arad - -OS="$(uname)" - -if type notify-send >/dev/null 2>&1; then - notify-send nnn "Done!" -elif [ "$OS" = "Darwin" ]; then - osascript -e 'display notification "Done!" with title "nnn"' -elif type ntfy >/dev/null 2>&1; then - ntfy -t nnn send "Done!" -elif [ "$OS" = "Haiku" ]; then - notify --title "nnn" "Done!" -fi -- cgit v1.2.3