nongnu: firefox: Set icon path in desktop file.

* nongnu/packages/mozilla.scm (firefox)[arguments]: Set correct icon
path in the desktop file.

Tested-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
This commit is contained in:
Jonathan Brielmaier 2020-10-02 14:53:50 +02:00
parent 1e0ebd4312
commit e3c50e1385
No known key found for this signature in database
GPG key ID: ECFC83988B4E4B9F

View file

@ -324,7 +324,8 @@
(applications (string-append out "/share/applications")))
(substitute* desktop-file
(("^Exec=firefox") (string-append "Exec=" out "/bin/firefox"))
(("Icon=.*") "Icon=firefox\n")
(("^Icon=.*") (string-append "Icon=" out
"/lib/firefox/browser/chrome/icons/default/default128.png\n"))
(("NewWindow") "new-window")
(("NewPrivateWindow") "new-private-window"))
(install-file desktop-file applications))