nix-files/pkgs/additional/sane-open/default.nix

21 lines
444 B
Nix
Raw Normal View History

{ static-nix-shell
, copyDesktopItems
, makeDesktopItem
}:
static-nix-shell.mkBash {
pname = "sane-open";
srcRoot = ./.;
pkgs = [ "glib" "jq" "procps" "sway" "util-linux" "xdg-utils" ];
nativeBuildInputs = [
copyDesktopItems
];
desktopItems = [
(makeDesktopItem {
name = "sane-open-application";
exec = "sane-open --application %f";
desktopName = ".desktop launcher";
noDisplay = true;
})
];
}