firefox: alt firefox desktop entry

This commit is contained in:
Zynh Ludwig 2025-04-11 13:47:45 -07:00
parent 679fd5a46a
commit f713364a11

View file

@ -46,5 +46,31 @@ in
${lib.getExe config.programs.firefox.package} -P "alt"
'')
];
xdg.desktopEntries = {
AltFirefox = {
name = "Alt Firefox";
genericName = "Web Browser";
icon = "firefox";
exec = ''
${lib.getExe config.programs.firefox.package} -P "alt"
'';
terminal = false;
type = "Application";
mimeType = [
"text/html"
"text/xml"
"application/xhtml+xml"
"application/vnd.mozilla.xul+xml"
"x-scheme-handler/http"
"x-scheme-handler/https"
];
categories = [
"Network"
"WebBrowser"
];
startupNotify = false;
};
};
};
}