Add emacs.desktop file and icon
parent
7240e0573b
commit
0158da9990
@ -0,0 +1,29 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=Emacs
|
||||
GenericName=Emacs Editor
|
||||
Icon=emacs
|
||||
Comment=Open an emacs frame through the running daemon
|
||||
|
||||
Exec={{.workspace_bin}} run emacsclient -c %F
|
||||
StartupWMClass=Emacs
|
||||
Version=1.0
|
||||
Terminal=false
|
||||
|
||||
Categories=Development;TextEditor;IDE;WebDevelopment;GTK;
|
||||
Keywords=Text;Editor;IDE;scratch;
|
||||
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++;inode/directory;
|
||||
|
||||
Actions=NewWindow;NewFile;NewInstance
|
||||
|
||||
[Desktop Action NewWindow]
|
||||
Name=New Window
|
||||
Exec={{.workspace_bin}} run emacsclient -c %F
|
||||
|
||||
[Desktop Action NewInstance]
|
||||
Name=New Instance
|
||||
Exec={{.workspace_bin}} run -privileged emacs %F
|
||||
|
||||
[Desktop Action NewFile]
|
||||
Name=New File
|
||||
Exec={{.workspace_bin}} run emacsclient -c -e '(switch-to-buffer (generate-new-buffer "new"))' %F
|
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
Loading…
Reference in New Issue