From d968f935bda8b384b04640470d8d4038ae09db76 Mon Sep 17 00:00:00 2001 From: Calle Helmertz Date: Thu, 21 Oct 2021 10:02:12 +0200 Subject: [PATCH] xclip-set: Set both clipboard & primary I always try to use shift+Insert in terminals, so I want the password in the primary selection as well. I realize not everybody wants this, https://github.com/mattydebie/bitwarden-rofi/pull/32 for example is proposing a workflow of copying username into one selection, and password into another. --- bwmenu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bwmenu b/bwmenu index a9c342d..1d3588d 100755 --- a/bwmenu +++ b/bwmenu @@ -284,7 +284,7 @@ clipboard-clear() { } clipboard-xclip-set() { - xclip -selection clipboard -r + xclip -selection clipboard -r -f | xclip -selection primary -r } clipboard-xclip-get() {