# snickerton/dotfilessucculent architecture

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

- Interactive diagram: https://gitdiagram.com/snickerton/dotfilessucculent
- Repository: https://github.com/snickerton/dotfilessucculent

## Overview

##### Main Components

a. Window Management Layer
- i3 Window Manager (core component)
- Polybar (status bar)
- Compton (compositor)
- Rofi (application launcher)

b. System Configuration Layer
- X11 Configuration (_Xresources)
- Shell Configuration (_bashrc)
- Editor Configuration (_vimrc)

c. Media & Audio Layer
- Google Play Music Desktop Player
- PulseAudio
- Vis (audio visualizer)

d. System Monitoring
- Htop
- Neofetch

**┌─────────────────────────────────────────┐**
- User Interface Layer         │
- ┬───────────────────────┤
- i3 (WM)        │        Polybar        │
- ┴───────────────────────┤
- Window Composition Layer        │
- ┤
- Compton                    │
- ┤
- Application Layer             │
- ┬──────────┬──────────────────┤
- Rofi    │  GPMDP   │      Vis         │
- ┴──────────┴──────────────────┤
- System Services               │
- ┬──────────┬──────────────────┤
- PulseAudio│  Htop   │    Neofetch      │
- ┴──────────┴──────────────────┘

##### Connection Types

- Double lines: Configuration relationships

##### Important Details

- Configuration file locations (shown in .config directory)
- Integration points between components
- Cache and storage locations
- Script dependencies (like polybar's launch.sh and mpris.sh)

## Diagram (Mermaid)

```mermaid
graph TB
    %% Styles
    classDef core fill:#90EE90,stroke:#333,stroke-width:2px
    classDef system fill:#87CEEB,stroke:#333,stroke-width:2px
    classDef app fill:#FFA500,stroke:#333,stroke-width:2px
    classDef config fill:#D3D3D3,stroke:#333,stroke-width:2px
    classDef compositor fill:#DDA0DD,stroke:#333,stroke-width:2px

    %% User Interface Layer
    subgraph UI
        i3["i3 Window Manager"]:::core
        polybar["Polybar"]:::core
        rofi["Rofi"]:::app
    end

    %% Window Composition Layer
    subgraph Composition
        compton["Compton"]:::compositor
    end

    %% Application Layer
    subgraph Apps
        gpmdp["Google Play Music Desktop Player"]:::app
        vis["Vis Audio Visualizer"]:::app
    end

    %% System Services Layer
    subgraph Services
        pulse["PulseAudio"]:::system
        htop["Htop"]:::system
        neofetch["Neofetch"]:::system
    end

    %% Configuration Files
    subgraph Configs
        i3conf["i3 Config"]:::config
        polyconf["Polybar Config"]:::config
        compconf["Compton Config"]:::config
        roficonf["Rofi Config"]:::config
        xres["Xresources"]:::config
        bashrc["Bashrc"]:::config
        vimrc["Vimrc"]:::config
        visconf["Vis Config"]:::config
        htopconf["Htop Config"]:::config
        neoconf["Neofetch Config"]:::config
    end

    %% Scripts
    subgraph Scripts
        launch["launch.sh"]:::config
        mpris["mpris.sh"]:::config
        weather["weather.py"]:::config
    end

    %% Relationships
    i3 --> compton
    i3 --> polybar
    i3 --> rofi
    polybar --> launch
    polybar --> mpris
    polybar --> weather
    gpmdp --> pulse
    pulse --> vis
    
    %% Configuration relationships
    i3conf --> i3
    polyconf --> polybar
    compconf --> compton
    roficonf --> rofi
    xres --> i3
    visconf --> vis
    htopconf --> htop
    neoconf --> neofetch

    %% Click events
    click i3 "https://github.com/snickerton/DotfilesSucculent/tree/master/.config/i3/config"
    click polybar "https://github.com/snickerton/DotfilesSucculent/tree/master/.config/polybar/config"
    click compton "https://github.com/snickerton/DotfilesSucculent/blob/master/.config/compton.conf"
    click rofi "https://github.com/snickerton/DotfilesSucculent/tree/master/.config/rofi/config"
    click xres "https://github.com/snickerton/DotfilesSucculent/tree/master/_Xresources"
    click bashrc "https://github.com/snickerton/DotfilesSucculent/tree/master/_bashrc"
    click vimrc "https://github.com/snickerton/DotfilesSucculent/tree/master/_vimrc"
    click gpmdp "https://github.com/snickerton/DotfilesSucculent/tree/master/.config/Google Play Music Desktop Player/"
    click pulse "https://github.com/snickerton/DotfilesSucculent/tree/master/.config/pulse/"
    click vis "https://github.com/snickerton/DotfilesSucculent/tree/master/.config/vis/config"
    click htop "https://github.com/snickerton/DotfilesSucculent/tree/master/.config/htop/htoprc"
    click neofetch "https://github.com/snickerton/DotfilesSucculent/blob/master/.config/neofetch/config.conf"
    click launch "https://github.com/snickerton/DotfilesSucculent/blob/master/.config/polybar/launch.sh"
    click mpris "https://github.com/snickerton/DotfilesSucculent/blob/master/.config/polybar/mpris.sh"
    click weather "https://github.com/snickerton/DotfilesSucculent/blob/master/.config/polybar/weather.py"

    %% Legend
    subgraph Legend
        l1["Core Components"]:::core
        l2["System Services"]:::system
        l3["Applications"]:::app
        l4["Configurations"]:::config
        l5["Compositor"]:::compositor
    end
```
