Skip to content

Commit

Permalink
xclip-set: Set both clipboard & primary
Browse files Browse the repository at this point in the history
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,
mattydebie#32 for example is
proposing a workflow of copying username into one selection, and
password into another.
  • Loading branch information
chelmertz committed Oct 21, 2021
1 parent 62c95af commit d968f93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bwmenu
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit d968f93

Please sign in to comment.