mirror of
https://gitlab.com/nonguix/nonguix.git
synced 2025-10-02 02:14:59 +00:00
nongnu: signal-desktop: Fix icon in GNOME dash when using Wayland.
* nongnu/packages/messaging.scm (signal-desktop) [phases] {setup-cwd}: Lowercase 'signal' in StartupWMClass in .desktop file. Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
This commit is contained in:
parent
6dc6178d6c
commit
050ddfe036
1 changed files with 7 additions and 1 deletions
|
@ -111,7 +111,13 @@ its core.")
|
||||||
;; Fix the .desktop file binary location.
|
;; Fix the .desktop file binary location.
|
||||||
(substitute* '("share/applications/signal-desktop.desktop")
|
(substitute* '("share/applications/signal-desktop.desktop")
|
||||||
(("/opt/Signal/")
|
(("/opt/Signal/")
|
||||||
(string-append #$output "/bin/")))))
|
(string-append #$output "/bin/"))
|
||||||
|
;; Use a lowercase 'signal' WMClass, to match the
|
||||||
|
;; application ID, otherwise the icon is not displayed
|
||||||
|
;; correctly (see:
|
||||||
|
;; <https://github.com/signalapp/Signal-Desktop/issues/6868>)
|
||||||
|
(("StartupWMClass=Signal")
|
||||||
|
"StartupWMClass=signal"))))
|
||||||
(add-after 'install 'symlink-binary-file
|
(add-after 'install 'symlink-binary-file
|
||||||
(lambda _
|
(lambda _
|
||||||
(mkdir-p (string-append #$output "/bin"))
|
(mkdir-p (string-append #$output "/bin"))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue