fix: add KWin dock force-hide workaround

This commit is contained in:
droid
2026-03-23 17:31:06 +08:00
parent f0ced79af7
commit 58cdc7a04f
7 changed files with 317 additions and 2 deletions

View File

@@ -4,5 +4,8 @@ systemctl --user disable --now plasma-dock-autofit.path plasma-dock-autofit.serv
rm -f "$HOME/.config/systemd/user/plasma-dock-autofit.path" "$HOME/.config/systemd/user/plasma-dock-autofit.service"
rm -f "$HOME/.local/bin/recalc-plasma-bottom-docks.sh"
rm -rf "$HOME/.config/panel-colorizer/presets/LogicDock"
kwriteconfig6 --file "$HOME/.config/kwinrc" --group Plugins --key manjaro_dock_force_hideEnabled false
kpackagetool6 --type KWin/Script --remove manjaro_dock_force_hide >/dev/null 2>&1 || true
systemctl --user daemon-reload
echo 'Removed auto-fit service, script and custom preset.'
qdbus6 org.kde.KWin /KWin reconfigure >/dev/null 2>&1 || true
echo 'Removed auto-fit service, custom preset and KWin dock force-hide workaround.'