workstation/roles/common/tasks/gui.yml

23 lines
573 B
YAML
Raw Normal View History

- 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:
path: "/home/{{ item.name }}/.config/autostart-scripts/"
state: directory
loop: "{{ users }}"
- name: Enable KDE dark theme
copy:
dest: "/home/{{ item.name }}/.config/autostart-scripts/darkmode.sh"
mode: a+x
content: |
#!/bin/bash
if ! grep -q "ColorScheme=BreezeDark" ~/.config/kdeglobals; then
lookandfeeltool -a $(lookandfeeltool --list | grep dark)
fi
loop: "{{ users }}"