From kde-plasma
Back up and restore Plasma panel and desktop layout — the configuration that defines panels, applets on those panels, screen edges, and widget positions. Use before risky theme/layout changes or to clone setup across machines.
npx claudepluginhub danielrosehill/claude-code-plugins --plugin kde-plasmaThis skill uses the workspace's default tool permissions.
Plasma's panel/desktop layout lives primarily in:
Guides Next.js Cache Components and Partial Prerendering (PPR): 'use cache' directives, cacheLife(), cacheTag(), revalidateTag() for caching, invalidation, static/dynamic optimization. Auto-activates on cacheComponents: true.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Share bugs, ideas, or general feedback.
Plasma's panel/desktop layout lives primarily in:
~/.config/plasma-org.kde.plasma.desktop-appletsrc — panels, containments, applets, their positions and config.~/.config/plasmashellrc — plasmashell preferences.~/.config/plasmarc — global Plasma settings.~/.config/kwinrc — window manager config (often paired with layout changes).Snapshot to the plugin data dir, timestamped:
DATA="${CLAUDE_USER_DATA:-${XDG_DATA_HOME:-$HOME/.local/share}/claude-plugins}/kde-plasma/data/panel-layouts"
mkdir -p "$DATA"
TS=$(date +%Y%m%d-%H%M%S)
DEST="$DATA/$TS"
mkdir -p "$DEST"
for f in plasma-org.kde.plasma.desktop-appletsrc plasmashellrc plasmarc kwinrc kglobalshortcutsrc; do
[ -f "$HOME/.config/$f" ] && cp -a "$HOME/.config/$f" "$DEST/"
done
echo "Backed up to $DEST"
# Stop plasmashell first so it doesn't overwrite on exit
kquitapp6 plasmashell
sleep 1
cp -a "$DEST"/*rc "$HOME/.config/"
kstart plasmashell
plasmashell is running will be silently undone.~/.config/kdeglobals and ~/.local/share/plasma/.diff -ru <old>/ <new>/.