Commit 28895fa0 authored by Martin's avatar Martin

fix KDE config, add some options

parent cb7d2e0d
- name: "Set some KDE config options for {{ username }}"
- name: "Set Plasma theme to Breeze Dark {{ username }}"
when: user_accts.stdout.find('answerDE="yes"') != -1
become: yes
become_user: "{{ username }}"
changed_when: False
# We could check `kreadconfig5 --group "Icons" --key "Theme"` first and set it only if that is present, but eeh
command: "/usr/bin/lookandfeeltool -a org.kde.breezedark.desktop"
- name: "Set some Plasma config options for {{ username }}"
when: user_accts.stdout.find('answerDE="yes"') != -1
changed_when: False
command: "{{ item }}"
# Doubleclick to open in apps like Dolphin
- "/usr/bin/kwriteconfig5 --file /home/{{ username }}/.config/kdeglobals --group KDE --key SingleClick false"
# Show Alt+Tab popup as fast as possible - Normally it will wait 90 milliseconds before trying to show the popup
- "/usr/bin/kwriteconfig5 --file /home/{{ username }}/.config/kwinrc --group TabBox --key DelayTime 0"
# Grid view of ALT+TAB menu instead of the weird side screen one
......@@ -12,9 +23,8 @@
- "/usr/bin/kwriteconfig5 --file /home/{{ username }}/.config/kwinrc --group TabBox --key ShowDesktopMode 1"
# Change Icon theme to Papirus
- "/usr/bin/kwriteconfig5 --file /home/{{ username }}/.config/kdeglobals --group Icons --key Theme Papirus"
# Set theme to Breeze Dark
# We could check `kreadconfig5 --group "Icons" --key "Theme"` first and set it only if that is present, but eeh
- "/usr/bin/lookandfeeltool -a org.kde.breezedark.desktop"
# Disable focus stealing prevention. WHY IS 1 THE DEFAULT?
- "/usr/bin/kwriteconfig5 --file /home/{{ username }}/.config/kdeglobals --group Windows --key FocusStealingPreventionLevel 0"
# Always show all items in tray
#kwriteconfig5 --file /home/${username}/.config/plasma-org.kde.plasma.desktop-appletsrc --group Containments --group 8 --group General --key showAllItems true
# Reloading KWin is needed if the system is already installed, so use this with your config management:
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment