]> Sergey Matveev's repositories - nnn.git/commitdiff
Deleted blank line
authorJuan Adrián Castro Quintana <juacq97@gmail.com>
Mon, 25 Mar 2019 06:24:34 +0000 (23:24 -0700)
committerGitHub <noreply@github.com>
Mon, 25 Mar 2019 06:24:34 +0000 (23:24 -0700)
Also, I commented again the three lines about the notifications.

user-scripts/kdeconnect

index 0a3f3a255f1af6f82226b1a92ea65b9292fcacff..0fbafbbd074296c25f072161b379d922f81bf657 100755 (executable)
@@ -3,14 +3,13 @@
 # Description: Send the selected files to your Android device using kdeconnect-cli. You must have installed and configured kdeconnect both on the Android device and on the PC.
 #
 # Shell: POSIX compliant
-
 # Author: juacq97
 
 id=$(kdeconnect-cli -a --id-only | awk '{print $1}')
 if [ "$(find ~/.nnncp)" ]; then
     kdeconnect-cli -d "$id" --share "$(cat ~/.nnncp)"
 # If you want a system notification, uncomment the next 3 lines.
-    notify-send -a "Kdeconnect" "Sending $(cat ~/.nnncp)"
-else
-    notify-send -a "Kdeconnect" "No file selected"
+#    notify-send -a "Kdeconnect" "Sending $(cat ~/.nnncp)"
+#else
+#    notify-send -a "Kdeconnect" "No file selected"
 fi