aboutsummaryrefslogtreecommitdiff
path: root/nixos/.local/share/applications/emacs.org
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/.local/share/applications/emacs.org')
-rw-r--r--nixos/.local/share/applications/emacs.org20
1 files changed, 20 insertions, 0 deletions
diff --git a/nixos/.local/share/applications/emacs.org b/nixos/.local/share/applications/emacs.org
new file mode 100644
index 0000000..6eab52f
--- /dev/null
+++ b/nixos/.local/share/applications/emacs.org
@@ -0,0 +1,20 @@
+#+title: Emacs Desktop File
+This is a copy of the normal Emacs desktop file, but it launches with =emacsclient= instead of =emacs= to allow connecting to the Emacs daemon.
+#+begin_src desktop :tangle ~/.local/share/applications/emacs.desktop :mkdirp yes
+ [Desktop Entry]
+ Type=Application
+ Version=1.0
+ Name=GNU Emacs
+ GenericName=Emacs
+ Comment=Emacs is the extensible, customizable, self-documenting real-time display editor
+ Comment[de]=Emacs ist der erweiterbare, anpassbare, selbst-dokumentierende Echtzeit-Editor
+ Comment[es]=Emacs es un editor ampliable, adaptable, mismo documentado, de tiempo real
+ Comment[fr]=Emacs est l'éditeur plein écran avancé, auto-documenté, personnalisable et extensible
+ Icon=emacs
+ TryExec=/usr/bin/emacs
+ Exec=/usr/bin/emacsclient -c %F
+ Terminal=false
+ MimeType=text/css;text/english;text/html;text/plain;text/x-c;text/x-chdr;text/x-csrc;text/x-c++;text/x-c++hdr;text/x-c++src;text/x-java;text/x-makefile;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;
+ Categories=Development;TextEditor;
+ StartupWMClass=Emacs
+#+end_src