Set options for fragile GUI automation
This commit is contained in:
parent
d9608d2d1b
commit
e21eb854d7
@ -21,12 +21,15 @@ users:
|
||||
groups:
|
||||
- libvirt
|
||||
|
||||
favorites:
|
||||
- firefox-esr.desktop
|
||||
- terminator.desktop
|
||||
- org.kde.dolphin.desktop
|
||||
- org.remmina.Remmina.desktop
|
||||
#manage_gui: true
|
||||
|
||||
pinned:
|
||||
- firefox-esr.desktop
|
||||
- terminator.desktop
|
||||
#darkmode: true
|
||||
#favorites:
|
||||
# - firefox-esr.desktop
|
||||
# - terminator.desktop
|
||||
# - org.kde.dolphin.desktop
|
||||
# - org.remmina.Remmina.desktop
|
||||
|
||||
#pinned:
|
||||
# - firefox-esr.desktop
|
||||
# - terminator.desktop
|
||||
|
@ -1,3 +1,4 @@
|
||||
darkmode: false
|
||||
homedir: "/home/{{ item.name }}"
|
||||
|
||||
# Follows homelab package list:
|
||||
@ -19,5 +20,6 @@ homelab_packages:
|
||||
- vim
|
||||
- wget
|
||||
|
||||
manage_gui: false
|
||||
packages:
|
||||
- "{{ homelab_packages }}"
|
||||
|
@ -11,6 +11,7 @@
|
||||
owner: "{{ item.name }}"
|
||||
group: "{{ item.name }}"
|
||||
loop: "{{ users }}"
|
||||
when: manage_gui
|
||||
|
||||
- name: Enable KDE dark theme
|
||||
copy:
|
||||
@ -22,11 +23,13 @@
|
||||
lookandfeeltool -a $(lookandfeeltool --list | grep dark)
|
||||
fi
|
||||
loop: "{{ users }}"
|
||||
when: manage_gui and darkmode
|
||||
|
||||
- name: Install sqlite3
|
||||
ansible.builtin.apt:
|
||||
name: sqlite3
|
||||
state: present
|
||||
when: manage_gui and favorites is defined or pinned is defined
|
||||
|
||||
- name: Change favorites menu
|
||||
ansible.builtin.template:
|
||||
@ -34,6 +37,7 @@
|
||||
dest: "{{ homedir }}/.config/autostart-scripts/favorites.sh"
|
||||
mode: a+x
|
||||
loop: "{{ users }}"
|
||||
when: manage_gui and favorites is defined
|
||||
|
||||
- name: Change task manager pinned apps
|
||||
ansible.builtin.template:
|
||||
@ -41,3 +45,4 @@
|
||||
dest: "{{ homedir }}/.config/autostart-scripts/pinnedapps.sh"
|
||||
mode: a+x
|
||||
loop: "{{ users }}"
|
||||
when: manage_gui and pinned is defined
|
||||
|
Loading…
Reference in New Issue
Block a user