Add desktop file for Edge browser

This commit is contained in:
Anthony Rose 2025-03-11 08:27:47 +00:00
parent 244a51c5c9
commit 90a3172441
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,23 @@
[Desktop Entry]
Version=1.0
Name=Microsoft Edge
GenericName=Web Browser
Comment=Access the Internet
TryExec=.local/share/flatpak/app/com.microsoft.Edge/current/active/export/bin/com.microsoft.Edge
Exec=/usr/bin/flatpak run com.microsoft.Edge -enable-features=UseOzonePlatform -ozone-platform=wayland --high-dpi-support=1 --gtk-version=4 %U
StartupNotify=true
Terminal=false
Icon=com.microsoft.Edge
StartupWMClass=microsoft-edge
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/ftp;x-scheme-handler/http;x-scheme-handler/https;
Actions=new-window;new-private-window;
[Desktop Action new-window]
Name=New Window
Exec=/usr/bin/flatpak run com.microsoft.Edge
[Desktop Action new-private-window]
Name=New InPrivate Window
Exec=/usr/bin/flatpak run com.microsoft.Edge -enable-features=UseOzonePlatform -ozone-platform=wayland --high-dpi-support=1 --gtk-version=4 --inprivate %U

View file

@ -95,3 +95,7 @@
ansible.builtin.copy: ansible.builtin.copy:
src: "konsole/" src: "konsole/"
dest: "{{ ansible_env.XDG_DATA_HOME }}/konsole" dest: "{{ ansible_env.XDG_DATA_HOME }}/konsole"
- name: Create $XDG_DATA_HOME/com.microsoft.Edge.desktop
ansible.builtin.copy:
src: "com.microsoft.Edge.desktop"
dest: "{{ ansible_env.XDG_DATA_HOME }}/applications/com.microsoft.Edge.desktop"