How itsabigigloo/caelestia-sddm works
Purpose and Runtime
Caelestia SDDM is a Qt 6/QML theme repository for the SDDM display manager, providing three alternative login interfaces integrated with Caelestia Shell. It is not a standalone application or server: SDDM discovers a selected theme through its metadata and loads its QML entry point. Required runtime capabilities include Qt declarative, Qt 5 compatibility, SVG support, installed fonts/icons, and optionally Caelestia Shell for synchronized wallpaper and dynamic colors.
Theme Packages and Entry Points
Each theme is a self-contained SDDM package with metadata, configurable theme settings, and a root QML scene:
• Locklike: themes/locklike/Main.qml, themes/locklike/metadata.desktop, themes/locklike/theme.conf
• Minimalist: themes/minimalist/Main.qml, themes/minimalist/metadata.desktop, themes/minimalist/theme.conf
• MinimalistV2: themes/minimalistV2/Main.qml, themes/minimalistV2/metadata.desktop, themes/minimalistV2/theme.conf
theme.conf.template files alongside each package provide templatable configuration, likely used by installation/synchronization workflows rather than the QML runtime directly.
Login Interaction Layer
The root scenes compose user-facing authentication UI around SDDM-provided login/session/power interfaces. Password entry, account presentation, session choice, and shutdown/restart controls are separated into reusable QML components:
• themes/locklike/components/PasswordInput.qml
• themes/locklike/components/SessionPicker.qml
• themes/minimalistV2/components/LoginCard.qml
• themes/minimalist/components/PowerButton.qml
The important boundary is QML-to-SDDM: visual components collect user input and invoke display-manager authentication/session actions; credential validation and session startup remain SDDM responsibilities.
Shared Visual Composition
Each theme owns its components rather than importing a repository-wide design system. Locklike centers its composition on clock, greeting, avatar, quotes, system buttons, and Caelestia-specific widgets:
• themes/locklike/components/MainClock.qml
• themes/locklike/components/RandomQuote.qml
• themes/locklike/widgets/CaelestiaFetch.qml
Minimalist and MinimalistV2 use login-card-oriented compositions, with V2 adding blur and interaction animation:
• themes/minimalist/components/ToastMessage.qml
• themes/minimalistV2/components/BlurWrapper.qml
• themes/minimalistV2/components/TapBounce.qml
Dynamic Appearance and Caelestia Boundary
The repository’s intended integration boundary is Caelestia Shell: dynamic wallpaper-driven colors and wallpaper synchronization depend on that external desktop ecosystem. Themes should still render elsewhere, but lose those dynamic inputs. Minimalist variants expose a QML singleton for theme-wide state and styling:
• themes/minimalist/singletons/Theme.qml
• themes/minimalistV2/singletons/Theme.qml
• themes/minimalistV2/singletons/qmldir
Locklike additionally contains layer-state and blur abstractions for coordinated visual state:
• themes/locklike/components/LayerState.qml
• themes/locklike/components/BlurWrapper.qml
Custom Shape Rendering
Locklike and MinimalistV2 embed a Material-style shape/morph rendering stack. ShapeCanvas.qml is the QML rendering boundary; JavaScript modules implement geometry, path features, polygon operations, and morphing:
• themes/locklike/components/shapes/ShapeCanvas.qml
• themes/locklike/components/shapes/material-shapes.js
• themes/minimalistV2/components/shapes/shapes/morph.js
This duplicated subsystem lets each package render animated/custom shapes independently, avoiding cross-theme runtime dependencies.
Delivery and Operations
Shell scripts drive installation, removal, theme/config synchronization, permission/avatar fixes, and monitor-related setup:
• scripts/install.sh
• scripts/sync.sh
• scripts/uninstall.sh
Arch packaging is maintained separately through aur/PKGBUILD and aur/caelestia-sddm.install. The practical deployment flow is package or script installation into SDDM’s theme location, then SDDM configuration selects one theme package; Caelestia synchronization can update its dynamic assets/configuration afterward.
Main entry points: locklike/Main.qml Locklike scene · minimalistV2/Main.qml MinimalistV2 scene · minimalist/Main.qml Minimalist scene · install.sh Install and sync scripts
Components 18
Theme packages
Independent SDDM theme implementations.
- Locklike scene · Lock-screen-inspired login interface.
themes/locklike/Main.qml - Locklike package metadata
themes/locklike/metadata.desktop - Locklike login controls · Password and session-selection UI.
themes/locklike/components/PasswordInput.qml - Locklike visual widgets · Clock, quotes, avatar, and Caelestia-facing widgets.
themes/locklike/components/MainClock.qml - Locklike layer effects · Coordinates layer state and blur.
themes/locklike/components/LayerState.qml - Locklike shape renderer · Canvas boundary backed by Material shape geometry.
themes/locklike/components/shapes/ShapeCanvas.qml - Minimalist scene · Login-card-oriented interface.
themes/minimalist/Main.qml - Minimalist theme state · Theme-wide styling and dynamic appearance state.
themes/minimalist/singletons/Theme.qml - Minimalist controls · Includes power actions and toast feedback.
themes/minimalist/components/PowerButton.qml - MinimalistV2 scene · Animated login-card interface.
themes/minimalistV2/Main.qml - MinimalistV2 theme state · Registered singleton for shared styling state.
themes/minimalistV2/singletons/qmldir - MinimalistV2 login card · Collects account and password input.
themes/minimalistV2/components/LoginCard.qml - MinimalistV2 effects · Blur and tap-bounce interaction effects.
themes/minimalistV2/components/BlurWrapper.qml - MinimalistV2 shape morphing · Independent custom-shape morph subsystem.
themes/minimalistV2/components/shapes/shapes/morph.js
Runtime integrations
External systems that load or enrich themes.
- SDDM display manager · Discovers the selected package and owns authentication and session startup.
- Caelestia Shell · Optionally supplies synchronized wallpaper and dynamic colors.
Delivery and operations
Installation and synchronization tooling.
- Install and sync scripts · Installs, removes, and synchronizes themes and assets.
scripts/install.sh - Arch package recipe · Packages the themes for Arch-based installation.
aur/PKGBUILD
Connections 23
- SDDM display manager → Locklike package metadata: discovers
- SDDM display manager → Locklike scene: loads selected entry
- SDDM display manager → Minimalist scene: loads selected entry
- SDDM display manager → MinimalistV2 scene: loads selected entry
- Locklike scene → Locklike login controls: composes
- Locklike scene → Locklike visual widgets: composes
- Locklike scene → Locklike layer effects: uses
- Locklike scene → Locklike shape renderer: renders through
- Locklike login controls → SDDM display manager: invokes login and session actions
- Minimalist scene → Minimalist theme state: uses
- Minimalist scene → Minimalist controls: composes
- Minimalist controls → SDDM display manager: invokes power actions
- MinimalistV2 scene → MinimalistV2 theme state: imports
- MinimalistV2 scene → MinimalistV2 login card: composes
- MinimalistV2 scene → MinimalistV2 effects: uses
- MinimalistV2 scene → MinimalistV2 shape morphing: renders through
- MinimalistV2 login card → SDDM display manager: invokes authentication
- Caelestia Shell → Locklike scene: supplies dynamic appearance
- Caelestia Shell → Minimalist theme state: supplies dynamic appearance
- Caelestia Shell → MinimalistV2 theme state: supplies dynamic appearance
- Install and sync scripts → SDDM display manager: installs themes for
- Install and sync scripts → Caelestia Shell: synchronizes assets with
- Arch package recipe → Install and sync scripts: deploys alongside