Handle fill mode with white background
This commit is contained in:
parent
d51ca11ac0
commit
b48756cbaf
@ -3,5 +3,8 @@ additional_pacman_packages:
|
||||
- mattermost-desktop
|
||||
- wireguard-tools
|
||||
#additional_aur_packages:
|
||||
# - virter
|
||||
|
||||
ssh_key_git: "{{ ansible_user_dir }}/.ssh/id_ed25519"
|
||||
|
||||
background_image: "{{ ansible_user_dir }}/Bilder/Art Print - Inked Pink Mizuchi Dragon Painting.jpg"
|
||||
|
@ -112,23 +112,48 @@
|
||||
mode: "0755"
|
||||
tags: config
|
||||
|
||||
- name: Reload user systemd services
|
||||
ansible.builtin.systemd_service:
|
||||
daemon_reload: true
|
||||
scope: user
|
||||
tags: services
|
||||
|
||||
- name: Reload system systemd services
|
||||
ansible.builtin.systemd_service:
|
||||
daemon_reload: true
|
||||
become: true
|
||||
tags: services
|
||||
|
||||
- name: Enable fstrim
|
||||
- name: Reload user systemd services
|
||||
ansible.builtin.systemd_service:
|
||||
name: fstrim.timer
|
||||
daemon_reload: true
|
||||
scope: user
|
||||
tags: services
|
||||
|
||||
- name: Enable system services
|
||||
ansible.builtin.systemd_service:
|
||||
name: "{{ item }}"
|
||||
state: "started"
|
||||
enabled: true
|
||||
loop:
|
||||
- "fstrim.timer"
|
||||
- "bluetooth.service"
|
||||
- "sddm.service"
|
||||
become: true
|
||||
tags: services
|
||||
|
||||
- name: Enable user services
|
||||
ansible.builtin.systemd_service:
|
||||
name: "{{ item }}"
|
||||
state: "restarted"
|
||||
enabled: true
|
||||
scope: user
|
||||
loop:
|
||||
- "ssh-agent.service"
|
||||
tags: services
|
||||
|
||||
- name: Start system services
|
||||
ansible.builtin.systemd_service:
|
||||
name: "{{ item }}"
|
||||
state: "started"
|
||||
enabled: true
|
||||
loop:
|
||||
- "fstrim.timer"
|
||||
- "bluetooth.service"
|
||||
become: true
|
||||
tags: services
|
||||
|
||||
@ -179,21 +204,6 @@
|
||||
become: true
|
||||
tags: services
|
||||
|
||||
- name: Enable ssh-agent
|
||||
ansible.builtin.systemd_service:
|
||||
name: ssh-agent
|
||||
state: "restarted"
|
||||
enabled: true
|
||||
scope: user
|
||||
tags: services
|
||||
|
||||
- name: Enable sddm
|
||||
ansible.builtin.systemd_service:
|
||||
name: sddm
|
||||
enabled: true
|
||||
become: true
|
||||
tags: services
|
||||
|
||||
- name: Add group for libvirt
|
||||
ansible.builtin.user:
|
||||
name: "{{ ansible_user_id }}"
|
||||
|
@ -9,6 +9,7 @@
|
||||
'General',
|
||||
]
|
||||
d.writeConfig('Image', 'file://{{ background_image }}')
|
||||
d.writeConfig('FillMode', '1')
|
||||
d.reloadConfig()
|
||||
})
|
||||
"
|
||||
@ -17,3 +18,4 @@
|
||||
ansible.builtin.shell: |
|
||||
kwriteconfig6 --file ~/.config/kscreenlockerrc --group Greeter --group Wallpaper --group org.kde.image --group General --key Image '{{ background_image }}'
|
||||
kwriteconfig6 --file ~/.config/kscreenlockerrc --group Greeter --group Wallpaper --group org.kde.image --group General --key PreviewImage '{{ background_image }}'
|
||||
kwriteconfig6 --file ~/.config/kscreenlockerrc --group Greeter --group Wallpaper --group org.kde.image --group General --key FillMode '1'
|
||||
|
Loading…
Reference in New Issue
Block a user