Enable KDE dark mode
This commit is contained in:
parent
bf9aee2004
commit
0a716d469c
@ -1,2 +1,5 @@
|
|||||||
# Settings convenient for development in vagrant
|
# Settings convenient for development in vagrant
|
||||||
development: true
|
development: true
|
||||||
|
|
||||||
|
users:
|
||||||
|
- name: vagrant
|
||||||
|
@ -3,3 +3,20 @@
|
|||||||
name: kde-standard
|
name: kde-standard
|
||||||
state: present
|
state: present
|
||||||
update_cache: true
|
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 }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user