# cioyu/cioyu-dotfiles architecture

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

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

## Overview

This repository is a personal Arch Linux configuration bundle. The documented user workflow is to clone it and run either `./install` or `install.sh`; the README does not describe what those entry points install or how the configurations are applied. The tree shows configuration for the Niri desktop, Waybar and other desktop tools, terminal and system information, plus shell helpers. Relationships among those configuration files are therefore not inferred.

Main entry points: [`install`](https://github.com/cioyu/cioyu-dotfiles/blob/main/install) (Install entry point), [`install.sh`](https://github.com/cioyu/cioyu-dotfiles/blob/main/install.sh) (Install script)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_deployment["Installation"]
  node_install["Install entry point"]
  node_install_script["Install script<br/>[install.sh]"]
end

subgraph group_desktop["Desktop"]
  node_niri["Niri compositor<br/>[config.kdl]"]
  node_waybar["Waybar status bar<br/>[config.jsonc]"]
  node_waybar_style["Waybar styling<br/>[style.css]"]
  node_power_menu["Power menu<br/>[power_menu.xml]"]
  node_record["Recording helper<br/>[record.sh]"]
  node_mako["Mako notifications"]
  node_cursor_theme["Cursor theme<br/>[index.theme]"]
  node_cursor_assets["Cursor assets"]
end

subgraph group_terminal["Terminal and status"]
  node_kitty["Kitty terminal<br/>[kitty.conf]"]
  node_fastfetch["Fastfetch configuration<br/>[config.jsonc]"]
  node_neko_fetch["Neko fetch script<br/>[neko-fetch.sh]"]
end

subgraph group_shell["Shell and environment"]
  node_shell_fonts["Font helper<br/>[fonts.sh]"]
  node_shell_background["Background helper<br/>[setbz.sh]"]
  node_environment["Environment configuration<br/>[im.conf]"]
  node_bashrc["Bash configuration<br/>[.bashrc]"]
end

node_user(("Arch user"))

node_user -->|"runs"| node_install
node_user -->|"runs"| node_install_script

click node_install "https://github.com/cioyu/cioyu-dotfiles/blob/main/install"
click node_install_script "https://github.com/cioyu/cioyu-dotfiles/blob/main/install.sh"
click node_niri "https://github.com/cioyu/cioyu-dotfiles/blob/main/niri/config.kdl"
click node_waybar "https://github.com/cioyu/cioyu-dotfiles/blob/main/waybar/config.jsonc"
click node_waybar_style "https://github.com/cioyu/cioyu-dotfiles/blob/main/waybar/style.css"
click node_power_menu "https://github.com/cioyu/cioyu-dotfiles/blob/main/waybar/power_menu.xml"
click node_record "https://github.com/cioyu/cioyu-dotfiles/blob/main/waybar/record.sh"
click node_mako "https://github.com/cioyu/cioyu-dotfiles/blob/main/mako/config"
click node_cursor_theme "https://github.com/cioyu/cioyu-dotfiles/blob/main/cursor/ASUS/index.theme"
click node_cursor_assets "https://github.com/cioyu/cioyu-dotfiles/tree/main/cursor/ASUS/cursors"
click node_kitty "https://github.com/cioyu/cioyu-dotfiles/blob/main/kitty/kitty.conf"
click node_fastfetch "https://github.com/cioyu/cioyu-dotfiles/blob/main/fastfetch/config.jsonc"
click node_neko_fetch "https://github.com/cioyu/cioyu-dotfiles/blob/main/fastfetch/neko-fetch.sh"
click node_shell_fonts "https://github.com/cioyu/cioyu-dotfiles/blob/main/shell/fonts.sh"
click node_shell_background "https://github.com/cioyu/cioyu-dotfiles/blob/main/shell/setbz.sh"
click node_environment "https://github.com/cioyu/cioyu-dotfiles/blob/main/environment.d/im.conf"
click node_bashrc "https://github.com/cioyu/cioyu-dotfiles/blob/main/.bashrc"

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_install,node_install_script,node_user toneBlue
class node_niri,node_waybar,node_waybar_style,node_power_menu,node_record,node_mako,node_cursor_theme,node_cursor_assets toneAmber
class node_kitty,node_fastfetch,node_neko_fetch toneMint
class node_shell_fonts,node_shell_background,node_environment,node_bashrc toneRose
```

## Components

### Installation

- [Install entry point](https://github.com/cioyu/cioyu-dotfiles/blob/main/install): `install`
- [Install script](https://github.com/cioyu/cioyu-dotfiles/blob/main/install.sh): `install.sh`

### Desktop

- [Niri compositor](https://github.com/cioyu/cioyu-dotfiles/blob/main/niri/config.kdl): `niri/config.kdl`
- [Waybar status bar](https://github.com/cioyu/cioyu-dotfiles/blob/main/waybar/config.jsonc): `waybar/config.jsonc`
- [Waybar styling](https://github.com/cioyu/cioyu-dotfiles/blob/main/waybar/style.css): `waybar/style.css`
- [Power menu](https://github.com/cioyu/cioyu-dotfiles/blob/main/waybar/power_menu.xml): `waybar/power_menu.xml`
- [Recording helper](https://github.com/cioyu/cioyu-dotfiles/blob/main/waybar/record.sh): `waybar/record.sh`
- [Mako notifications](https://github.com/cioyu/cioyu-dotfiles/blob/main/mako/config): `mako/config`
- [Cursor theme](https://github.com/cioyu/cioyu-dotfiles/blob/main/cursor/ASUS/index.theme): `cursor/ASUS/index.theme`
- [Cursor assets](https://github.com/cioyu/cioyu-dotfiles/tree/main/cursor/ASUS/cursors): `cursor/ASUS/cursors`

### Terminal and status

- [Kitty terminal](https://github.com/cioyu/cioyu-dotfiles/blob/main/kitty/kitty.conf): `kitty/kitty.conf`
- [Fastfetch configuration](https://github.com/cioyu/cioyu-dotfiles/blob/main/fastfetch/config.jsonc): `fastfetch/config.jsonc`
- [Neko fetch script](https://github.com/cioyu/cioyu-dotfiles/blob/main/fastfetch/neko-fetch.sh): `fastfetch/neko-fetch.sh`

### Shell and environment

- [Font helper](https://github.com/cioyu/cioyu-dotfiles/blob/main/shell/fonts.sh): `shell/fonts.sh`
- [Background helper](https://github.com/cioyu/cioyu-dotfiles/blob/main/shell/setbz.sh): `shell/setbz.sh`
- [Environment configuration](https://github.com/cioyu/cioyu-dotfiles/blob/main/environment.d/im.conf): `environment.d/im.conf`
- [Bash configuration](https://github.com/cioyu/cioyu-dotfiles/blob/main/.bashrc): `.bashrc`

### Other components

- **Arch user**

## Connections

- Arch user → Install entry point: runs (evidence: `README.md`)
- Arch user → Install script: runs (evidence: `README.md`)
