# speyll/dotfiles architecture

> Architecture diagram of the GitHub repository speyll/dotfiles, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-09). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/speyll/dotfiles
- Repository: https://github.com/speyll/dotfiles

## Overview

This is a personal Unix dotfiles repository: it configures a Wayland desktop and supplies scripts for launching and using it. The main documented workflow is launching a compositor with `start-comp`, then using configured keybindings to open a terminal or launcher. Other documented branches cover audio, notifications, media, editing, and color themes. The tree identifies their configuration paths, but no source excerpts were provided, so links beyond those stated in the README are omitted.

Main entry points: [`.local/bin/start-comp`](https://github.com/speyll/dotfiles/blob/main/.local/bin/start-comp) (Compositor launcher), [`.config/niri/config.kdl`](https://github.com/speyll/dotfiles/blob/main/.config/niri/config.kdl) (Wayland compositor), [`.config/foot/foot.ini`](https://github.com/speyll/dotfiles/blob/main/.config/foot/foot.ini) (Foot terminal), [`.config/fuzzel/fuzzel.ini`](https://github.com/speyll/dotfiles/blob/main/.config/fuzzel/fuzzel.ini) (Fuzzel launcher)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_session["Desktop session"]
  node_start["Compositor launcher<br/>[start-comp]"]
  node_compositor["Wayland compositor<br/>[config.kdl]"]
  node_keybinds["Keybindings<br/>[keybinds.kdl]"]
end

subgraph group_apps["Desktop applications"]
  node_terminal["Foot terminal<br/>[foot.ini]"]
  node_launcher["Fuzzel launcher<br/>[fuzzel.ini]"]
  node_audio["PipeWire audio<br/>[pipewire.conf]"]
  node_notifications["Notifications<br/>[fnott.ini]"]
  node_media["Media player<br/>[mpv.conf]"]
  node_editor["Text editor<br/>[init.lua]"]
end

subgraph group_personalization["Personalization"]
  node_themes["Base16 themes<br/>[config.toml]"]
  node_templates["Application templates<br/>[templates]"]
end

subgraph group_utilities["User utilities"]
  node_screenshot["Screenshot script<br/>[grim-print]"]
  node_clipboard["Clipboard manager<br/>[clip-manager]"]
end

node_user(("User"))

node_user -->|"launches"| node_start
node_start -->|"launches"| node_compositor
node_user -->|"opens by keybind"| node_terminal
node_user -->|"opens by keybind"| node_launcher
node_user -->|"requests capture"| node_screenshot
node_user -->|"opens selector"| node_clipboard

click node_start "https://github.com/speyll/dotfiles/blob/main/.local/bin/start-comp"
click node_compositor "https://github.com/speyll/dotfiles/blob/main/.config/niri/config.kdl"
click node_keybinds "https://github.com/speyll/dotfiles/blob/main/.config/niri/keybinds.kdl"
click node_terminal "https://github.com/speyll/dotfiles/blob/main/.config/foot/foot.ini"
click node_launcher "https://github.com/speyll/dotfiles/blob/main/.config/fuzzel/fuzzel.ini"
click node_audio "https://github.com/speyll/dotfiles/blob/main/.config/pipewire/pipewire.conf"
click node_notifications "https://github.com/speyll/dotfiles/blob/main/.config/fnott/fnott.ini"
click node_media "https://github.com/speyll/dotfiles/blob/main/.config/mpv/mpv.conf"
click node_editor "https://github.com/speyll/dotfiles/blob/main/.config/nvim/init.lua"
click node_themes "https://github.com/speyll/dotfiles/blob/main/.config/flavours/config.toml"
click node_templates "https://github.com/speyll/dotfiles/tree/main/.config/flavours/templates"
click node_screenshot "https://github.com/speyll/dotfiles/blob/main/.local/bin/grim-print"
click node_clipboard "https://github.com/speyll/dotfiles/blob/main/.local/bin/clip-manager"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_start,node_compositor,node_keybinds,node_user toneBlue
class node_terminal,node_launcher,node_audio,node_notifications,node_media,node_editor toneAmber
class node_themes,node_templates toneMint
class node_screenshot,node_clipboard toneRose
```

## Components

### Desktop session

- [Compositor launcher](https://github.com/speyll/dotfiles/blob/main/.local/bin/start-comp): `.local/bin/start-comp`
- [Wayland compositor](https://github.com/speyll/dotfiles/blob/main/.config/niri/config.kdl): `.config/niri/config.kdl`
- [Keybindings](https://github.com/speyll/dotfiles/blob/main/.config/niri/keybinds.kdl): `.config/niri/keybinds.kdl`

### Desktop applications

- [Foot terminal](https://github.com/speyll/dotfiles/blob/main/.config/foot/foot.ini): `.config/foot/foot.ini`
- [Fuzzel launcher](https://github.com/speyll/dotfiles/blob/main/.config/fuzzel/fuzzel.ini): `.config/fuzzel/fuzzel.ini`
- [PipeWire audio](https://github.com/speyll/dotfiles/blob/main/.config/pipewire/pipewire.conf): `.config/pipewire/pipewire.conf`
- [Notifications](https://github.com/speyll/dotfiles/blob/main/.config/fnott/fnott.ini): `.config/fnott/fnott.ini`
- [Media player](https://github.com/speyll/dotfiles/blob/main/.config/mpv/mpv.conf): `.config/mpv/mpv.conf`
- [Text editor](https://github.com/speyll/dotfiles/blob/main/.config/nvim/init.lua): `.config/nvim/init.lua`

### Personalization

- [Base16 themes](https://github.com/speyll/dotfiles/blob/main/.config/flavours/config.toml): `.config/flavours/config.toml`
- [Application templates](https://github.com/speyll/dotfiles/tree/main/.config/flavours/templates): `.config/flavours/templates`

### User utilities

- [Screenshot script](https://github.com/speyll/dotfiles/blob/main/.local/bin/grim-print): `.local/bin/grim-print`
- [Clipboard manager](https://github.com/speyll/dotfiles/blob/main/.local/bin/clip-manager): `.local/bin/clip-manager`

### Other components

- **User**

## Connections

- User → Compositor launcher: launches (evidence: `README.md`)
- Compositor launcher → Wayland compositor: launches (evidence: `README.md`)
- User → Foot terminal: opens by keybind (evidence: `README.md`)
- User → Fuzzel launcher: opens by keybind (evidence: `README.md`)
- User → Screenshot script: requests capture (evidence: `README.md`)
- User → Clipboard manager: opens selector (evidence: `README.md`)
