Compare commits

...

2 commits

Author SHA1 Message Date
90a3172441 Add desktop file for Edge browser 2025-03-11 08:27:47 +00:00
244a51c5c9 Fix typo 2025-03-10 21:57:13 +00:00
3 changed files with 28 additions and 1 deletions
roles

View file

@ -97,7 +97,7 @@
state: link
force: yes
follow: false
- name: Create $HOME/.local/bin/markdown
- name: Create $HOME/.local/bin/cmarkdown
ansible.builtin.copy:
src: cmarkdown.sh
dest: "{{ ansible_env.HOME }}/.local/bin/cmarkdown"

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:
src: "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"