# gupta-akshay/omarchy-waybar-config architecture

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

- Interactive diagram: https://gitdiagram.com/gupta-akshay/omarchy-waybar-config
- Repository: https://github.com/gupta-akshay/omarchy-waybar-config

## Overview

This repository is a personal Waybar configuration for Omarchy/Hyprland. Waybar presents a core bar layout, with optional modules for media, weather, calendar, network speed, and system monitoring; shell scripts provide the CAVA visualizer, network-speed figures, and optional NVIDIA GPU data. The README documents these responsibilities and several dependencies, but no source excerpts were provided, so internal configuration-loading relationships are not inferred.

Main entry points: [`modules/custom.jsonc`](https://github.com/gupta-akshay/omarchy-waybar-config/blob/main/modules/custom.jsonc) (Custom modules), [`config.jsonc`](https://github.com/gupta-akshay/omarchy-waybar-config/blob/main/config.jsonc) (Bar config), [`modules/core.jsonc`](https://github.com/gupta-akshay/omarchy-waybar-config/blob/main/modules/core.jsonc) (Core modules), [`modules/layout.jsonc`](https://github.com/gupta-akshay/omarchy-waybar-config/blob/main/modules/layout.jsonc) (Module layout)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_bar["Bar configuration"]
  node_main_config["Bar config<br/>[config.jsonc]"]
  node_core["Core modules<br/>[core.jsonc]"]
  node_system["System modules<br/>[system.jsonc]"]
  node_hyprland["Hyprland modules<br/>[hyprland.jsonc]"]
  node_layout["Module layout<br/>[layout.jsonc]"]
end

subgraph group_optional["Optional modules"]
  node_custom["Custom modules<br/>[custom.jsonc]"]
  node_weather["Weather module"]
end

subgraph group_scripts["Helper scripts"]
  node_cava["CAVA wrapper<br/>[cava.sh]"]
  node_netspeed["Network speed<br/>[net_speed.sh]"]
  node_gpu["GPU metrics<br/>[waybar-gpu.sh]"]
end

subgraph group_presentation["Presentation"]
  node_style["Bar styling<br/>[style.css]"]
end

node_waybar(("Waybar"))
node_cava_dep["CAVA"]
node_bc_dep["bc"]
node_gpu_dep["nvidia-smi"]
node_weather_dep["wttrbar"]
node_theme["Omarchy theme assets"]

node_waybar -->|"uses configuration"| node_main_config
node_main_config -->|"defines core layout"| node_core
node_main_config -.->|"uses selected modules"| node_layout
node_core -.->|"includes workspaces"| node_hyprland
node_core -.->|"includes system status"| node_system
node_layout -->|"selects optional modules"| node_custom
node_custom -->|"uses visualizer"| node_cava
node_custom -->|"uses speed script"| node_netspeed
node_custom -->|"uses GPU script"| node_gpu
node_custom -.->|"includes weather"| node_weather
node_cava -->|"streams from"| node_cava_dep
node_netspeed -->|"calculates with"| node_bc_dep
node_gpu -->|"queries metrics"| node_gpu_dep
node_weather -->|"gets weather output"| node_weather_dep
node_style -->|"imports palette"| node_theme

click node_main_config "https://github.com/gupta-akshay/omarchy-waybar-config/blob/main/config.jsonc"
click node_core "https://github.com/gupta-akshay/omarchy-waybar-config/blob/main/modules/core.jsonc"
click node_system "https://github.com/gupta-akshay/omarchy-waybar-config/blob/main/modules/system.jsonc"
click node_hyprland "https://github.com/gupta-akshay/omarchy-waybar-config/blob/main/modules/hyprland.jsonc"
click node_layout "https://github.com/gupta-akshay/omarchy-waybar-config/blob/main/modules/layout.jsonc"
click node_custom "https://github.com/gupta-akshay/omarchy-waybar-config/blob/main/modules/custom.jsonc"
click node_weather "https://github.com/gupta-akshay/omarchy-waybar-config/blob/main/modules/custom-weather.jsonc"
click node_cava "https://github.com/gupta-akshay/omarchy-waybar-config/blob/main/cava.sh"
click node_netspeed "https://github.com/gupta-akshay/omarchy-waybar-config/blob/main/net_speed.sh"
click node_gpu "https://github.com/gupta-akshay/omarchy-waybar-config/blob/main/waybar-gpu.sh"
click node_style "https://github.com/gupta-akshay/omarchy-waybar-config/blob/main/style.css"

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_main_config,node_core,node_system,node_hyprland,node_layout toneBlue
class node_custom,node_weather toneAmber
class node_cava,node_netspeed,node_gpu toneMint
class node_style toneRose
class node_waybar,node_cava_dep,node_bc_dep,node_gpu_dep,node_weather_dep,node_theme toneIndigo
```

## Components

### Bar configuration

- [Bar config](https://github.com/gupta-akshay/omarchy-waybar-config/blob/main/config.jsonc): `config.jsonc`
- [Core modules](https://github.com/gupta-akshay/omarchy-waybar-config/blob/main/modules/core.jsonc): `modules/core.jsonc`
- [System modules](https://github.com/gupta-akshay/omarchy-waybar-config/blob/main/modules/system.jsonc): `modules/system.jsonc`
- [Hyprland modules](https://github.com/gupta-akshay/omarchy-waybar-config/blob/main/modules/hyprland.jsonc): `modules/hyprland.jsonc`
- [Module layout](https://github.com/gupta-akshay/omarchy-waybar-config/blob/main/modules/layout.jsonc): `modules/layout.jsonc`

### Optional modules

- [Custom modules](https://github.com/gupta-akshay/omarchy-waybar-config/blob/main/modules/custom.jsonc): `modules/custom.jsonc`
- [Weather module](https://github.com/gupta-akshay/omarchy-waybar-config/blob/main/modules/custom-weather.jsonc): `modules/custom-weather.jsonc`

### Helper scripts

- [CAVA wrapper](https://github.com/gupta-akshay/omarchy-waybar-config/blob/main/cava.sh): `cava.sh`
- [Network speed](https://github.com/gupta-akshay/omarchy-waybar-config/blob/main/net_speed.sh): `net_speed.sh`
- [GPU metrics](https://github.com/gupta-akshay/omarchy-waybar-config/blob/main/waybar-gpu.sh): `waybar-gpu.sh`

### Presentation

- [Bar styling](https://github.com/gupta-akshay/omarchy-waybar-config/blob/main/style.css): `style.css`

### Other components

- **Waybar**
- **CAVA**
- **bc**
- **nvidia-smi**
- **wttrbar**
- **Omarchy theme assets**

## Connections

- Waybar → Bar config: uses configuration (evidence: `README.md`)
- Bar config → Core modules: defines core layout (evidence: `README.md`)
- Bar config → Module layout: uses selected modules
- Core modules → Hyprland modules: includes workspaces
- Core modules → System modules: includes system status
- Module layout → Custom modules: selects optional modules (evidence: `README.md`)
- Custom modules → CAVA wrapper: uses visualizer (evidence: `README.md`)
- Custom modules → Network speed: uses speed script (evidence: `README.md`)
- Custom modules → GPU metrics: uses GPU script (evidence: `README.md`)
- Custom modules → Weather module: includes weather
- CAVA wrapper → CAVA: streams from (evidence: `README.md`)
- Network speed → bc: calculates with (evidence: `README.md`)
- GPU metrics → nvidia-smi: queries metrics (evidence: `README.md`)
- Weather module → wttrbar: gets weather output (evidence: `README.md`)
- Bar styling → Omarchy theme assets: imports palette (evidence: `README.md`)
