Add Sublime Text preferences
This commit is contained in:
parent
7f8f753037
commit
bcf45726bf
3 changed files with 16 additions and 0 deletions
5
roles/home-gui/files/Preferences.sublime-settings
Normal file
5
roles/home-gui/files/Preferences.sublime-settings
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"tab_size": 8,
|
||||||
|
"wrap_width": 78,
|
||||||
|
"rulers": [78],
|
||||||
|
}
|
|
@ -6,3 +6,4 @@
|
||||||
- include: firefox.yml
|
- include: firefox.yml
|
||||||
- include: mate.yml
|
- include: mate.yml
|
||||||
when: ansible_system != 'Linux'
|
when: ansible_system != 'Linux'
|
||||||
|
- include: sublimetext.yml
|
||||||
|
|
10
roles/home-gui/tasks/sublimetext.yml
Normal file
10
roles/home-gui/tasks/sublimetext.yml
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
---
|
||||||
|
- name: Check for Sublime Text directory
|
||||||
|
stat:
|
||||||
|
path: "{{ ansible_env.HOME }}/.config/sublime-text-3/Packages/User"
|
||||||
|
register: sublime
|
||||||
|
- name: Copy Sublime Text preferences
|
||||||
|
copy:
|
||||||
|
src: Preferences.sublime-settings
|
||||||
|
dest: "{{ ansible_env.HOME }}/.config/sublime-text-3/Packages/User/Preferences.sublime-settings"
|
||||||
|
when: sublime.stat.exists
|
Loading…
Reference in a new issue