uncommitted firefox changes

This commit is contained in:
outfoxxed 2025-01-05 22:59:36 -08:00
parent 546298220a
commit aadfa8d7f5
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
5 changed files with 52 additions and 40 deletions

View file

@ -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 {