d417a27f2d
tmux copy bindings piped to xclip, which is X11-only and never worked under Hyprland or over SSH, and set-clipboard was never enabled, so the vi-mode `y` binding was dead too. Route both through OSC 52 instead. terminal-features has to name the outer terminal explicitly: tmux skips OSC 52 silently when the terminfo entry does not claim the capability, which is the common case for an SSH session on xterm-256color. Neovim only falls back to OSC 52 when it finds no clipboard tool, but wl-clipboard is installed on every host, so over SSH it wrote the remote clipboard. Pin the OSC 52 provider for SSH sessions only. Moonlight and Sunshine have no clipboard channel in the protocol, so nothing at the terminal layer can help there. Add kdeconnect on all three hosts for that, and start its indicator from Hyprland — kdeconnectd is DBus-activated and nothing else brings it up at login. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
11 lines
304 B
Nix
11 lines
304 B
Nix
{ pkgs, ... }:
|
|
{
|
|
# Clipboard (and file) sync between hosts over the LAN. Moonlight/Sunshine
|
|
# carry no clipboard channel at all, so this is the only path between the
|
|
# streaming client and its host.
|
|
programs.kdeconnect = {
|
|
enable = true;
|
|
package = pkgs.kdePackages.kdeconnect-kde;
|
|
};
|
|
}
|