浏览代码

Minor plugin indentation update

master
Arun Prakash Jana 4 年前
父节点
当前提交
fc3a247c31
找不到此签名对应的密钥 GPG 密钥 ID: A75979F35C080412
共有 5 个文件被更改,包括 4 次插入7 次删除
  1. +0
    -1
      plugins/bookmarks
  2. +0
    -1
      plugins/gpgd
  3. +0
    -1
      plugins/gpge
  4. +4
    -3
      plugins/kdeconnect
  5. +0
    -1
      plugins/renamer

+ 0
- 1
plugins/bookmarks 查看文件

@@ -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"


+ 0
- 1
plugins/gpgd 查看文件

@@ -19,4 +19,3 @@ else
fi

printf "%s" "$files" | xargs -n1 -I{} gpg --decrypt --output "{}.dec" {}


+ 0
- 1
plugins/gpge 查看文件

@@ -35,4 +35,3 @@ else

printf "%s" "$files" | xargs -n1 gpg --encrypt --recipient "$recipient"
fi


+ 4
- 3
plugins/kdeconnect 查看文件

@@ -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

+ 0
- 1
plugins/renamer 查看文件

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


正在加载...
取消
保存