1
0
mirror of https://github.com/kmein/niveum synced 2026-03-20 20:01:08 +01:00

use wl-clipboard

This commit is contained in:
2025-08-26 07:19:17 +02:00
parent 5febabb7fa
commit d0ac0af7c3
8 changed files with 536 additions and 34 deletions

View File

@@ -2,7 +2,7 @@
writers,
mktemp,
qrencode,
xclip,
wl-clipboard,
nsxiv,
}:
writers.writeDashBin "qrpaste" ''
@@ -11,6 +11,6 @@ writers.writeDashBin "qrpaste" ''
clean() {
rm "$file"
}
${qrencode}/bin/qrencode "$(${xclip}/bin/xclip -selection clipboard -out)" -o "$file"
${qrencode}/bin/qrencode "$(${wl-clipboard}/bin/wl-paste)" -o "$file"
${nsxiv}/bin/nsxiv "$file"
''