From 26ef2d5d9c702c3b92d8f01daa62f7be15c46438 Mon Sep 17 00:00:00 2001 From: Felix Tenley Date: Thu, 4 Mar 2021 15:08:03 +0100 Subject: [PATCH] feat(firefox): remove ssb config SSB support is being removed in Firefox 86 --- home/browsers/firefox.nix | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/home/browsers/firefox.nix b/home/browsers/firefox.nix index fa5b3e3..0f5f8d6 100644 --- a/home/browsers/firefox.nix +++ b/home/browsers/firefox.nix @@ -49,7 +49,6 @@ let # Other "browser.startup.page" = 3; - "browser.ssb.enabled" = true; "browser.tabs.drawInTitlebar" = true; "browser.aboutConfig.showWarning" = false; "signon.rememberSignons" = false; @@ -110,21 +109,6 @@ in { StartupWMClass="${escapeDesktopArg attrs.name}" ''; }); - makeFirefoxWebAppDesktopItem = attrs: - let - # --class not yet respected: https://bugzilla.mozilla.org/show_bug.cgi?id=1606247 - mkExec = with lib; - { app, name, profile ? "private", ... }: '' - firefox -p "${escapeDesktopArg profile}" --ssb="${ - escapeDesktopArg app - }" --class="${escapeDesktopArg name}" - ''; - in pkgs.makeDesktopItem ((removeAttrs attrs [ "app" "profile" ]) // { - exec = mkExec attrs; - extraEntries = '' - StartupWMClass="${escapeDesktopArg attrs.name}" - ''; - }); in (with pkgs; [ (tor-browser-bundle-bin.override { pulseaudioSupport = true; }) ]) ++ [ (makeFirefoxProfileDesktopItem { @@ -133,15 +117,5 @@ in { icon = "firefox"; # TODO looks different profile = "work"; }) - (makeFirefoxWebAppDesktopItem { - name = "element"; - desktopName = "Element"; - app = "https://app.element.io"; - }) - (makeFirefoxWebAppDesktopItem { - name = "youtube-music"; - desktopName = "YouTube Music"; - app = "https://music.youtube.com"; - }) ]; }