Enable KDE dark mode

This commit is contained in:
Kris Lamoureux 2021-11-27 23:31:33 -05:00
parent bf9aee2004
commit 0a716d469c
Signed by: kris
GPG Key ID: 3EDA9C3441EDA925
2 changed files with 20 additions and 0 deletions

View File

@ -1,2 +1,5 @@
# Settings convenient for development in vagrant
development: true
users:
- name: vagrant

View File

@ -3,3 +3,20 @@
name: kde-standard
state: present
update_cache: true
- 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 }}"