nongnu: firefox: Add StartupWMClass to firefox.desktop.

Visual fix for GNOME < 40.

* nongnu/packages/mozilla.scm (firefox)[arguments]: Set StartupWMClass
in 'install-desktop-entry phase.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
This commit is contained in:
Clement Lassieur 2022-02-11 17:51:01 +01:00 committed by Jonathan Brielmaier
parent 8dd2f60901
commit cb034164b7
No known key found for this signature in database
GPG key ID: ECFC83988B4E4B9F

View file

@ -332,7 +332,9 @@
(("^Exec=firefox") (string-append "Exec=" out "/bin/firefox")) (("^Exec=firefox") (string-append "Exec=" out "/bin/firefox"))
(("Icon=.*") "Icon=firefox\n") (("Icon=.*") "Icon=firefox\n")
(("NewWindow") "new-window") (("NewWindow") "new-window")
(("NewPrivateWindow") "new-private-window")) (("NewPrivateWindow") "new-private-window")
(("StartupNotify=true")
"StartupNotify=true\nStartupWMClass=Navigator"))
(install-file desktop-file applications)) (install-file desktop-file applications))
#t)) #t))
(add-after 'install-desktop-entry 'install-icons (add-after 'install-desktop-entry 'install-icons