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} = {
|
||||
xdg.desktopEntries = {
|
||||
xdg.desktopEntries = let
|
||||
pkg = config.home-manager.users.${username}.programs.firefox.package;
|
||||
in {
|
||||
firefox-schizo = {
|
||||
name = "Firefox Schizo";
|
||||
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}";
|
||||
terminal = false;
|
||||
categories = [ "Network" "WebBrowser" ];
|
||||
|
@ -90,7 +92,7 @@ in {
|
|||
firefox-unschizo = {
|
||||
name = "Firefox Unschizo";
|
||||
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}";
|
||||
terminal = false;
|
||||
categories = [ "Network" "WebBrowser" ];
|
||||
|
|
Loading…
Reference in a new issue