Skip to main content

Catdot Profiles

Catdot switches complete CatOS user-configuration Profiles. In the current CatOS package repositories, Niri + DMS, Niri + Noctalia, Sway, Labwc and Wayfire use it to deliver desktop packages and HOME configuration as one maintainable unit.

What a Profile contains​

A Profile declares exact Pacman package names, HOME-relative paths that remain managed by Catdot, and one-time seed configuration.

Managed content is refreshed when the Profile is selected or explicitly updated. Seed content establishes the initial state only and remains user-owned afterwards.

Inspect and select Profiles​

catdot list
catdot current
catdot show catos-niri-dms

Before switching, preview the planned operation:

catdot plan catos-niri-dms

plan previews packages to install, configuration paths to write or remove, and existing files that might be replaced. It only generates a plan; it does not install packages or modify user configuration.

Other applications can consume structured JSON results:

catdot list --json
catdot current --json
catdot show catos-niri-dms --json
catdot plan catos-niri-dms --json

CatOS Hello uses these interfaces for desktop Profile previews; see the CatOS Hello guide.

Select Niri + DMS:

catdot select catos-niri-dms

Select Niri + Noctalia:

catdot select catos-niri-noctalia

catdot select installs declared packages through Pacman by default. When an installer has already deployed packages, use:

catdot select PROFILE --packages=verify

This verifies that every declared package is present without invoking sudo pacman again.

A complete desktop Profile switch normally requires logging out and back in. Catdot does not restart running desktop components, applications or services.

Accept a newer Profile revision​

A normal system package upgrade does not silently replace the accepted Profile configuration. Refresh Profiles explicitly with:

catdot update

Or update one Profile:

catdot update catos-niri-dms

If the Profile is active, Catdot backs up the old managed content and applies the new revision. Updating an inactive Profile does not switch to it or change the HOME configuration currently in use.

Backups​

Before deleting or replacing an existing HOME target, Catdot stores the previous content under:

~/.local/state/catdot/backups/<operation>/home/...

The five most recent backup generations are retained.

Catdot currently has no automatic rollback command. Restore files manually from the relevant backup generation when needed. If an underlying filesystem error interrupts an operation, fix that error first and then rerun the command.

Remove Profiles and prune packages​

Forget an inactive Profile with:

catdot remove PROFILE

remove deletes Catdot state and cached content but does not uninstall packages.

To remove direct packages that were originally introduced by Catdot and are no longer referenced by any retained Profile:

catdot prune

Pacman still calculates the final dependency closure and asks for confirmation. Packages that were already installed before Catdot first requested them are never added to the prune set.

Multi-user systems

Catdot package ownership is per-user and is not combined into a system-wide reference database. Do not independently use catdot prune from multiple user accounts to manage one shared package set.

Command reference​

catdot list [--json]
catdot show PROFILE [--json]
catdot current [--json]
catdot plan PROFILE [--json]
catdot select PROFILE [--packages=install|verify]
catdot update [PROFILE]
catdot remove PROFILE
catdot prune
catdot validate PROFILE_ROOT