summaryrefslogtreecommitdiffstats
path: root/desktop-kde-plasma/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-kde-plasma/tasks/main.yml')
-rw-r--r--desktop-kde-plasma/tasks/main.yml40
1 files changed, 40 insertions, 0 deletions
diff --git a/desktop-kde-plasma/tasks/main.yml b/desktop-kde-plasma/tasks/main.yml
new file mode 100644
index 0000000..8ebaa21
--- /dev/null
+++ b/desktop-kde-plasma/tasks/main.yml
@@ -0,0 +1,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