diff --git a/roles/home-gui/files/chromium_chromium.desktop b/roles/home-gui/files/chromium_chromium.desktop deleted file mode 100644 index 1b66737..0000000 --- a/roles/home-gui/files/chromium_chromium.desktop +++ /dev/null @@ -1,27 +0,0 @@ -[Desktop Entry] -X-SnapInstanceName=chromium -Version=1.0 -Name=Chromium Web Browser -GenericName=Web Browser -Comment=Access the Internet -Exec=env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/chromium_chromium.desktop /snap/bin/chromium --window-size="1024,768" %U -Terminal=false -Type=Application -Icon=/snap/chromium/current/chromium.png -Categories=Network;WebBrowser; -MimeType=text/html;text/xml;application/xhtml_xml;x-scheme-handler/http;x-scheme-handler/https; -StartupNotify=true -StartupWMClass=chromium -Actions=NewWindow;Incognito;TempProfile; - -[Desktop Action NewWindow] -Name=Open a New Window -Exec=env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/chromium_chromium.desktop /snap/bin/chromium --window-size="1024,768" - -[Desktop Action Incognito] -Name=Open a New Window in incognito mode -Exec=env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/chromium_chromium.desktop /snap/bin/chromium --window-size="1024,768" --incognito - -[Desktop Action TempProfile] -Name=Open a New Window with a temporary profile -Exec=env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/chromium_chromium.desktop /snap/bin/chromium --window-size="1024,768" --temp-profile diff --git a/roles/home-gui/tasks/dotfiles.yml b/roles/home-gui/tasks/dotfiles.yml index 14c1b54..787d169 100644 --- a/roles/home-gui/tasks/dotfiles.yml +++ b/roles/home-gui/tasks/dotfiles.yml @@ -53,16 +53,6 @@ ansible.builtin.copy: src: "xbindkeysrc" dest: "{{ ansible_env.HOME }}/.xbindkeysrc" -- name: Add custom Chromium launcher - ansible.builtin.template: - src: chromium-browser.desktop - dest: "{{ ansible_env.HOME }}/.local/share/applications/chromium-browser.desktop" - vars: - prefix: "{{ '/usr' if ansible_system == 'Linux' else '/usr/pkg' if ansible_system == 'NetBSD' else '/usr/local' }}" -- name: Add custom Chromium Snap launcher - ansible.builtin.copy: - src: "chromium_chromium.desktop" - dest: "{{ ansible_env.HOME }}/.local/share/applications/chromium_chromium.desktop" - name: Add GVim COC launcher ansible.builtin.copy: src: gvim-coc.desktop diff --git a/roles/home-gui/templates/chromium-browser.desktop b/roles/home-gui/templates/chromium-browser.desktop deleted file mode 100644 index 2e35002..0000000 --- a/roles/home-gui/templates/chromium-browser.desktop +++ /dev/null @@ -1,25 +0,0 @@ -[Desktop Entry] -Version=1.0 -Name=Chromium Web Browser -Comment=Access the Internet -GenericName=Web Browser -Exec={{ prefix }}/bin/chromium-browser --window-size="1024,768" %U -Terminal=false -X-MultipleArgs=false -Type=Application -Icon=chromium-browser -Categories=Network;WebBrowser; -MimeType=text/html;text/xml;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp; -StartupWMClass=Chromium-browser -Keywords=web;browser;internet; -Actions=new-window;new-private-window; - -X-Desktop-File-Install-Version=0.26 - -[Desktop Action new-window] -Name=Open a New Window -Exec={{ prefix }}/bin/chromium-browser --window-size="1024,768" %U - -[Desktop Action new-private-window] -Name=Open a New Private Window -Exec={{ prefix }}/bin/chromium-browser --window-size="1024,768" --incognito %U