aboutsummaryrefslogtreecommitdiff
path: root/misc/.local/share/applications/emacsclient.desktop
diff options
context:
space:
mode:
authorYuchen Pei <id@ypei.org>2023-08-21 16:56:02 +1000
committerYuchen Pei <id@ypei.org>2023-08-21 16:56:02 +1000
commit2f4b5e011c4345e18a8ad6a9ea968f62e66e08d8 (patch)
treefa5208012c0d394df89265345ecc812c8b682b27 /misc/.local/share/applications/emacsclient.desktop
parentffea78e98b6a9c494c0a52f59e6ad1678a6dc445 (diff)
Adding xdg desktop entries and mimeapp.list
Diffstat (limited to 'misc/.local/share/applications/emacsclient.desktop')
-rw-r--r--misc/.local/share/applications/emacsclient.desktop22
1 files changed, 22 insertions, 0 deletions
diff --git a/misc/.local/share/applications/emacsclient.desktop b/misc/.local/share/applications/emacsclient.desktop
new file mode 100644
index 0000000..5e68ffe
--- /dev/null
+++ b/misc/.local/share/applications/emacsclient.desktop
@@ -0,0 +1,22 @@
+[Desktop Entry]
+Name=Emacs (Client)
+GenericName=Text Editor
+Comment=Edit text
+MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;
+Exec=emacsclient --alternate-editor= --create-frame %F
+Icon=emacs
+Type=Application
+Terminal=false
+Categories=Development;TextEditor;
+StartupNotify=true
+StartupWMClass=Emacs
+Keywords=emacsclient;
+Actions=new-window;new-instance;
+
+[Desktop Action new-window]
+Name=New Window
+Exec=emacsclient --alternate-editor= --create-frame %F
+
+[Desktop Action new-instance]
+Name=New Instance
+Exec=emacs %F