diff --git a/playbook/roles/role-one/files/web-browser.desktop b/playbook/roles/role-one/files/web-browser.desktop new file mode 100644 index 0000000..09fc607 --- /dev/null +++ b/playbook/roles/role-one/files/web-browser.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Name=Web Browser +Comment=Browse the web +Keywords=Internet;WWW;Browser;Web;Explorer +Exec=firefox %u +Terminal=false +X-MultipleArgs=false +Icon=web-browser +Categories=Network;X-XFCE;WebBrowser; +MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall; +StartupNotify=true \ No newline at end of file diff --git a/playbook/roles/role-one/tasks/customize-firefox.yml b/playbook/roles/role-one/tasks/customize-firefox.yml index 7323b82..92ba8bd 100644 --- a/playbook/roles/role-one/tasks/customize-firefox.yml +++ b/playbook/roles/role-one/tasks/customize-firefox.yml @@ -17,6 +17,7 @@ when: firefox_check.rc == 0 - name: Customize Firefox | Run Firefox Tweaks + become: yes shell: "cd {{ home_directory }}/Downloads/WhiteSur-gtk-theme/ && ./tweaks.sh -f" when: firefox_check.rc == 0 diff --git a/playbook/roles/role-one/tasks/plank-dock.yml b/playbook/roles/role-one/tasks/plank-dock.yml index a94d99a..90d64bf 100644 --- a/playbook/roles/role-one/tasks/plank-dock.yml +++ b/playbook/roles/role-one/tasks/plank-dock.yml @@ -34,6 +34,11 @@ key: /net/launchpad/plank/docks/dock1/theme value: "'theme-dark'" +- name: Plank Dock | Place web-browser.desktop + copy: + src: web-browser.desktop + dest: "{{ home_directory }}/.local/share/applications/web-browser.desktop" + - name: Plank Dock | Ensure that plank_dock_launcher_path exists file: path: "{{ plank_dock_launcher_path }}" @@ -54,7 +59,7 @@ dest: "{{ plank_dock_launcher_path }}/org.gnome.Nautilus.dockitem" - name: Plank Dock | Add firefox.dockitem to dock - copy: + template: src: firefox.dockitem dest: "{{ plank_dock_launcher_path }}/firefox.dockitem"