summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-11-14 11:40:04 +0100
committerThomas Voss <mail@thomasvoss.com> 2023-11-14 11:46:36 +0100
commit4c4521415ef14a9849baf2cc008e90a1c6225562 (patch)
tree49f36d2ffc15253603f2799c5c7c791ea42ee177
parent59fa2b680d169cddc45b65c20e8bc2402d30164c (diff)
xdg: Add a .desktop file for Zathura
-rw-r--r--.config/mimeapps.list1
-rw-r--r--.local/share/applications/zathura.desktop13
2 files changed, 14 insertions, 0 deletions
diff --git a/.config/mimeapps.list b/.config/mimeapps.list
index 6734de2..fd64233 100644
--- a/.config/mimeapps.list
+++ b/.config/mimeapps.list
@@ -1,4 +1,5 @@
[Default Applications]
+application/pdf=zathura.desktop
text/html=firefox.desktop
x-scheme-handler/about=firefox.desktop
x-scheme-handler/http=firefox.desktop
diff --git a/.local/share/applications/zathura.desktop b/.local/share/applications/zathura.desktop
new file mode 100644
index 0000000..1358f69
--- /dev/null
+++ b/.local/share/applications/zathura.desktop
@@ -0,0 +1,13 @@
+[Desktop Entry]
+Version=1.0
+Name=zathura
+
+GenericName=PDF Reader
+Comment=Launches the zathura PDF reader
+Keywords=PDF
+Categories=Office;Viewer
+
+Type=Application
+Terminal=false
+Exec=zathura %u
+MimeType=application/pdf