My build of nnn with minor changes
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 
 
 
 

16 行
565 B

  1. #!/usr/bin/env sh
  2. # 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.
  3. #
  4. # Shell: POSIX compliant
  5. # Author: juacq97
  6. id=$(kdeconnect-cli -a --id-only | awk '{print $1}')
  7. if [ "$(find ~/.nnncp)" ]; then
  8. kdeconnect-cli -d "$id" --share "$(cat ~/.nnncp)"
  9. # If you want a system notification, uncomment the next 3 lines.
  10. # notify-send -a "Kdeconnect" "Sending $(cat ~/.nnncp)"
  11. #else
  12. # notify-send -a "Kdeconnect" "No file selected"
  13. fi