From 8bb8f9c8118be62d632b6636c2f52e26e2f763bd Mon Sep 17 00:00:00 2001 From: K900 Date: Tue, 22 Feb 2022 16:46:06 +0300 Subject: [PATCH] firefox/wrapper: allow specifying StartupWMClass Primarily useful for out of tree beta/nightly builds, which use a different WM_CLASS --- pkgs/applications/networking/browsers/firefox/wrapper.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/applications/networking/browsers/firefox/wrapper.nix b/pkgs/applications/networking/browsers/firefox/wrapper.nix index 76e0977f18a6..52fe1ffe2d0e 100644 --- a/pkgs/applications/networking/browsers/firefox/wrapper.nix +++ b/pkgs/applications/networking/browsers/firefox/wrapper.nix @@ -27,6 +27,7 @@ let (lib.toUpper (lib.substring 0 1 applicationName) + lib.substring 1 (-1) applicationName) , nameSuffix ? "" , icon ? applicationName + , wmClass ? null , extraNativeMessagingHosts ? [] , pkcs11Modules ? [] , forceWayland ? false @@ -171,6 +172,7 @@ let "x-scheme-handler/https" "x-scheme-handler/ftp" ]; + startupWMClass = wmClass; }; nativeBuildInputs = [ makeWrapper lndir replace jq ];