diff options
| author | 2026-04-17 10:54:01 +0100 | |
|---|---|---|
| committer | 2026-04-17 10:54:01 +0100 | |
| commit | b6ef745546134b672414c4d196d285edb57e0bdc (patch) | |
| tree | bbe5b089213eef10b976de1c6f5695c1410b0883 /home/.local/bin/rqr | |
| parent | 5252d5e19e0397a93c9686698961c9e9754370fe (diff) | |
| download | dotfiles-b6ef745546134b672414c4d196d285edb57e0bdc.tar.gz dotfiles-b6ef745546134b672414c4d196d285edb57e0bdc.tar.bz2 dotfiles-b6ef745546134b672414c4d196d285edb57e0bdc.zip | |
refactor: migrate clipboard scripts from xclip to wl-clipboard
- linkhandler, videowrapper, togreta, tokodi, wqr: xclip -o → wl-paste
- rqr: xclip -selection clipboard -f → wl-copy
Diffstat (limited to 'home/.local/bin/rqr')
| -rwxr-xr-x | home/.local/bin/rqr | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/home/.local/bin/rqr b/home/.local/bin/rqr index 9621916..335f55b 100755 --- a/home/.local/bin/rqr +++ b/home/.local/bin/rqr @@ -1,6 +1,7 @@ #!/usr/bin/env sh -text="$(zbarcam -q -1 --raw | xclip -selection clipboard -f)" +text="$(zbarcam -q -1 --raw)" +printf '%s' "$text" | wl-copy echo "$text" notify-send "$text" |
