updated firefox state

This commit is contained in:
Paul 2022-06-08 23:49:30 +02:00
parent 3b9cbac7ea
commit 4999a9cd76
3 changed files with 14 additions and 9 deletions

View File

@ -1,14 +1,11 @@
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
{%- from "firefox/map.jinja" import firefox with context %}
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Name=Firefox Web browser
Name=Firefox
Comment=Firefox Web browser
Exec=/usr/bin/firefox
Icon={{ firefox.install_dir }}/firefox/browser/chrome/icons/default/default128.png
Terminal=false
StartupWMClass=firefox
Exec=firefox
Icon=firefox
Type=Application
Categories=Network;WebBrowser;
MimeType=application/pdf;application/rdf+xml;application/rss+xml;application/xhtml+xml;application/xhtml_xml;application/xml;image/gif;image/jpeg;image/png;image/webp;text/html;text/xml;x-scheme-handler/http;x-scheme-handler/https;
Version=1.0

View File

@ -38,6 +38,14 @@ firefox-shortcut:
- require:
- archive: firefox-archive-extract
firefox-icon:
file.managed:
- name: /usr/share/icons/firefox.png
- source: /usr/local/apps/firefox/browser/chrome/icons/default/default128.png
- user: root
- group: root
- mode: 644
firefox-cleanup:
software.cleanup:
- name: firefox