paulbsd-salt/states/sublimetext/sublime_text.desktop.j2

24 lines
813 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 }}/{{ sublimetext.install_subdir }}/sublime_text %F
Terminal=false
MimeType=text/plain;
Icon={{ sublimetext.install_dir }}/{{ sublimetext.install_subdir }}/Icon/48x48/sublime-text.png
Categories=TextEditor;Development;
StartupNotify=true
Actions=Window;Document;
[Desktop Action Window]
Name=New Window
Exec={{ sublimetext.install_dir }}/{{ sublimetext.install_subdir }}/sublime_text -n
OnlyShowIn=Unity;
[Desktop Action Document]
Name=New File
Exec={{ sublimetext.install_dir }}/{{ sublimetext.install_subdir }}/sublime_text --command new_file
OnlyShowIn=Unity;