firefox/wrapper: allow specifying StartupWMClass

Primarily useful for out of tree beta/nightly builds, which use a different WM_CLASS
main
K900 2 years ago committed by Jonathan Ringer
parent cb2cfba6f7
commit 8bb8f9c811
  1. 2
      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 ];

Loading…
Cancel
Save