mirror of
https://github.com/nmasur/dotfiles
synced 2026-11-13 14:45:02 +00:00
move qr to nautilusg
This commit is contained in:
1 parent
8342746b69
commit
0176b14350
2 files changed
+7
-5
No files matched your search
@@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -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";
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user