move qr to nautilusg

This commit is contained in:
Noah Masur 2022-11-14 10:35:16 -05:00
parent 8342746b69
commit 0176b14350
2 changed files with 7 additions and 5 deletions

View File

@ -7,6 +7,13 @@
gnome.nautilus
gnome.sushi # Quick preview with spacebar
];
programs.fish.functions = {
qr = {
body =
"${pkgs.qrencode}/bin/qrencode $argv[1] -o /tmp/qr.png | ${pkgs.gnome.sushi}/bin/sushi /tmp/qr.png";
};
};
};
};

View File

@ -59,11 +59,6 @@ in {
argumentNames = "target";
body = "${pkgs.prettyping}/bin/prettyping --nolegend $target";
};
qr = {
# Fix for non-macOS
body =
"${pkgs.qrencode}/bin/qrencode $argv[1] -o /tmp/qr.png | ${pkgs.gnome.sushi}/bin/sushi /tmp/qr.png";
};
};
};