aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/home/.local/bin/rqr
diff options
context:
space:
mode:
authorLibravatar sommerfeld <[email protected]>2026-04-17 10:54:01 +0100
committerLibravatar sommerfeld <[email protected]>2026-04-17 10:54:01 +0100
commitb6ef745546134b672414c4d196d285edb57e0bdc (patch)
treebbe5b089213eef10b976de1c6f5695c1410b0883 /home/.local/bin/rqr
parent5252d5e19e0397a93c9686698961c9e9754370fe (diff)
downloaddotfiles-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-xhome/.local/bin/rqr3
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"