summaryrefslogtreecommitdiffstats
path: root/desktop-kde-plasma/tasks/main.yml
diff options
context:
space:
mode:
authorJonathan Bauer2021-05-19 10:29:26 +0200
committerJonathan Bauer2021-05-19 10:29:26 +0200
commit744dda86b9027431bf50e6e80caaf5d478359a6f (patch)
tree6faf98be6054a0095e284a92b8c2a872ee30b93b /desktop-kde-plasma/tasks/main.yml
parent[desktop-i3] i3 installation (diff)
downloadansible-bwlp-744dda86b9027431bf50e6e80caaf5d478359a6f.tar.gz
ansible-bwlp-744dda86b9027431bf50e6e80caaf5d478359a6f.tar.xz
ansible-bwlp-744dda86b9027431bf50e6e80caaf5d478359a6f.zip
[desktop-kde-plasma] kde-plasma with bwlp mods
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