# baronhez/dotfiles architecture

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

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

## Overview

##### Core Components (Center
- Hyprland (Window Manager/Compositor)

##### User Interface Layer (Top Section)
- Waybar (Status Bar)
- Rofi/Wofi/Bemenu (Application Launchers)
- Mako (Notifications)
- SwayLock (Screen Locker)

##### System Services Layer (Left Side)
- PipeWire (Audio)
- Polkit-KDE (Authentication)
- NetworkManager
- Bluetooth (bluez)

##### Applications Layer (Right Side)
- Alacritty (Terminal)
- Firefox (Browser)
- Nautilus (File Manager)
- Telegram (Messaging)
- QBittorrent

##### Configuration Management (Bottom Section)
- ZSH + Oh-My-ZSH
- Vim + Plugins
- Ranger (File Manager)
- GTK Themes

Specific Design Elements:

##### Grouping
- Labels for each group

##### A "Theme Management" section showing
- GTK Theme configuration
- Font management (Nerd Fonts, SF Mono)

##### A "Scripts & Utilities" section for
- Brightness control
- Media controls
- System monitoring

##### Authentication flow
- SDDM → Polkit → Desktop Environment

## Diagram (Mermaid)

```mermaid
flowchart TB
    %% Core Component
    subgraph Core
        Hyprland["Hyprland Compositor"]:::core
    end

    %% User Interface Layer
    subgraph UI
        Waybar["Waybar Status Bar"]:::ui
        AppLaunchers["Application Launchers"]:::ui
        Mako["Mako Notifications"]:::ui
        SwayLock["SwayLock Screen"]:::ui
        
        subgraph "App Launchers"
            Rofi["Rofi"]:::ui
            Wofi["Wofi"]:::ui
            Bemenu["Bemenu"]:::ui
        end
    end

    %% System Services Layer
    subgraph Services
        PipeWire["PipeWire Audio"]:::service
        PolkitKDE["Polkit-KDE Auth"]:::service
        NetworkManager["NetworkManager"]:::service
        Bluetooth["Bluetooth (bluez)"]:::service
    end

    %% Applications Layer
    subgraph Apps
        Alacritty["Alacritty Terminal"]:::app
        Firefox["Firefox Browser"]:::app
        Nautilus["Nautilus Files"]:::app
        Telegram["Telegram"]:::app
        QBittorrent["QBittorrent"]:::app
    end

    %% Configuration Management
    subgraph Config
        Shell["ZSH + Oh-My-ZSH"]:::config
        Editors["Vim + Plugins"]:::config
        Ranger["Ranger FM"]:::config
        ThemeConfig["GTK Themes"]:::config
    end

    %% Scripts & Utilities
    subgraph Scripts
        BrightnessCtrl["Brightness Control"]:::script
        MediaCtrl["Media Controls"]:::script
        SysMonitor["System Monitor"]:::script
    end

    %% Connections
    Hyprland <--> Waybar
    Hyprland <--> AppLaunchers
    Hyprland <--> Mako
    Hyprland <--> SwayLock
    
    AppLaunchers --> Rofi
    AppLaunchers --> Wofi
    AppLaunchers --> Bemenu
    
    Hyprland --> PipeWire
    Hyprland --> PolkitKDE
    Hyprland --> NetworkManager
    Hyprland --> Bluetooth
    
    Hyprland --> Alacritty
    Hyprland --> Firefox
    Hyprland --> Nautilus
    Hyprland --> Telegram
    Hyprland --> QBittorrent
    
    Hyprland --> Shell
    Hyprland --> Editors
    Hyprland --> Ranger
    Hyprland --> ThemeConfig
    
    Hyprland --> BrightnessCtrl
    Hyprland --> MediaCtrl
    Hyprland --> SysMonitor

    %% Styling
    classDef core fill:#2b4c7d,stroke:#1a2f4d,color:white
    classDef ui fill:#4a90e2,stroke:#2171c7,color:white
    classDef service fill:#2ecc71,stroke:#27ae60,color:white
    classDef app fill:#e67e22,stroke:#d35400,color:white
    classDef config fill:#9b59b6,stroke:#8e44ad,color:white
    classDef script fill:#95a5a6,stroke:#7f8c8d,color:white

    %% Click Events
    click Hyprland "https://github.com/Baronhez/dotfiles/blob/main/.config/hypr/hyprland.conf"
    click Waybar "https://github.com/Baronhez/dotfiles/blob/main/.config/waybar/evocarbon/config.jsonc"
    click Rofi "https://github.com/Baronhez/dotfiles/blob/main/.config/rofi/config.rasi"
    click Wofi "https://github.com/Baronhez/dotfiles/tree/main/.config/wofi/evocarbon/config"
    click Bemenu "https://github.com/Baronhez/dotfiles/tree/main/.config/bemenu/evocarbon/config"
    click Mako "https://github.com/Baronhez/dotfiles/tree/main/.config/mako/evocarbon/config"
    click SwayLock "https://github.com/Baronhez/dotfiles/tree/main/.config/swaylock/config"
    click Alacritty "https://github.com/Baronhez/dotfiles/blob/main/.config/alacritty.toml"
    click Nautilus "https://github.com/Baronhez/dotfiles/tree/main/.config/nautilus/"
    click Shell "https://github.com/Baronhez/dotfiles/blob/main/.zshrc"
    click Editors "https://github.com/Baronhez/dotfiles/blob/main/.config/nvim/init.lua"
    click Ranger "https://github.com/Baronhez/dotfiles/blob/main/.config/ranger/rc.conf"
    click ThemeConfig "https://github.com/Baronhez/dotfiles/blob/main/.config/gtk-3.0/settings.ini"
    click NetworkManager "https://github.com/Baronhez/dotfiles/blob/main/.config/networkmanager-dmenu/config.ini"
    click BrightnessCtrl "https://github.com/Baronhez/dotfiles/tree/main/.config/hypr/scripts/"
    click MediaCtrl "https://github.com/Baronhez/dotfiles/tree/main/.config/waybar/scripts/"
```
