mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
feat: qrpaste
This commit is contained in:
@@ -76,6 +76,12 @@ in rec {
|
||||
fi
|
||||
'';
|
||||
|
||||
qrpaste = pkgs.writers.writeDashBin "qrpaste" ''
|
||||
file="$(${pkgs.mktemp}/bin/mktemp qrpasteXXX.png --tmpdir)"
|
||||
${pkgs.qrencode}/bin/qrencode "$(${pkgs.xclip}/bin/xclip -selection clipboard -out)" -o "$file"
|
||||
${pkgs.sxiv}/bin/sxiv "$file" ; rm "$file"
|
||||
'';
|
||||
|
||||
interdimensional-cable =
|
||||
let nimaid-github-io = pkgs.fetchFromGitHub {
|
||||
owner = "nimaid";
|
||||
|
||||
Reference in New Issue
Block a user