# erickm13/salchipapa-shell architecture

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

- Interactive diagram: https://gitdiagram.com/erickm13/salchipapa-shell
- Repository: https://github.com/erickm13/salchipapa-shell

## Overview

Salchipapa-Shell is a Hyprland desktop configuration paired with a modular Quickshell interface. The main user workflow is starting the configured session, where Hyprland loads its Lua settings and starts Quickshell; users then access launcher, controls, settings, and utilities through the shell. Additional documented capabilities include lock and boot-theme management, wallpaper and color-theme selection, shortcut glossary, and screen capture/recording. The graph follows README-described relationships; unsampled implementation details are represented only at supported directory paths.

Main entry points: [`shell/themes`](https://github.com/erickm13/salchipapa-shell/tree/main/shell/themes) (Theme palettes), [`hyprland.lua`](https://github.com/erickm13/salchipapa-shell/blob/main/hyprland.lua) (Hyprland config), [`shell/shell.qml`](https://github.com/erickm13/salchipapa-shell/blob/main/shell/shell.qml) (Quickshell entry), [`shell/designs/Settings.qml`](https://github.com/erickm13/salchipapa-shell/blob/main/shell/designs/Settings.qml) (Shell settings)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_session["Desktop session"]
  node_hypr["Hyprland config<br/>[hyprland.lua]"]
  node_lua_settings["Session settings"]
  node_session_env["Session environment"]
end

subgraph group_shell["Quickshell interface"]
  node_quickshell["Quickshell entry<br/>[shell.qml]"]
  node_shell_designs["Island and panels"]
  node_shell_services["System services"]
  node_shell_common["Shared components"]
  node_settings_ui["Shell settings<br/>[Settings.qml]"]
  node_lock["Lock screen<br/>[LockScreen.qml]"]
end

subgraph group_themes["Themes and wallpaper"]
  node_theme_files["Theme palettes"]
  node_wallpapers["Wallpapers"]
  node_boot_themes["Boot themes"]
  node_theme_apply["Theme application<br/>[apply-colors.sh]"]
  node_animated["Animated wallpaper"]
  node_animated_classify["Wallpaper classifier"]
end

subgraph group_utilities["Shell utilities"]
  node_glossary["Shortcut glossary<br/>[BindsContent.qml]"]
  node_app_bindings["App shortcuts<br/>[app-keybinds.py]"]
  node_vscode_bindings["VS Code shortcuts<br/>[vscode-keybinds.py]"]
  node_screen_tools["Capture and record"]
  node_theme_builder["Theme generators<br/>[build-schemes.py]"]
  node_bat_builder["bat theme builder<br/>[build-bat-theme.py]"]
  node_browser_themes["Surfingkeys themes<br/>[surfingkeys.js]"]
end

node_user(("Desktop user"))

node_user -->|"starts session"| node_hypr
node_hypr -->|"loads modules"| node_lua_settings
node_hypr -->|"starts shell"| node_quickshell
node_user -->|"uses interface"| node_quickshell
node_quickshell -->|"mounts design"| node_shell_designs
node_quickshell -->|"uses shared parts"| node_shell_common
node_shell_designs -->|"uses shared services"| node_shell_services
node_user -->|"configures shell"| node_settings_ui
node_user -->|"locks session"| node_lock
node_user -->|"chooses theme"| node_theme_files
node_user -->|"chooses wallpaper"| node_wallpapers
node_settings_ui -->|"selects boot theme"| node_boot_themes
node_settings_ui -->|"browses animations"| node_animated
node_animated_classify -->|"lists wallpapers"| node_animated
node_animated_classify -->|"scores palettes"| node_theme_files
node_user -->|"opens glossary"| node_glossary
node_glossary -->|"loads app bindings"| node_app_bindings
node_glossary -->|"loads VS Code bindings"| node_vscode_bindings
node_user -->|"captures or records"| node_screen_tools
node_theme_builder -->|"writes palettes"| node_theme_files
node_bat_builder -->|"builds syntax themes"| node_theme_files
node_user -.->|"uses browser theme"| node_browser_themes
node_theme_apply -.->|"applies colors"| node_theme_files
node_hypr -.->|"uses session environment"| node_session_env

click node_hypr "https://github.com/erickm13/salchipapa-shell/blob/main/hyprland.lua"
click node_lua_settings "https://github.com/erickm13/salchipapa-shell/tree/main/lua"
click node_session_env "https://github.com/erickm13/salchipapa-shell/blob/main/uwsm/env"
click node_quickshell "https://github.com/erickm13/salchipapa-shell/blob/main/shell/shell.qml"
click node_shell_designs "https://github.com/erickm13/salchipapa-shell/tree/main/shell/designs"
click node_shell_services "https://github.com/erickm13/salchipapa-shell/tree/main/shell/services"
click node_shell_common "https://github.com/erickm13/salchipapa-shell/tree/main/shell/common"
click node_settings_ui "https://github.com/erickm13/salchipapa-shell/blob/main/shell/designs/Settings.qml"
click node_lock "https://github.com/erickm13/salchipapa-shell/blob/main/shell/services/LockScreen.qml"
click node_theme_files "https://github.com/erickm13/salchipapa-shell/tree/main/shell/themes"
click node_wallpapers "https://github.com/erickm13/salchipapa-shell/tree/main/wallpapers"
click node_boot_themes "https://github.com/erickm13/salchipapa-shell/tree/main/grub/themes"
click node_theme_apply "https://github.com/erickm13/salchipapa-shell/blob/main/scripts/apply-colors.sh"
click node_animated "https://github.com/erickm13/salchipapa-shell/blob/main/scripts/animated-wallpaper.sh"
click node_animated_classify "https://github.com/erickm13/salchipapa-shell/blob/main/scripts/classify-animated.py"
click node_glossary "https://github.com/erickm13/salchipapa-shell/blob/main/shell/designs/BindsContent.qml"
click node_app_bindings "https://github.com/erickm13/salchipapa-shell/blob/main/scripts/app-keybinds.py"
click node_vscode_bindings "https://github.com/erickm13/salchipapa-shell/blob/main/scripts/vscode-keybinds.py"
click node_screen_tools "https://github.com/erickm13/salchipapa-shell/tree/main/scripts"
click node_theme_builder "https://github.com/erickm13/salchipapa-shell/blob/main/scripts/build-schemes.py"
click node_bat_builder "https://github.com/erickm13/salchipapa-shell/blob/main/scripts/build-bat-theme.py"
click node_browser_themes "https://github.com/erickm13/salchipapa-shell/blob/main/shell/themes/gentleman-kanagawa-blur/surfingkeys.js"

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_hypr,node_lua_settings,node_session_env,node_user toneBlue
class node_quickshell,node_shell_designs,node_shell_services,node_shell_common,node_settings_ui,node_lock toneAmber
class node_theme_files,node_wallpapers,node_boot_themes,node_theme_apply,node_animated,node_animated_classify toneMint
class node_glossary,node_app_bindings,node_vscode_bindings,node_screen_tools,node_theme_builder,node_bat_builder,node_browser_themes toneRose
```

## Components

### Desktop session

- [Hyprland config](https://github.com/erickm13/salchipapa-shell/blob/main/hyprland.lua): `hyprland.lua`
- [Session settings](https://github.com/erickm13/salchipapa-shell/tree/main/lua): `lua`
- [Session environment](https://github.com/erickm13/salchipapa-shell/blob/main/uwsm/env): `uwsm/env`

### Quickshell interface

- [Quickshell entry](https://github.com/erickm13/salchipapa-shell/blob/main/shell/shell.qml): `shell/shell.qml`
- [Island and panels](https://github.com/erickm13/salchipapa-shell/tree/main/shell/designs): `shell/designs`
- [System services](https://github.com/erickm13/salchipapa-shell/tree/main/shell/services): `shell/services`
- [Shared components](https://github.com/erickm13/salchipapa-shell/tree/main/shell/common): `shell/common`
- [Shell settings](https://github.com/erickm13/salchipapa-shell/blob/main/shell/designs/Settings.qml): `shell/designs/Settings.qml`
- [Lock screen](https://github.com/erickm13/salchipapa-shell/blob/main/shell/services/LockScreen.qml): `shell/services/LockScreen.qml`

### Themes and wallpaper

- [Theme palettes](https://github.com/erickm13/salchipapa-shell/tree/main/shell/themes): `shell/themes`
- [Wallpapers](https://github.com/erickm13/salchipapa-shell/tree/main/wallpapers): `wallpapers`
- [Boot themes](https://github.com/erickm13/salchipapa-shell/tree/main/grub/themes): `grub/themes`
- [Theme application](https://github.com/erickm13/salchipapa-shell/blob/main/scripts/apply-colors.sh): `scripts/apply-colors.sh`
- [Animated wallpaper](https://github.com/erickm13/salchipapa-shell/blob/main/scripts/animated-wallpaper.sh): `scripts/animated-wallpaper.sh`
- [Wallpaper classifier](https://github.com/erickm13/salchipapa-shell/blob/main/scripts/classify-animated.py): `scripts/classify-animated.py`

### Shell utilities

- [Shortcut glossary](https://github.com/erickm13/salchipapa-shell/blob/main/shell/designs/BindsContent.qml): `shell/designs/BindsContent.qml`
- [App shortcuts](https://github.com/erickm13/salchipapa-shell/blob/main/scripts/app-keybinds.py): `scripts/app-keybinds.py`
- [VS Code shortcuts](https://github.com/erickm13/salchipapa-shell/blob/main/scripts/vscode-keybinds.py): `scripts/vscode-keybinds.py`
- [Capture and record](https://github.com/erickm13/salchipapa-shell/tree/main/scripts): `scripts`
- [Theme generators](https://github.com/erickm13/salchipapa-shell/blob/main/scripts/build-schemes.py): `scripts/build-schemes.py`
- [bat theme builder](https://github.com/erickm13/salchipapa-shell/blob/main/scripts/build-bat-theme.py): `scripts/build-bat-theme.py`
- [Surfingkeys themes](https://github.com/erickm13/salchipapa-shell/blob/main/shell/themes/gentleman-kanagawa-blur/surfingkeys.js): `shell/themes/gentleman-kanagawa-blur/surfingkeys.js`

### Other components

- **Desktop user**

## Connections

- Desktop user → Hyprland config: starts session (evidence: `README.md`)
- Hyprland config → Session settings: loads modules (evidence: `README.md`)
- Hyprland config → Quickshell entry: starts shell (evidence: `README.md`)
- Desktop user → Quickshell entry: uses interface (evidence: `README.md`)
- Quickshell entry → Island and panels: mounts design (evidence: `README.md`)
- Quickshell entry → Shared components: uses shared parts (evidence: `README.md`)
- Island and panels → System services: uses shared services (evidence: `README.md`)
- Desktop user → Shell settings: configures shell (evidence: `README.md`)
- Desktop user → Lock screen: locks session (evidence: `README.md`)
- Desktop user → Theme palettes: chooses theme (evidence: `README.md`)
- Desktop user → Wallpapers: chooses wallpaper (evidence: `README.md`)
- Shell settings → Boot themes: selects boot theme (evidence: `README.md`)
- Shell settings → Animated wallpaper: browses animations (evidence: `README.md`)
- Wallpaper classifier → Animated wallpaper: lists wallpapers (evidence: `scripts/classify-animated.py`)
- Wallpaper classifier → Theme palettes: scores palettes (evidence: `scripts/classify-animated.py`)
- Desktop user → Shortcut glossary: opens glossary (evidence: `README.md`)
- Shortcut glossary → App shortcuts: loads app bindings (evidence: `README.md`)
- Shortcut glossary → VS Code shortcuts: loads VS Code bindings (evidence: `README.md`)
- Desktop user → Capture and record: captures or records (evidence: `README.md`)
- Theme generators → Theme palettes: writes palettes (evidence: `scripts/build-schemes.py`)
- bat theme builder → Theme palettes: builds syntax themes (evidence: `scripts/build-bat-theme.py`)
- Desktop user → Surfingkeys themes: uses browser theme
- Theme application → Theme palettes: applies colors
- Hyprland config → Session environment: uses session environment
