# lompendans/glacier-os architecture

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

- Interactive diagram: https://gitdiagram.com/lompendans/glacier-os
- Repository: https://github.com/lompendans/glacier-os

## Overview

Glacier OS combines an Arch-based live/installable distribution, the Frost desktop, and floe package management. The main user journey is booting the live ISO into Frost, optionally installing the system, then using Frost and floe on the installed system. The graph preserves the documented installer, bootloader, ISO, desktop, and package-manager capabilities. floe source was sampled; unsampled subsystems and their links are represented only where the README documents them.

Main entry points: [`frost/quickshell/shell.qml`](https://github.com/lompendans/glacier-os/blob/main/frost/quickshell/shell.qml) (Quickshell Shell), [`floe/src/main.rs`](https://github.com/lompendans/glacier-os/blob/main/floe/src/main.rs) (floe Commands), [`installer/glacier-install`](https://github.com/lompendans/glacier-os/blob/main/installer/glacier-install) (Install Backend), [`frost/hypr/hyprland.lua`](https://github.com/lompendans/glacier-os/blob/main/frost/hypr/hyprland.lua) (Hyprland Config)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_image["Live Image"]
  node_iso["Archiso Image<br/>[build.sh]"]
  node_live_setup["Live Setup"]
  node_live_services["Live Services"]
end

subgraph group_desktop["Frost Desktop"]
  node_hyprland["Hyprland Config<br/>[hyprland.lua]"]
  node_shell["Quickshell Shell<br/>[shell.qml]"]
  node_bar["Top Bar<br/>[Bar.qml]"]
  node_dock["Dock<br/>[Dock.qml]"]
  node_launcher["Launcher<br/>[Launcher.qml]"]
  node_control_center["Control Center<br/>[ControlCenter.qml]"]
end

subgraph group_install["System Installation"]
  node_installer_ui["Installer UI<br/>[shell.qml]"]
  node_installer_backend["Install Backend"]
end

subgraph group_packages["Package Management"]
  node_floe_cli["floe Commands<br/>[main.rs]"]
  node_pacman["pacman Wrapper<br/>[pacman.rs]"]
  node_generations[("Generation Store<br/>[gens.rs]")]
  node_terminal_ui["Terminal Output<br/>[ui.rs]"]
end

subgraph group_boot["Boot Experience"]
  node_grub["GRUB Theme<br/>[theme.txt]"]
end

node_user(("User"))
node_pacman_service["pacman"]
node_system_disk[("System Disk")]

node_user -->|"boots live"| node_iso
node_iso -->|"starts setup"| node_live_setup
node_live_setup -->|"uses services"| node_live_services
node_live_services -->|"starts desktop"| node_hyprland
node_hyprland -->|"hosts shell"| node_shell
node_shell -->|"shows"| node_bar
node_shell -->|"shows"| node_dock
node_shell -->|"shows"| node_launcher
node_shell -->|"shows"| node_control_center
node_user -->|"opens installer"| node_installer_ui
node_installer_ui -->|"starts install"| node_installer_backend
node_installer_backend -->|"copies system"| node_system_disk
node_installer_backend -->|"installs bootloader"| node_grub
node_system_disk -->|"starts after login"| node_hyprland
node_user -->|"runs commands"| node_floe_cli
node_floe_cli -->|"queries and mutates"| node_pacman
node_pacman -->|"runs commands"| node_pacman_service
node_floe_cli -->|"records and plans"| node_generations
node_generations -->|"uses package data"| node_pacman
node_floe_cli -->|"prints status"| node_terminal_ui

click node_iso "https://github.com/lompendans/glacier-os/blob/main/iso/build.sh"
click node_live_setup "https://github.com/lompendans/glacier-os/blob/main/iso/airootfs/usr/local/bin/glacier-live-setup"
click node_live_services "https://github.com/lompendans/glacier-os/tree/main/iso/airootfs/etc/systemd/system"
click node_hyprland "https://github.com/lompendans/glacier-os/blob/main/frost/hypr/hyprland.lua"
click node_shell "https://github.com/lompendans/glacier-os/blob/main/frost/quickshell/shell.qml"
click node_bar "https://github.com/lompendans/glacier-os/blob/main/frost/quickshell/Bar.qml"
click node_dock "https://github.com/lompendans/glacier-os/blob/main/frost/quickshell/Dock.qml"
click node_launcher "https://github.com/lompendans/glacier-os/blob/main/frost/quickshell/Launcher.qml"
click node_control_center "https://github.com/lompendans/glacier-os/blob/main/frost/quickshell/ControlCenter.qml"
click node_installer_ui "https://github.com/lompendans/glacier-os/blob/main/installer/ui/shell.qml"
click node_installer_backend "https://github.com/lompendans/glacier-os/blob/main/installer/glacier-install"
click node_grub "https://github.com/lompendans/glacier-os/blob/main/frost/grub/theme.txt"
click node_floe_cli "https://github.com/lompendans/glacier-os/blob/main/floe/src/main.rs"
click node_pacman "https://github.com/lompendans/glacier-os/blob/main/floe/src/pacman.rs"
click node_generations "https://github.com/lompendans/glacier-os/blob/main/floe/src/gens.rs"
click node_terminal_ui "https://github.com/lompendans/glacier-os/blob/main/floe/src/ui.rs"

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_iso,node_live_setup,node_live_services,node_user toneBlue
class node_hyprland,node_shell,node_bar,node_dock,node_launcher,node_control_center,node_system_disk toneAmber
class node_installer_ui,node_installer_backend toneMint
class node_floe_cli,node_pacman,node_generations,node_terminal_ui toneRose
class node_grub,node_pacman_service toneIndigo
```

## Components

### Live Image

- [Archiso Image](https://github.com/lompendans/glacier-os/blob/main/iso/build.sh): `iso/build.sh`
- [Live Setup](https://github.com/lompendans/glacier-os/blob/main/iso/airootfs/usr/local/bin/glacier-live-setup): `iso/airootfs/usr/local/bin/glacier-live-setup`
- [Live Services](https://github.com/lompendans/glacier-os/tree/main/iso/airootfs/etc/systemd/system): `iso/airootfs/etc/systemd/system`

### Frost Desktop

- [Hyprland Config](https://github.com/lompendans/glacier-os/blob/main/frost/hypr/hyprland.lua): `frost/hypr/hyprland.lua`
- [Quickshell Shell](https://github.com/lompendans/glacier-os/blob/main/frost/quickshell/shell.qml): `frost/quickshell/shell.qml`
- [Top Bar](https://github.com/lompendans/glacier-os/blob/main/frost/quickshell/Bar.qml): `frost/quickshell/Bar.qml`
- [Dock](https://github.com/lompendans/glacier-os/blob/main/frost/quickshell/Dock.qml): `frost/quickshell/Dock.qml`
- [Launcher](https://github.com/lompendans/glacier-os/blob/main/frost/quickshell/Launcher.qml): `frost/quickshell/Launcher.qml`
- [Control Center](https://github.com/lompendans/glacier-os/blob/main/frost/quickshell/ControlCenter.qml): `frost/quickshell/ControlCenter.qml`

### System Installation

- [Installer UI](https://github.com/lompendans/glacier-os/blob/main/installer/ui/shell.qml): `installer/ui/shell.qml`
- [Install Backend](https://github.com/lompendans/glacier-os/blob/main/installer/glacier-install): `installer/glacier-install`

### Package Management

- [floe Commands](https://github.com/lompendans/glacier-os/blob/main/floe/src/main.rs): `floe/src/main.rs`
- [pacman Wrapper](https://github.com/lompendans/glacier-os/blob/main/floe/src/pacman.rs): `floe/src/pacman.rs`
- [Generation Store](https://github.com/lompendans/glacier-os/blob/main/floe/src/gens.rs): `floe/src/gens.rs`
- [Terminal Output](https://github.com/lompendans/glacier-os/blob/main/floe/src/ui.rs): `floe/src/ui.rs`

### Boot Experience

- [GRUB Theme](https://github.com/lompendans/glacier-os/blob/main/frost/grub/theme.txt): `frost/grub/theme.txt`

### Other components

- **User**
- **pacman**
- **System Disk**

## Connections

- User → Archiso Image: boots live (evidence: `README.md`)
- Archiso Image → Live Setup: starts setup (evidence: `README.md`)
- Live Setup → Live Services: uses services (evidence: `README.md`)
- Live Services → Hyprland Config: starts desktop (evidence: `README.md`)
- Hyprland Config → Quickshell Shell: hosts shell (evidence: `README.md`)
- Quickshell Shell → Top Bar: shows (evidence: `README.md`)
- Quickshell Shell → Dock: shows (evidence: `README.md`)
- Quickshell Shell → Launcher: shows (evidence: `README.md`)
- Quickshell Shell → Control Center: shows (evidence: `README.md`)
- User → Installer UI: opens installer (evidence: `README.md`)
- Installer UI → Install Backend: starts install (evidence: `README.md`)
- Install Backend → System Disk: copies system (evidence: `README.md`)
- Install Backend → GRUB Theme: installs bootloader (evidence: `README.md`)
- System Disk → Hyprland Config: starts after login (evidence: `README.md`)
- User → floe Commands: runs commands (evidence: `README.md`)
- floe Commands → pacman Wrapper: queries and mutates (evidence: `floe/src/main.rs`)
- pacman Wrapper → pacman: runs commands (evidence: `floe/src/pacman.rs`)
- floe Commands → Generation Store: records and plans (evidence: `floe/src/main.rs`)
- Generation Store → pacman Wrapper: uses package data (evidence: `floe/src/gens.rs`)
- floe Commands → Terminal Output: prints status (evidence: `floe/src/main.rs`)
