dwl-patches/stale-patches/clipboardManager.md
A Frederick Christensen da2f40c982
Renamed _STALE_PATCHES -> stale-patches
The odd name was necessary historically to keep the directory
visible at the top of a large list of patches.
This is no longer necessary.
2025-01-04 20:38:16 -06:00

1.2 KiB

Description

Store your clipboard history using clipman clipboard manager without your KeePassXC passwords leaking into clipman.

Ensure these dependencies are installed (instructions for debian, other distros are left as an exercise...):

apt install clipman libmodern-perl-perl moreutils wl-clipboard

Change your command to launch dwl to something like the following:

dwl -s 'pee somebar dwl-getwindowtitle'

Ensure the following command is running in the background of your dwl session. Put it whereever your auto-started stuff is.

exec wl-paste -t text --watch dwl-clipman

This solution is based on the following reddit post, modified to support dwl. https://www.reddit.com/r/swaywm/comments/ljl0dh/keeping_secrets_secret_with_keepassxc_clipman_and/

Feel free to use this code however you want, but I can't guarantee it will work for what you are trying to do. Licenced under the same license as dwl, "WITHOUT WARRANTY OF ANY KIND".

Download

Authors