Updated web browser stuff

This commit is contained in:
swapnil 2022-03-24 11:05:57 +05:30
parent 65120486d4
commit 5757f9ac88
3 changed files with 20 additions and 1 deletions

View File

@ -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

View File

@ -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

View File

@ -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"