Skip to content

Fix: global theme not appearing in KDE settings#111

Open
Xerrion wants to merge 4 commits intocatppuccin:mainfrom
Xerrion:fix/global-theme-install
Open

Fix: global theme not appearing in KDE settings#111
Xerrion wants to merge 4 commits intocatppuccin:mainfrom
Xerrion:fix/global-theme-install

Conversation

@Xerrion
Copy link
Copy Markdown

@Xerrion Xerrion commented Mar 18, 2026

Summary

  • Add -t Plasma/LookAndFeel to kpackagetool6 so the global theme installs to the correct directory (~/.local/share/plasma/look-and-feel/) instead of the generic packages path. Without -t, kpackagetool6 defaults to KPackage/Generic and the theme never shows up in System Settings > Global Themes.
  • Fall back to -u (upgrade) when reinstalling so kpackagetool6 does not error on an existing package.
  • Remove the now-redundant manual cp -r to $LOOKANDFEELDIR that was a workaround for the broken generic install.
  • Fix cursor reinstall failure by removing existing cursor directories before mv (which cannot overwrite non-empty directories).
  • Update lookandfeeltool to plasma-apply-lookandfeel, the canonical command name in Plasma 6.

Closes #96

Xerrion added 4 commits March 18, 2026 22:21
…h screen

- Fix QML typo: sizes -> size in Splash.qml sourceSize.height
- Fix Macchiato.sed: swap overlay1/overlay2 RGB values (were reversed)
- Reorder overlay entries in Mocha.sed and Frappe.sed for consistency
- Fix Base.colors: replace hardcoded 27,25,35 with $crust placeholder
- Fix Base.colors: remove duplicate ForegroundLink entry
- Fix color-build.sh: use SCRIPT_DIR-relative path for palette lookup
- Fix color-build.sh: exit 1 instead of bare exit on error
- Fix install.sh: add -f flag to splash color-build.sh invocation
- Fix install.sh: mkdir -p for dist directory (idempotent creation)
- Fix install.sh: tar -czf instead of tar -cf for gzip compression
- Fix install.sh: quote sed expression to prevent glob expansion
- Fix install.sh: use $1 instead of $* in check_command_exists
- Fix install.sh: add missing kpackagetool6 and tar dependency checks
- Fix install.sh: exit 1 on invalid window decoration selection
- Fix install.sh: use named variables instead of positional params $2/$3
- Fix install.sh: uncomment splash metadata.desktop/json sed lines
- Fix install.sh: fix debug splash mode directory paths
- Fix install.sh: remove redundant GLOBALTHEMENAME reassignment in debug
- Fix install.sh: normalize all 56 ACCENTCOLOR values with consistent spacing
- Add Resources/plasma-style/ with metadata.json, plasmarc, and colors
  template using the same placeholder system as the color scheme
- Colors file maps all Catppuccin palette roles to KDE color sections
  (Window, Button, View, Selection, Tooltip, Complementary, Header)
- plasmarc enables blur-behind, contrast effect, and adaptive transparency
- Theme inherits all SVGs from Breeze default, which auto-colorize from
  the colors file at runtime
- Add BuildPlasmaStyle and InstallPlasmaStyle functions to install.sh
- Add plasmastyle debug mode
- Update LookAndFeel defaults to reference the Plasma style instead of
  falling back to the system default
# Conflicts:
#	install.sh
Add -t Plasma/LookAndFeel to kpackagetool6 so the theme installs to
the correct directory (~/.local/share/plasma/look-and-feel/) instead of
the generic packages path. Fall back to -u (upgrade) on reinstall.

Remove the now-redundant manual cp -r to LOOKANDFEELDIR.

Also fix cursor reinstall (rm existing dirs before mv) and update
lookandfeeltool to plasma-apply-lookandfeel (canonical Plasma 6 name).

Closes catppuccin#96
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

theme not showing up

1 participant