summaryrefslogtreecommitdiffstats
path: root/desktop-kde-plasma/tasks/main.yml
blob: 8ebaa2169ca692a1c7e0f3936c99e92bedf68908 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
---
- name: Install KDE plasma desktop environment
  apt:
    name: kde-plasma-desktop
    state: present

- name: Remove problematic files (dbus notification and screensaver)
  file:
    path: "{{ item }}"
    state: absent
  with_items:
    - /usr/lib/x86_64-linux-gnu/libexec/kscreenlocker_greet
    - /usr/share/dbus-1/services/org.kde.plasma.Notifications.service

- name: Copy static files
  copy:
    src: files/
    dest: /
  become: yes

- name: Set default theme to bwLehrpool
  ini_file:
    path: /usr/share/plasma/desktoptheme/default/metadata.desktop
    section: Wallpaper
    option: defaultWallpaperTheme
    value: bwLehrpool
    no_extra_spaces: yes

- name: Change FillMode for wallpapers
  community.general.xml:
    path: /usr/share/plasma/wallpapers/org.kde.image/contents/config/main.xml
    xpath: '/x:kcfg/x:group[@name="General"]/x:entry[@name="FillMode"]/x:default'
    namespaces:
      x: http://www.kde.org/standards/kcfg/1.0
    value: "2"

- name: Remove update notifier package
  apt:
    name: plasma-discover
    state: absent