Minor plugin indentation update

This commit is contained in:
Arun Prakash Jana 2020-12-12 20:53:00 +05:30
parent 1ac4b9bd5a
commit fc3a247c31
No known key found for this signature in database
GPG Key ID: A75979F35C080412
5 changed files with 4 additions and 7 deletions

View File

@ -58,4 +58,3 @@ cddir="$(get_links "$BOOKMARKS_DIR")"
# https://github.com/jarun/nnn/tree/master/plugins#send-data-to-nnn
context=0
printf "%s" "${context}c$(readlink -f "$cddir")" > "$NNN_PIPE"

View File

@ -19,4 +19,3 @@ else
fi
printf "%s" "$files" | xargs -n1 -I{} gpg --decrypt --output "{}.dec" {}

View File

@ -35,4 +35,3 @@ else
printf "%s" "$files" | xargs -n1 gpg --encrypt --recipient "$recipient"
fi

View File

@ -10,8 +10,9 @@ selection=${NNN_SEL:-${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.selection}
id=$(kdeconnect-cli -a --id-only | awk '{print $1}')
if [ "$(find "$selection")" ]; then
kdeconnect-cli -d "$id" --share "$(cat "$selection")"
# If you want a system notification, uncomment the next 3 lines.
# notify-send -a "Kdeconnect" "Sending $(cat "$selection")"
# If you want a system notification, uncomment the next 3 lines.
#notify-send -a "Kdeconnect" "Sending $(cat "$selection")"
#else
# notify-send -a "Kdeconnect" "No file selected"
#notify-send -a "Kdeconnect" "No file selected"
fi

View File

@ -38,4 +38,3 @@ elif [ ! "$(LC_ALL=C ls -a)" = ".
# On older systems that don't have ls -A
$batchrename
fi