summaryrefslogtreecommitdiffstats
path: root/local/share
diff options
context:
space:
mode:
Diffstat (limited to 'local/share')
-rw-r--r--local/share/applications/README.txt1
-rw-r--r--local/share/applications/img.desktop5
-rw-r--r--local/share/applications/text.desktop4
3 files changed, 10 insertions, 0 deletions
diff --git a/local/share/applications/README.txt b/local/share/applications/README.txt
new file mode 100644
index 0000000..3f73bd4
--- /dev/null
+++ b/local/share/applications/README.txt
@@ -0,0 +1 @@
+See https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html
diff --git a/local/share/applications/img.desktop b/local/share/applications/img.desktop
new file mode 100644
index 0000000..c19d314
--- /dev/null
+++ b/local/share/applications/img.desktop
@@ -0,0 +1,5 @@
+[Desktop Entry]
+Type=Application
+Name=Image viewer
+Exec=/usr/bin/nsxiv -a %f
+Categories=Graphics;Office;
diff --git a/local/share/applications/text.desktop b/local/share/applications/text.desktop
new file mode 100644
index 0000000..41ee05f
--- /dev/null
+++ b/local/share/applications/text.desktop
@@ -0,0 +1,4 @@
+[Desktop Entry]
+Type=Application
+Name=Text editor
+Exec=/usr/local/bin/st -e nvim %u