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 # https://github.com/jarun/nnn/tree/master/plugins#send-data-to-nnn
context=0 context=0
printf "%s" "${context}c$(readlink -f "$cddir")" > "$NNN_PIPE" printf "%s" "${context}c$(readlink -f "$cddir")" > "$NNN_PIPE"

View file

@ -19,4 +19,3 @@ else
fi fi
printf "%s" "$files" | xargs -n1 -I{} gpg --decrypt --output "{}.dec" {} 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" printf "%s" "$files" | xargs -n1 gpg --encrypt --recipient "$recipient"
fi fi

View file

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

View file

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