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

25 lines
835 B
Plaintext
Raw Normal View History

2020-07-10 00:58:55 +02:00
{%- 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
2021-06-30 23:37:33 +02:00
Exec={{ sublimetext.install_dir }}/{{ sublimetext.install_subdir }}/sublime_text %F
2020-07-10 00:58:55 +02:00
Terminal=false
MimeType=text/plain;
2021-07-06 17:21:53 +02:00
Icon={{ sublimetext.install_dir }}/{{ sublimetext.install_subdir }}/Icon/{{ sublimetext.iconsize }}/sublime-text.png
2020-07-10 00:58:55 +02:00
Categories=TextEditor;Development;
StartupNotify=true
Actions=Window;Document;
[Desktop Action Window]
Name=New Window
2021-06-30 23:37:33 +02:00
Exec={{ sublimetext.install_dir }}/{{ sublimetext.install_subdir }}/sublime_text -n
2020-07-10 00:58:55 +02:00
OnlyShowIn=Unity;
[Desktop Action Document]
Name=New File
2021-06-30 23:37:33 +02:00
Exec={{ sublimetext.install_dir }}/{{ sublimetext.install_subdir }}/sublime_text --command new_file
2023-03-10 00:05:49 +01:00
OnlyShowIn=Unity;