diff options
| author | 2026-05-13 13:43:17 +0100 | |
|---|---|---|
| committer | 2026-05-13 13:43:17 +0100 | |
| commit | adab2a82eae921f3ca48e160e6ec5b91e3d6fa57 (patch) | |
| tree | 769106e2f04cb6c7e345e2d64eebe43a4f4ab790 /dot_config/sway/config | |
| parent | 51d6762a8fd005b7be8e761bff9e09646f62f862 (diff) | |
| download | dotfiles-adab2a82eae921f3ca48e160e6ec5b91e3d6fa57.tar.gz dotfiles-adab2a82eae921f3ca48e160e6ec5b91e3d6fa57.tar.bz2 dotfiles-adab2a82eae921f3ca48e160e6ec5b91e3d6fa57.zip | |
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.
Diffstat (limited to 'dot_config/sway/config')
| -rw-r--r-- | dot_config/sway/config | 4 |
1 files changed, 4 insertions, 0 deletions
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 |
