这是indexloc提供的服务,不要输入任何密码
Skip to content

Deepak22903/kdeconnect-send.yazi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 

Repository files navigation

kdeconnect-send.yazi

Send selected files to your smartphone or other devices using KDE Connect. This plugin allows you to quickly share files from Yazi file manager directly to any KDE Connect-paired device.

Features

  • Select and send multiple files to KDE Connect devices
  • Automatically detects available and reachable KDE Connect devices
  • Configurable device selection behavior with auto_select_single option
  • Prompts for device selection when multiple devices are available
  • Provides notifications for successful and failed transfers
  • Warns when no files are selected

Requirements

  • KDE Connect installed on your system
  • kdeconnect-cli command available in your PATH
  • At least one device paired and reachable via KDE Connect

Installation

Using ya pkg

ya pkg add Deepak22903/kdeconnect-send

Using Git

Clone the repository directly into your Yazi plugins directory:

git clone https://github.com/Deepak22903/kdeconnect-send.yazi.git ~/.config/yazi/plugins/kdeconnect-send.yazi

Usage

Add this to your ~/.config/yazi/keymap.toml:

[[manager.prepend_keymap]]
on   = [ "<C-s>" ]
run  = "plugin kdeconnect-send"
desc = "Send selected files via KDE Connect"

Make sure the ctrl => s key combination is not used elsewhere.

Configuration (optional)

If you want to always show device selection menu, regardless of device count, add this to your ~/.config/yazi/init.lua:

-- Always show device selection
require("kdeconnect-send"):setup({
    auto_select_single = false,
})

How to Use

  1. Select one or more files in Yazi using your selection key (typically Space)
  2. Press ctrl followed by s to activate the plugin
  3. If multiple devices are available, select the device ID you want to send to
  4. The files will be sent and you'll receive a notification of the results

License

This plugin is MIT-licensed.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages