guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#72529] [PATCH] gnu: librewolf: Fix WM Class.


From: Ashvith Shetty
Subject: [bug#72529] [PATCH] gnu: librewolf: Fix WM Class.
Date: Thu, 8 Aug 2024 23:58:44 +0530

* gnu/packages/librewolf.scm (librewolf)[arguments]: Set the
MOZ_APP_REMOTINGNAME environment variable and replace "Navigator" with
"LibreWolf" in librewolf.desktop.

Change-Id: I3e117f99ee25321fe3a40ad67450460971579d71
---
 gnu/packages/librewolf.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/librewolf.scm b/gnu/packages/librewolf.scm
index 3e46477724..45fbb84e4f 100644
--- a/gnu/packages/librewolf.scm
+++ b/gnu/packages/librewolf.scm
@@ -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 @@ (define (write-setting key value)
                        (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 @@ (define (runpaths-of-input label)
                            (("-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

base-commit: d7d779a3eff9d7875d491e4180da665f6d2a1b86
-- 
2.45.2






reply via email to

[Prev in Thread] Current Thread [Next in Thread]