uncommitted firefox changes
This commit is contained in:
parent
546298220a
commit
aadfa8d7f5
5 changed files with 52 additions and 40 deletions
|
|
@ -120,31 +120,31 @@ in {
|
|||
|
||||
package = pkgs.firefox-devedition.overrideAttrs (pkg: let
|
||||
entries = {
|
||||
im-firefox = {
|
||||
firefox-im = {
|
||||
name = "IMs (Firefox)";
|
||||
profile = "im";
|
||||
nomime = true;
|
||||
noremote = true;
|
||||
};
|
||||
|
||||
trusted = {
|
||||
firefox-trusted = {
|
||||
name = "Trusted Firefox";
|
||||
profile = "trusted";
|
||||
nomime = true;
|
||||
};
|
||||
|
||||
work = {
|
||||
firefox-work = {
|
||||
name = "Work Firefox";
|
||||
profile = "work";
|
||||
nomime = true;
|
||||
};
|
||||
|
||||
general = {
|
||||
firefox-general = {
|
||||
name = "Firefox";
|
||||
profile = "general";
|
||||
};
|
||||
|
||||
schizo = {
|
||||
firefox-schizo = {
|
||||
name = "Schizo Firefox";
|
||||
profile = "schizo";
|
||||
nomime = true;
|
||||
|
|
@ -168,6 +168,17 @@ in {
|
|||
buildCommand = ''
|
||||
${pkg.buildCommand}
|
||||
rm $out/share/applications/*
|
||||
|
||||
cat <<EOF > $out/share/applications/firefox.desktop
|
||||
[Desktop Entry]
|
||||
Version=1.4
|
||||
Type=Application
|
||||
Name=Firefox
|
||||
Icon=firefox-devedition
|
||||
NoDisplay=true
|
||||
EOF
|
||||
|
||||
|
||||
'' + lib.strings.concatMapStrings (item: "\ncp ${item}/share/applications/* $out/share/applications") items;
|
||||
});
|
||||
|
||||
|
|
@ -176,8 +187,10 @@ in {
|
|||
inherit id settings name extensions;
|
||||
path = name;
|
||||
userChrome = ''
|
||||
${builtins.readFile ./hide_drm_nagbar_chrome.css}
|
||||
${builtins.readFile ./sideberry_chrome.css}
|
||||
${builtins.readFile ./sideberry_hide_ext_button.css}
|
||||
${builtins.readFile ./hide_content_borders.css}
|
||||
'';
|
||||
};
|
||||
in {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue