paulbsd-salt/states/sublimetext/sublime_text.desktop.j2
2020-07-10 00:58:55 +02:00

24 lines
741 B
Django/Jinja

{%- from "sublimetext/map.jinja" import sublimetext with context -%}
[Desktop Entry]
Version=1.0
Type=Application
Name=Sublime Text
GenericName=Text Editor
Comment=Sophisticated text editor for code, markup and prose
Exec={{ sublimetext.install_dir }}/sublime_text_3/sublime_text %F
Terminal=false
MimeType=text/plain;
Icon={{ sublimetext.install_dir }}/sublime_text_3/Icon/48x48/sublime-text.png
Categories=TextEditor;Development;
StartupNotify=true
Actions=Window;Document;
[Desktop Action Window]
Name=New Window
Exec={{ sublimetext.install_dir }}/sublime_text_3/sublime_text -n
OnlyShowIn=Unity;
[Desktop Action Document]
Name=New File
Exec={{ sublimetext.install_dir }}/sublime_text_3/sublime_text --command new_file
OnlyShowIn=Unity;