use package from the module in the ff desktop entries
This commit is contained in:
parent
dedf83a78f
commit
ebef7ddd6b
1 changed files with 5 additions and 3 deletions
|
@ -72,11 +72,13 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
home-manager.users.${username} = {
|
home-manager.users.${username} = {
|
||||||
xdg.desktopEntries = {
|
xdg.desktopEntries = let
|
||||||
|
pkg = config.home-manager.users.${username}.programs.firefox.package;
|
||||||
|
in {
|
||||||
firefox-schizo = {
|
firefox-schizo = {
|
||||||
name = "Firefox Schizo";
|
name = "Firefox Schizo";
|
||||||
genericName = "Web Browser";
|
genericName = "Web Browser";
|
||||||
exec = "${getExe pkgs.firefox-devedition-bin} --name firefox-schizo -P schizo %U";
|
exec = "${getExe pkg} --name firefox-schizo -P schizo %U";
|
||||||
icon = "${logo}";
|
icon = "${logo}";
|
||||||
terminal = false;
|
terminal = false;
|
||||||
categories = [ "Network" "WebBrowser" ];
|
categories = [ "Network" "WebBrowser" ];
|
||||||
|
@ -90,7 +92,7 @@ in {
|
||||||
firefox-unschizo = {
|
firefox-unschizo = {
|
||||||
name = "Firefox Unschizo";
|
name = "Firefox Unschizo";
|
||||||
genericName = "Web Browser";
|
genericName = "Web Browser";
|
||||||
exec = "${getExe pkgs.firefox-devedition-bin} --name firefox-unschizo -P unschizo %U";
|
exec = "${getExe pkg} --name firefox-unschizo -P unschizo %U";
|
||||||
icon = "${logo}";
|
icon = "${logo}";
|
||||||
terminal = false;
|
terminal = false;
|
||||||
categories = [ "Network" "WebBrowser" ];
|
categories = [ "Network" "WebBrowser" ];
|
||||||
|
|
Loading…
Reference in a new issue