workstation/roles/home-gui/files/kde-setup.sh

47 lines
2.4 KiB
Bash
Raw Normal View History

2023-10-16 13:35:45 +00:00
#!/bin/sh
2023-10-16 14:16:55 +00:00
# Plasma.
2023-10-17 14:10:41 +00:00
plasma-apply-colorscheme BreezeDark
plasma-apply-cursortheme breeze_cursors
plasma-apply-desktoptheme default
plasma-apply-wallpaperimage "$XDG_DATA_HOME/wallpaper.svg"
2023-10-16 14:16:55 +00:00
kwriteconfig5 --file kdeglobals --group KDE --key SingleClick false
2023-10-17 14:31:25 +00:00
kwriteconfig5 --file kglobalshortcutsrc --group konsole.desktop --key _k_friendly_name konsole
kwriteconfig5 --file kglobalshortcutsrc --group konsole.desktop --key _launch Meta+Return,none,konsole
2023-10-16 14:16:55 +00:00
kwriteconfig5 --file kwinrc --group NightColor --key Active true
2023-10-17 09:57:06 +00:00
kwriteconfig5 --file kwinrc --group Desktops --key Id_1 16b2b027-cd5a-48fa-9bd5-c1f0f4f9e550
kwriteconfig5 --file kwinrc --group Desktops --key Id_2 7afe0a12-0cf6-4953-8aed-811d5de9470d
kwriteconfig5 --file kwinrc --group Desktops --key Id_3 189f8351-0229-483b-a249-ca7d27be44bd
kwriteconfig5 --file kwinrc --group Desktops --key Id_4 9a917386-5b9b-4181-854f-ef0eb45151b3
2023-10-17 09:50:51 +00:00
kwriteconfig5 --file kwinrc --group Desktops --key Number 4
kwriteconfig5 --file kwinrc --group Desktops --key Rows 2
2023-10-17 14:31:25 +00:00
kwriteconfig5 --file kwinrc --group Plugins --key wobblywindowsEnabled true
2023-10-17 14:55:25 +00:00
kwriteconfig5 --file ksmserverrc --group General --key loginMode emptySession
2023-10-16 14:16:55 +00:00
# Keyboard.
kwriteconfig5 --file kxkbrc --group Layout --key Use true
kwriteconfig5 --file kxkbrc --group Layout --key Model pc105
kwriteconfig5 --file kxkbrc --group Layout --key LayoutList gb,ca
kwriteconfig5 --file kxkbrc --group Layout --key VariantList ,multix
kwriteconfig5 --file kxkbrc --group Layout --key DisplayNames ,
2023-10-17 14:42:41 +00:00
kwriteconfig5 --file kxkbrc --group Layout --key Options compose:menu,lv3:ralt_switch,lv5:rctrl_switch
2023-10-17 14:31:25 +00:00
kwriteconfig5 --file kxkbrc --group Layout --key ResetOldOptions true
2023-10-16 14:16:55 +00:00
# Konsole.
kwriteconfig5 --file konsolerc --group KonsoleWindow --key RememberWindowSize false
# Dolphin.
kwriteconfig5 --file dolphinrc --group General --key RememberOpenedTabs false
kwriteconfig5 --file dolphinrc --group DetailsMode --key PreviewSize 16
kwriteconfig5 --file dolphinrc --group DetailsMode --key ExpandableFolders false
# Klipper.
kwriteconfig5 --file klipperrc --group General --key KeepClipboardContents false
2023-10-16 19:50:56 +00:00
2023-10-16 21:52:03 +00:00
# KeePassXC.
kwriteconfig5 --file keepassxc/keepassxc.ini --group GUI --key ApplicationTheme classic
kwriteconfig5 --file keepassxc/keepassxc.ini --group SSHAgent --key Enabled true
2023-10-17 14:52:11 +00:00
# Prompt to log out to finish applying settings.
qdbus org.kde.LogoutPrompt /LogoutPrompt org.kde.LogoutPrompt.promptLogout