klassy-settings command supports several command-line options for automation, scripting, and headless configuration management.
Display Help
View all available command-line options:Version Information
Display the Klassy version:Import Preset
Import a Klassy preset file (.klpw) into your preset library without launching the GUI.
Basic Import
Import Behavior
File validation
The preset file is validated to ensure it’s a valid Klassy Preset with the correct structure
Name conflict handling
If a preset with the same name exists, you’ll be prompted whether to overwrite (when using GUI)When using CLI, the import will fail with an error message
Force Import from Different Version
If you’re importing a preset created for a different Klassy version, use the force flag:Forcing import of presets from different versions may result in missing or incompatible settings. Use with caution.
Import Error Messages
Success Message
On successful import:Load Preset
Load and apply a window decoration preset from your library by name.Basic Usage
Load Behavior
Import bundled presets
Bundled presets are automatically imported/updated to ensure they’re available
Validate preset exists
The command checks that the named preset exists in
~/.config/klassy/windecopresetsrcReload KWin
KWin configuration is reloaded via D-Bus to apply window border and button layout changes
Examples
Available Built-in Presets
Some of the bundled presets you can load:Kite- Default pragmatic themeKite Light- Light variant of KiteClassiK v3- Full-height rounded rectanglesClassikStyles- Rectangle button highlightsClassik-Aurorae- Circular button highlightsGlassy Klassy- Translucent glass effectChroma- Colorful accentsOpal Fruits- Vibrant colorsKDE1- Classic KDE 1 styleKlasse- KDE 1 inspired
To see all available presets, open the Presets dialog in the klassy-settings GUI.
Error Messages
Success Message
Generate System Icons
Regenerate theklassy and klassy-dark system icon themes based on current settings.
Basic Usage
What It Does
Read current settings
Loads button icon style and color configuration from
~/.config/klassy/klassyrcGenerate icon theme directories
Creates/updates icon theme directories:
~/.local/share/icons/klassy/~/.local/share/icons/klassy-dark/
Render window control icons
Generates SVG icons for all window controls:
window-close,window-minimize,window-maximizewindow-restore,window-keep-above,window-keep-belowwindow-shade,window-unshadeapplication-menu- Plus
-symbolicvariants
Create HiDPI variants
Generates icons at multiple scales (1x, 1.25x, 1.5x, 1.75x, 2x, 2.25x, 2.5x, 2.75x, 3x)
When to Use
Regenerate system icons when:- You’ve changed the button icon style in Klassy Settings
- You’ve modified button colors
- Icons appear outdated or incorrect in menus/GTK applications
- After manually editing configuration files
Icon generation is automatically triggered when loading a preset with
--load-windeco-preset, so manual generation is only needed if you change settings without loading a preset.Success Message
Combining Options
You can combine certain options in a single command:When combining options, they are processed in order: import → load → generate icons.
Scripting Examples
Automated Theme Switching
Batch Import Presets
Reset to Defaults
Exit Codes
The command returns standard exit codes:0- Success1- Error occurred (invalid file, preset not found, etc.)