mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-26 14:15:36 +00:00
move qr to nautilusg
This commit is contained in:
parent
8342746b69
commit
0176b14350
@ -7,6 +7,13 @@
|
|||||||
gnome.nautilus
|
gnome.nautilus
|
||||||
gnome.sushi # Quick preview with spacebar
|
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";
|
argumentNames = "target";
|
||||||
body = "${pkgs.prettyping}/bin/prettyping --nolegend $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";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user