mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-27 19:41:50 +02:00
gnu: librewolf: Use distinct WM Class.
Make desktop environments properly render the icon and not conflate
LibreWolf with other browsers with the "Navigator" class.
A similar fix to IceCat was pushed as commit
be1d05c107.
* gnu/packages/librewolf.scm (librewolf)[arguments]: Set both
the MOZ_APP_REMOTINGNAME environment variable and librewolf.desktop's
StartupWMClass to "LibreWolf".
Change-Id: I3e117f99ee25321fe3a40ad67450460971579d71
This commit is contained in:
committed by
Tobias Geerinckx-Rice
parent
936928fe38
commit
5d1c3bad5c
@@ -23,6 +23,7 @@
|
||||
;;; Copyright © 2023 Tomas Volf <wolf@wolfsden.cz>
|
||||
;;; Copyright © 2023 Ian Eure <ian@retrospec.tv>
|
||||
;;; Copyright © 2024 Remco van 't Veer <remco@remworks.net>
|
||||
;;; Copyright © 2024 Ashvith Shetty <ashvithshetty10@gmail.com>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
@@ -413,6 +414,7 @@
|
||||
(setenv "CC" "clang")
|
||||
(setenv "CXX" "clang++")
|
||||
(setenv "MOZ_NOSPAM" "1")
|
||||
(setenv "MOZ_APP_REMOTINGNAME" "LibreWolf")
|
||||
(setenv "MOZ_APP_NAME" "librewolf")
|
||||
|
||||
(setenv "MOZBUILD_STATE_PATH"
|
||||
@@ -626,8 +628,7 @@
|
||||
(("-NewPrivateWindow")
|
||||
"-new-private-window")
|
||||
(("StartupNotify=true")
|
||||
"StartupNotify=true
|
||||
StartupWMClass=Navigator"))
|
||||
"StartupNotify=true\nStartupWMClass=LibreWolf"))
|
||||
(copy-file desktop-file "librewolf.desktop")
|
||||
(install-file "librewolf.desktop" applications))))
|
||||
(add-after 'install-desktop-entry 'install-icons
|
||||
|
||||
Reference in New Issue
Block a user