aboutsummaryrefslogtreecommitdiffstats
path: root/roles/linux_desktop/tasks/theme.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/linux_desktop/tasks/theme.yml')
-rw-r--r--roles/linux_desktop/tasks/theme.yml35
1 files changed, 35 insertions, 0 deletions
diff --git a/roles/linux_desktop/tasks/theme.yml b/roles/linux_desktop/tasks/theme.yml
new file mode 100644
index 0000000..b497020
--- /dev/null
+++ b/roles/linux_desktop/tasks/theme.yml
@@ -0,0 +1,35 @@
+- name: create qogir source directories
+ file:
+ path: '{{ item }}'
+ state: directory
+ loop:
+ - '{{ linux_desktop_qogir_source_dir }}'
+ - '{{ linux_desktop_qogir_icon_source_dir }}'
+
+- name: extract qogir tarball
+ unarchive:
+ src: '{{ linux_desktop_qogir_url }}'
+ dest: '{{ linux_desktop_qogir_source_dir }}'
+ remote_src: yes
+ extra_opts:
+ - --strip-components=1
+ register: linux_desktop_qogir_unarchive
+
+- name: install qogir theme
+ command:
+ cmd: ./install.sh -d /usr/share/themes -t default
+ chdir: '{{ linux_desktop_qogir_source_dir }}'
+
+- name: extract qogir icons tarball
+ unarchive:
+ src: '{{ linux_desktop_qogir_icon_url }}'
+ dest: '{{ linux_desktop_qogir_icon_source_dir }}'
+ remote_src: yes
+ extra_opts:
+ - --strip-components=1
+ register: linux_desktop_qogir_icon_unarchive
+
+- name: install qogir icons
+ command:
+ cmd: ./install.sh -d /usr/share/icons -t default
+ chdir: '{{ linux_desktop_qogir_icon_source_dir }}'