rofi: add a .desktop file to rofi-snippets

This commit is contained in:
2024-03-01 18:07:52 +00:00
parent 75e9ce509e
commit 9296b7731b

View File

@@ -129,6 +129,16 @@ in
"rofi" "rofi"
"wtype" "wtype"
]; ];
nativeBuildInputs = [
pkgs.copyDesktopItems
];
desktopItems = [
(pkgs.makeDesktopItem {
name = "rofi-snippets";
exec = "rofi-snippets";
desktopName = "rofi macro to insert common texts";
})
];
}; };
# if i could remove the sed, then maybe possible to not sandbox. # if i could remove the sed, then maybe possible to not sandbox.
sandbox.method = "bwrap"; sandbox.method = "bwrap";