# phnexus/hyprland-configs architecture

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

- Interactive diagram: https://gitdiagram.com/phnexus/hyprland-configs
- Repository: https://github.com/phnexus/hyprland-configs

## Overview

This repository is a personal Hyprland desktop configuration (“rice”), not an application with a single internal runtime. Its principal workflow is user interaction through Hyprland keybinds to launch or control desktop tools. The graph preserves documented desktop capabilities and configurations; source excerpts were unavailable, so links are limited to relationships stated in the README.

Main entry points: [`configs/hypr/keybinds.lua`](https://github.com/phnexus/hyprland-configs/blob/main/configs/hypr/keybinds.lua) (Keybinds), [`configs/hypr/hyprland.lua`](https://github.com/phnexus/hyprland-configs/blob/main/configs/hypr/hyprland.lua) (Hyprland config), [`configs/hypr/hyprlock.conf`](https://github.com/phnexus/hyprland-configs/blob/main/configs/hypr/hyprlock.conf) (Screen lock), [`configs/waybar/config`](https://github.com/phnexus/hyprland-configs/blob/main/configs/waybar/config) (Status bar)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_compositor["Window Management"]
  node_hyprland["Hyprland config<br/>[hyprland.lua]"]
  node_keybinds["Keybinds<br/>[keybinds.lua]"]
  node_hypridle["Idle management<br/>[hypridle.conf]"]
  node_hyprlock["Screen lock<br/>[hyprlock.conf]"]
end

subgraph group_desktop["Desktop Interface"]
  node_waybar["Status bar"]
  node_wofi["App launcher"]
  node_swaync["Notifications<br/>[config.json]"]
  node_dock["Dock bar<br/>[shell.qml]"]
  node_quickpaper["Wallpaper picker<br/>[shell.qml]"]
  node_settings["Settings center<br/>[shell.qml]"]
end

subgraph group_apps["User Applications"]
  node_kitty["Terminal<br/>[kitty.conf]"]
  node_thunar["File manager<br/>[uca.xml]"]
  node_nvim["Neovim<br/>[init.lua]"]
  node_fish["Fish shell<br/>[config.fish]"]
end

subgraph group_system["System Appearance"]
  node_wallpaper["Wallpaper controls<br/>[set-wallpaper.sh]"]
  node_cava["Audio visualizer"]
  node_fastfetch["System summary<br/>[config.jsonc]"]
  node_btop["Resource monitor<br/>[btop.conf]"]
end

node_user(("Desktop user"))

node_user -->|"uses shortcuts"| node_keybinds
node_keybinds -->|"configures controls"| node_hyprland
node_user -->|"opens terminal"| node_kitty
node_user -->|"opens launcher"| node_wofi
node_user -->|"opens files"| node_thunar
node_user -->|"locks screen"| node_hyprlock
node_user -->|"toggles center"| node_swaync
node_user -->|"sets wallpaper"| node_wallpaper
node_user -->|"opens picker"| node_quickpaper
node_user -->|"opens settings"| node_settings
node_user -->|"toggles bar"| node_waybar

click node_hyprland "https://github.com/phnexus/hyprland-configs/blob/main/configs/hypr/hyprland.lua"
click node_keybinds "https://github.com/phnexus/hyprland-configs/blob/main/configs/hypr/keybinds.lua"
click node_hypridle "https://github.com/phnexus/hyprland-configs/blob/main/configs/hypr/hypridle.conf"
click node_hyprlock "https://github.com/phnexus/hyprland-configs/blob/main/configs/hypr/hyprlock.conf"
click node_waybar "https://github.com/phnexus/hyprland-configs/blob/main/configs/waybar/config"
click node_wofi "https://github.com/phnexus/hyprland-configs/blob/main/configs/wofi/config"
click node_swaync "https://github.com/phnexus/hyprland-configs/blob/main/configs/swaync/config.json"
click node_dock "https://github.com/phnexus/hyprland-configs/blob/main/dock-bar/shell.qml"
click node_quickpaper "https://github.com/phnexus/hyprland-configs/blob/main/configs/quickshell/hyprquickpaper/shell.qml"
click node_settings "https://github.com/phnexus/hyprland-configs/blob/main/configs/quickshell/settings/shell.qml"
click node_kitty "https://github.com/phnexus/hyprland-configs/blob/main/configs/kitty/kitty.conf"
click node_thunar "https://github.com/phnexus/hyprland-configs/blob/main/configs/Thunar/uca.xml"
click node_nvim "https://github.com/phnexus/hyprland-configs/blob/main/configs/nvim/init.lua"
click node_fish "https://github.com/phnexus/hyprland-configs/blob/main/configs/fish/config.fish"
click node_wallpaper "https://github.com/phnexus/hyprland-configs/blob/main/configs/hypr/scripts/wallpapers/set-wallpaper.sh"
click node_cava "https://github.com/phnexus/hyprland-configs/blob/main/configs/cava/config"
click node_fastfetch "https://github.com/phnexus/hyprland-configs/blob/main/configs/fastfetch/config.jsonc"
click node_btop "https://github.com/phnexus/hyprland-configs/blob/main/configs/btop/btop.conf"

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_hyprland,node_keybinds,node_hypridle,node_hyprlock,node_user toneBlue
class node_waybar,node_wofi,node_swaync,node_dock,node_quickpaper,node_settings toneAmber
class node_kitty,node_thunar,node_nvim,node_fish toneMint
class node_wallpaper,node_cava,node_fastfetch,node_btop toneRose
```

## Components

### Window Management

- [Hyprland config](https://github.com/phnexus/hyprland-configs/blob/main/configs/hypr/hyprland.lua): `configs/hypr/hyprland.lua`
- [Keybinds](https://github.com/phnexus/hyprland-configs/blob/main/configs/hypr/keybinds.lua): `configs/hypr/keybinds.lua`
- [Idle management](https://github.com/phnexus/hyprland-configs/blob/main/configs/hypr/hypridle.conf): `configs/hypr/hypridle.conf`
- [Screen lock](https://github.com/phnexus/hyprland-configs/blob/main/configs/hypr/hyprlock.conf): `configs/hypr/hyprlock.conf`

### Desktop Interface

- [Status bar](https://github.com/phnexus/hyprland-configs/blob/main/configs/waybar/config): `configs/waybar/config`
- [App launcher](https://github.com/phnexus/hyprland-configs/blob/main/configs/wofi/config): `configs/wofi/config`
- [Notifications](https://github.com/phnexus/hyprland-configs/blob/main/configs/swaync/config.json): `configs/swaync/config.json`
- [Dock bar](https://github.com/phnexus/hyprland-configs/blob/main/dock-bar/shell.qml): `dock-bar/shell.qml`
- [Wallpaper picker](https://github.com/phnexus/hyprland-configs/blob/main/configs/quickshell/hyprquickpaper/shell.qml): `configs/quickshell/hyprquickpaper/shell.qml`
- [Settings center](https://github.com/phnexus/hyprland-configs/blob/main/configs/quickshell/settings/shell.qml): `configs/quickshell/settings/shell.qml`

### User Applications

- [Terminal](https://github.com/phnexus/hyprland-configs/blob/main/configs/kitty/kitty.conf): `configs/kitty/kitty.conf`
- [File manager](https://github.com/phnexus/hyprland-configs/blob/main/configs/Thunar/uca.xml): `configs/Thunar/uca.xml`
- [Neovim](https://github.com/phnexus/hyprland-configs/blob/main/configs/nvim/init.lua): `configs/nvim/init.lua`
- [Fish shell](https://github.com/phnexus/hyprland-configs/blob/main/configs/fish/config.fish): `configs/fish/config.fish`

### System Appearance

- [Wallpaper controls](https://github.com/phnexus/hyprland-configs/blob/main/configs/hypr/scripts/wallpapers/set-wallpaper.sh): `configs/hypr/scripts/wallpapers/set-wallpaper.sh`
- [Audio visualizer](https://github.com/phnexus/hyprland-configs/blob/main/configs/cava/config): `configs/cava/config`
- [System summary](https://github.com/phnexus/hyprland-configs/blob/main/configs/fastfetch/config.jsonc): `configs/fastfetch/config.jsonc`
- [Resource monitor](https://github.com/phnexus/hyprland-configs/blob/main/configs/btop/btop.conf): `configs/btop/btop.conf`

### Other components

- **Desktop user**

## Connections

- Desktop user → Keybinds: uses shortcuts (evidence: `README.md`)
- Keybinds → Hyprland config: configures controls (evidence: `README.md`)
- Desktop user → Terminal: opens terminal (evidence: `README.md`)
- Desktop user → App launcher: opens launcher (evidence: `README.md`)
- Desktop user → File manager: opens files (evidence: `README.md`)
- Desktop user → Screen lock: locks screen (evidence: `README.md`)
- Desktop user → Notifications: toggles center (evidence: `README.md`)
- Desktop user → Wallpaper controls: sets wallpaper (evidence: `README.md`)
- Desktop user → Wallpaper picker: opens picker (evidence: `README.md`)
- Desktop user → Settings center: opens settings (evidence: `README.md`)
- Desktop user → Status bar: toggles bar (evidence: `README.md`)
