updated sublimetext state
This commit is contained in:
parent
fddceb4459
commit
b4cb5d3b1b
@ -3,3 +3,4 @@ sublimetext:
|
|||||||
fetch_url: https://paulbsd-pub.s3.fr-par.scw.cloud/sublimetext
|
fetch_url: https://paulbsd-pub.s3.fr-par.scw.cloud/sublimetext
|
||||||
archive_name: sublime_text_build_4107_x64.tar.bz2
|
archive_name: sublime_text_build_4107_x64.tar.bz2
|
||||||
install_dir: /opt
|
install_dir: /opt
|
||||||
|
install_subdir: sublime_text
|
||||||
|
@ -8,11 +8,11 @@ sublime-text-extract-archive:
|
|||||||
- user: root
|
- user: root
|
||||||
- group: root
|
- group: root
|
||||||
- mode: 0755
|
- mode: 0755
|
||||||
- if_missing: {{ sublimetext.install_dir }}/sublime_text_3
|
- if_missing: {{ sublimetext.install_dir }}/{{ sublimetext.install_subdir }}
|
||||||
|
|
||||||
sublime-text-licence-key:
|
sublime-text-licence-key:
|
||||||
file.managed:
|
file.managed:
|
||||||
- name: {{ sublimetext.install_dir }}/sublime_text_3/sublime_text_keys.txt
|
- name: {{ sublimetext.install_dir }}/{{ sublimetext.install_subdir }}/sublime_text_keys.txt
|
||||||
- source: salt://sublimetext/sublime_text_keys.txt.j2
|
- source: salt://sublimetext/sublime_text_keys.txt.j2
|
||||||
- template: jinja
|
- template: jinja
|
||||||
- user: root
|
- user: root
|
||||||
@ -31,7 +31,7 @@ sublime-text-desktop-entry:
|
|||||||
sublime-text-symlink:
|
sublime-text-symlink:
|
||||||
file.symlink:
|
file.symlink:
|
||||||
- name: /usr/bin/sublime_text
|
- name: /usr/bin/sublime_text
|
||||||
- target: {{ sublimetext.install_dir }}/sublime_text_3/sublime_text
|
- target: {{ sublimetext.install_dir }}/{{ sublimetext.install_subdir }}/sublime_text
|
||||||
- user: root
|
- user: root
|
||||||
- group: root
|
- group: root
|
||||||
- mode: 0755
|
- mode: 0755
|
@ -5,20 +5,20 @@ Type=Application
|
|||||||
Name=Sublime Text
|
Name=Sublime Text
|
||||||
GenericName=Text Editor
|
GenericName=Text Editor
|
||||||
Comment=Sophisticated text editor for code, markup and prose
|
Comment=Sophisticated text editor for code, markup and prose
|
||||||
Exec={{ sublimetext.install_dir }}/sublime_text_3/sublime_text %F
|
Exec={{ sublimetext.install_dir }}/{{ sublimetext.install_subdir }}/sublime_text %F
|
||||||
Terminal=false
|
Terminal=false
|
||||||
MimeType=text/plain;
|
MimeType=text/plain;
|
||||||
Icon={{ sublimetext.install_dir }}/sublime_text_3/Icon/48x48/sublime-text.png
|
Icon={{ sublimetext.install_dir }}/{{ sublimetext.install_subdir }}/Icon/48x48/sublime-text.png
|
||||||
Categories=TextEditor;Development;
|
Categories=TextEditor;Development;
|
||||||
StartupNotify=true
|
StartupNotify=true
|
||||||
Actions=Window;Document;
|
Actions=Window;Document;
|
||||||
|
|
||||||
[Desktop Action Window]
|
[Desktop Action Window]
|
||||||
Name=New Window
|
Name=New Window
|
||||||
Exec={{ sublimetext.install_dir }}/sublime_text_3/sublime_text -n
|
Exec={{ sublimetext.install_dir }}/{{ sublimetext.install_subdir }}/sublime_text -n
|
||||||
OnlyShowIn=Unity;
|
OnlyShowIn=Unity;
|
||||||
|
|
||||||
[Desktop Action Document]
|
[Desktop Action Document]
|
||||||
Name=New File
|
Name=New File
|
||||||
Exec={{ sublimetext.install_dir }}/sublime_text_3/sublime_text --command new_file
|
Exec={{ sublimetext.install_dir }}/{{ sublimetext.install_subdir }}/sublime_text --command new_file
|
||||||
OnlyShowIn=Unity;
|
OnlyShowIn=Unity;
|
Loading…
Reference in New Issue
Block a user