2021-11-27 05:53:58 +00:00
|
|
|
- name: Install KDE
|
|
|
|
apt:
|
|
|
|
name: kde-standard
|
|
|
|
state: present
|
|
|
|
update_cache: true
|
2021-11-28 04:31:33 +00:00
|
|
|
|
|
|
|
- name: Create autostart-scripts directory
|
|
|
|
file:
|
2021-12-09 01:02:49 +00:00
|
|
|
path: "{{ homedir }}/.config/autostart-scripts/"
|
2021-11-28 04:31:33 +00:00
|
|
|
state: directory
|
2021-12-09 01:02:49 +00:00
|
|
|
owner: "{{ item.name }}"
|
|
|
|
group: "{{ item.name }}"
|
2021-11-28 04:31:33 +00:00
|
|
|
loop: "{{ users }}"
|
|
|
|
|
|
|
|
- name: Enable KDE dark theme
|
|
|
|
copy:
|
2021-12-09 01:02:49 +00:00
|
|
|
dest: "{{ homedir }}/.config/autostart-scripts/darkmode.sh"
|
2021-11-28 04:31:33 +00:00
|
|
|
mode: a+x
|
|
|
|
content: |
|
|
|
|
#!/bin/bash
|
|
|
|
if ! grep -q "ColorScheme=BreezeDark" ~/.config/kdeglobals; then
|
|
|
|
lookandfeeltool -a $(lookandfeeltool --list | grep dark)
|
|
|
|
fi
|
|
|
|
loop: "{{ users }}"
|
2021-12-06 05:57:07 +00:00
|
|
|
|
|
|
|
- name: Install packages
|
|
|
|
apt:
|
|
|
|
name: "{{ item }}"
|
|
|
|
loop: "{{ packages }}"
|
|
|
|
|
|
|
|
- name: Install sqlite3
|
|
|
|
apt:
|
|
|
|
name: sqlite3
|
|
|
|
state: present
|
|
|
|
|
|
|
|
- name: Change favorites menu
|
|
|
|
template:
|
|
|
|
src: favorites.sh.j2
|
2021-12-09 01:02:49 +00:00
|
|
|
dest: "{{ homedir }}/.config/autostart-scripts/favorites.sh"
|
2021-12-06 05:57:07 +00:00
|
|
|
mode: a+x
|
|
|
|
loop: "{{ users }}"
|