From adab2a82eae921f3ca48e160e6ec5b91e3d6fa57 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Wed, 13 May 2026 13:43:17 +0100 Subject: feat(wayland): add cliphist clipboard history Install cliphist and wire two user services (text + image watchers) into sway-session.target. Bind $mod+v to pick an entry via fuzzel and $mod+Shift+v to delete one. --- dot_config/sway/config | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'dot_config/sway') diff --git a/dot_config/sway/config b/dot_config/sway/config index 39ddd65..c3b347a 100644 --- a/dot_config/sway/config +++ b/dot_config/sway/config @@ -144,6 +144,10 @@ bindsym $mod+Shift+s exec "playerctl -a pause; swaylock -f -e -c 282828" bindsym $mod+n exec makoctl dismiss bindsym $mod+Shift+n exec makoctl dismiss --all +# Clipboard history +bindsym $mod+v exec sh -c 'cliphist list | fuzzel --dmenu | cliphist decode | wl-copy' +bindsym $mod+Shift+v exec sh -c 'cliphist list | fuzzel --dmenu | cliphist delete' + # Display mode switching bindsym --no-repeat F7 exec ~/.config/sway/display-toggle.sh -- cgit v1.3.1