Only this component, without the full session. First add the Swaydesk repository, as on the page Install.
Debian 13
sudo apt install swaydesk-clipboard
Ubuntu 26.04 · Mint 27
sudo apt install swaydesk-clipboard
Arch Linux
sudo pacman -Syu swaydesk-clipboard
Start it on plain Sway
In ~/.config/sway/config:
include /usr/share/swaydesk/sway/config.d/50-swaydesk-clipboard.conf
Super+Shift+V shows the history. If your config already runs wl-paste --watch cliphist store, remove that line: the service runs the same watchers.
It runs as a systemd user unit, restarted if it crashes, and does nothing inside the Swaydesk session. Put the include after your config's set $mod. Without a systemd user session, use the exec line in the file's last comment instead.
In Waybar
In ~/.config/waybar/config.jsonc, add "custom/swaydesk-clipboard" to modules-left, modules-center or modules-right, and paste the module from this file next to your other modules: