Stop trying to set Plasma widgets

This commit is contained in:
Anthony Rose 2023-10-17 15:10:41 +01:00
parent 3f9cee724f
commit 3f3cdcf235
3 changed files with 3 additions and 67 deletions

View file

@ -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

View file

@ -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

View file

@ -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"