diff --git a/roles/home-gui/files/kde-setup.sh b/roles/home-gui/files/kde-setup.sh index c3ae7f8..410767e 100644 --- a/roles/home-gui/files/kde-setup.sh +++ b/roles/home-gui/files/kde-setup.sh @@ -1,12 +1,9 @@ #!/bin/sh # Plasma. -plasma-apply-lookandfeel --apply org.kde.breezedark.desktop -if [ -r "$XDG_CONFIG_HOME/plasma-org.kde.plasma.desktop-appletsrc.acp" ] -then - rm -f "$XDG_CONFIG_HOME/plasma-org.kde.plasma.desktop-appletsrc" - cp "$XDG_CONFIG_HOME/plasma-org.kde.plasma.desktop-appletsrc.acp" "$XDG_CONFIG_HOME/plasma-org.kde.plasma.desktop-appletsrc" -fi +plasma-apply-colorscheme BreezeDark +plasma-apply-cursortheme breeze_cursors +plasma-apply-desktoptheme default plasma-apply-wallpaperimage "$XDG_DATA_HOME/wallpaper.svg" kwriteconfig5 --file kdeglobals --group KDE --key SingleClick false kwriteconfig5 --file kwinrc --group NightColor --key Active true @@ -41,5 +38,4 @@ kwriteconfig5 --file keepassxc/keepassxc.ini --group GUI --key ApplicationTheme kwriteconfig5 --file keepassxc/keepassxc.ini --group SSHAgent --key Enabled true # Restart some applications. -qdbus org.kde.KWin /KWin reconfigure qdbus org.kde.plasmashell /PlasmaShell refreshCurrentShell diff --git a/roles/home-gui/files/plasma-org.kde.plasma.desktop-appletsrc b/roles/home-gui/files/plasma-org.kde.plasma.desktop-appletsrc deleted file mode 100644 index 6384032..0000000 --- a/roles/home-gui/files/plasma-org.kde.plasma.desktop-appletsrc +++ /dev/null @@ -1,56 +0,0 @@ -[ActionPlugins][0] -MiddleButton;NoModifier=org.kde.paste -RightButton;NoModifier=org.kde.contextmenu -wheel:Vertical;NoModifier= - -[ActionPlugins][1] -RightButton;NoModifier=org.kde.contextmenu - -[Containments][1] -activityId= -formfactor=2 -immutability=1 -lastScreen=0 -location=4 -plugin=org.kde.panel -wallpaperplugin=org.kde.image - -[Containments][1][Applets][1] -immutability=1 -plugin=org.kde.plasma.kickoff - -[Containments][1][Applets][1][Configuration][Shortcuts] -global=Alt+F1 - -[Containments][1][Applets][2] -immutability=1 -plugin=org.kde.plasma.pager - -[Containments][1][Applets][3] -immutability=1 -plugin=org.kde.plasma.icontasks - -[Containments][1][Applets][3][Configuration][General] -launchers=applications:org.kde.konsole.desktop,applications:org.kde.dolphin.desktop,applications:firefox-esr.desktop,applications:org.keepassxc.KeePassXC.desktop - -[Containments][1][Applets][4] -immutability=1 -plugin=org.kde.plasma.marginsseparator - -[Containments][1][Applets][5] -immutability=1 -plugin=org.kde.plasma.systemtray - -[Containments][1][Applets][6] -immutability=1 -plugin=org.kde.plasma.digitalclock - -[Containments][1][Applets][6][Configuration][Appearance] -dateFormat=isoDate - -[Containments][1][Applets][7] -immutability=1 -plugin=org.kde.plasma.showdesktop - -[Containments][1][General] -AppletOrder=1;2;3;4;5;6;7 diff --git a/roles/home-gui/tasks/kde.yml b/roles/home-gui/tasks/kde.yml index 99ee4ff..2020926 100644 --- a/roles/home-gui/tasks/kde.yml +++ b/roles/home-gui/tasks/kde.yml @@ -27,7 +27,3 @@ dest: "{{ ansible_env.HOME }}/.local/bin/reset-kde-setup" mode: '0755' when: usr_bin_plasmashell.stat.exists or usr_local_bin_plasmashell.stat.exists -- name: Create $XDG_CONFIG_HOME/plasma-org.kde.plasma.desktop-appletsrc.acp - ansible.builtin.copy: - src: "plasma-org.kde.plasma.desktop-appletsrc" - dest: "{{ ansible_env.XDG_CONFIG_HOME }}/plasma-org.kde.plasma.desktop-appletsrc.acp"