dotfiles/tasks/kde.yml

194 lines
4.5 KiB
YAML
Raw Normal View History

2023-07-30 17:26:59 +01:00
- name: Install KDE packages
kewlfft.aur.aur:
name: "{{ item }}"
become: true
become_user: aur_builder
loop:
- filelight
- gwenview
- kamera
- kdeconnect
- okular
- print-manager
2023-05-14 17:19:02 +01:00
- name: Install krunner plugins
kewlfft.aur.aur:
name: "{{ item }}"
become: true
become_user: aur_builder
loop:
2023-07-29 11:59:50 +01:00
- plasma5-runners-vscode-git
2023-05-14 17:19:02 +01:00
- name: List KDE config files
find:
paths: ./files/kde
register: kde_config_files
2023-02-02 20:42:12 +00:00
- name: Copy config files
template:
src: "{{ item.path }}"
dest: "{{ home }}/.config/{{ item.path | basename }}"
2023-02-02 20:42:12 +00:00
mode: 0644
owner: "{{ user }}"
group: users
loop: "{{ kde_config_files.files }}"
2023-02-02 20:42:12 +00:00
2023-07-29 19:47:06 +01:00
- name: Install SDDM config
template:
src: ./files/sddm-kde.conf
dest: /etc/sddm.conf.d/kde_settings.conf
mode: 0644
2023-01-19 09:17:06 +00:00
- name: Update animation speed
realorangeone.kconfig.kconfig:
group: KDE
key: AnimationDurationFactor
value: 0.5
2023-02-02 20:07:59 +00:00
- name: Set dark mode
realorangeone.kconfig.kconfig:
group: KDE
key: LookAndFeelPackage
value: org.kde.breezedark.desktop
- name: Set accent colour to orange
realorangeone.kconfig.kconfig:
group: General
key: AccentColor
value: 233,100,58
- name: Reduce size of borders
realorangeone.kconfig.kconfig:
file: kwinrc
group: org.kde.kdecoration2
key: "{{ item.key }}"
value: "{{ item.value }}"
loop:
- {key: BorderSize, value: None}
- {key: BorderSizeAuto, value: false}
loop_control:
label: "{{ item.key }}"
# Why is this not the default?!
- name: Click to select
realorangeone.kconfig.kconfig:
group: KDE
key: SingleClick
value: false
- name: Enable night colour
realorangeone.kconfig.kconfig:
group: NightColor
file: kwinrc
key: "{{ item.key }}"
value: "{{ item.value }}"
loop:
- {key: Active, value: true}
- {key: Mode, value: Constant}
- {key: NightTemperature, value: 4500}
loop_control:
label: "{{ item.key }}"
- name: Enable 'magic lamp' effect on window restore
realorangeone.kconfig.kconfig:
group: Plugins
file: kwinrc
key: "{{ item.key }}"
value: "{{ item.value }}"
loop:
- {key: kwin4_effect_squashEnabled, value: false}
- {key: magiclampEnabled, value: true}
loop_control:
label: "{{ item.key }}"
- name: Enable automatic screen lock
realorangeone.kconfig.kconfig:
group: Daemon
file: kscreenlockerrc
key: "{{ item.key }}"
value: "{{ item.value }}"
loop:
- {key: LockGrace, value: 0} # Require password, even for quick locks
- {key: Timeout, value: 10} # minutes
loop_control:
label: "{{ item.key }}"
- name: Use picture of the day (from NASA) for lockscreen
realorangeone.kconfig.kconfig:
group: Greeter
file: kscreenlockerrc
key: WallpaperPlugin
value: org.kde.potd
- name: Use picture of the day (from NASA) for desktop background
realorangeone.kconfig.kconfig:
group:
- Containments
- "1"
file: plasma-org.kde.plasma.desktop-appletsrc
key: wallpaperplugin
value: org.kde.potd
2023-02-02 20:07:59 +00:00
- name: Don't restart session on login
realorangeone.kconfig.kconfig:
group: General
file: ksmserverrc
key: loginMode
value: emptySession
- name: Shut down computer by default
realorangeone.kconfig.kconfig:
group: General
file: ksmserverrc
key: shutdownType
value: 2
- name: Index directories
realorangeone.kconfig.kconfig:
group: General
file: ksmserverrc
key: folders
value: "{{ home }}/Documents/,{{ home }}/Projects/"
- name: Don't index file content
realorangeone.kconfig.kconfig:
group: General
file: ksmserverrc
key: only basic indexing
value: true
- name: Set do not disturb shortcut
realorangeone.kconfig.kconfig:
2023-07-02 18:10:08 +01:00
group: plasmashell
2023-02-02 20:07:59 +00:00
file: kglobalshortcutsrc
key: toggle do not disturb
value: Meta+N,,Toggle do not disturb
2023-07-02 18:19:14 +01:00
- name: Open terminal with Meta+Return
realorangeone.kconfig.kconfig:
group: org.kde.konsole.desktop
file: kglobalshortcutsrc
key: _launch
value: Meta+Return,Ctrl+Alt+T,Konsole
2023-02-02 20:07:59 +00:00
- name: Send basic system information
realorangeone.kconfig.kconfig:
group: Global
file: PlasmaUserFeedback
key: FeedbackLevel
value: 16
2023-07-02 18:06:14 +01:00
- name: Don't persist clipboard
realorangeone.kconfig.kconfig:
group: General
file: klipperrc
key: KeepClipboardContents
value: false
- name: Customize fullscreen shortcut
realorangeone.kconfig.kconfig:
group: kwin
file: kglobalshortcutsrc
key: Window Fullscreen
value: Meta+F,,Make Window Fullscreen