# cybecho/windows_setting_dotfiles architecture

> Architecture diagram of the GitHub repository cybecho/windows_setting_dotfiles, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-01-14). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/cybecho/windows_setting_dotfiles
- Repository: https://github.com/cybecho/windows_setting_dotfiles

## Overview

##### Project Type Analysis
This is a system configuration and customization project that integrates multiple tools and utilities to create a MAC/Linux-like experience on Windows 11.

##### Main System Components

A. Core Components:
- GlazeWM (Window Manager)
- PowerToys (System Utilities)
- WSL2 (Linux Subsystem)
- Terminal Environments
- Package Managers

B. Integration Layer:
- AutoHotkey Scripts
- Custom Keyboard Mappings
- Registry Modifications

**┌─────────────────────────────────────────────────────┐**
- User Interface Layer                │
- ┬──────────────┬────────────┬──────────┤
- GlazeWM   │    Zebar     │ PowerToys  │ Terminal │
- (Tiling WM) │  (Bar/Panel) │ (Utilities)│          │
- ┴──────────────┴────────────┴──────────┘
- ↑            ↑           ↑          ↑
**┌─────────────────────────────────────────────────────┐**
- Configuration Layer                    │
- ┬─────────────┬───────────────┬───────────┤
- AutoHotkey│ PowerToys  │  GlazeWM      │ Terminal  │
- Scripts  │  Settings  │  Config       │ Settings  │
- ┴─────────────┴───────────────┴───────────┘
- ↑            ↑           ↑          ↑
**┌─────────────────────────────────────────────────────┐**
- System Layer                        │
- ┬─────────────┬───────────────┬───────────┤
- WSL2    │  Registry   │   Package     │  System   │
- Tweaks     │   Managers    │  Services │
- ┴─────────────┴───────────────┴───────────┘

##### Key Relationships to Highlight

A. Direct Dependencies:
- AutoHotkey → Keyboard Management
- PowerToys → System Customization
- GlazeWM → Window Management
- WSL2 → Linux Subsystem

B. Integration Points:
- How AutoHotkey and PowerToys interact for keyboard mapping
- GlazeWM's integration with Zebar
- WSL2's connection to Terminal

##### Additional Elements

A separate section showing:
- Package management flow (Scoop/Chocolatey)
- Configuration file locations
- Log file management structure

##### Implementation Notes

- Version numbers for major components
- Notes about potential conflicts (e.g., the AutoHotkey/PowerToys duplicate mapping issue)

## Diagram (Mermaid)

```mermaid
flowchart TB
    subgraph "User Interface Layer"
        GlazeWM["GlazeWM (Tiling WM)"]:::core
        Zebar["Zebar (Bar/Panel)"]:::core
        PowerToys["PowerToys (Utilities)"]:::core
        Terminal["Terminal"]:::core
    end

    subgraph "Configuration Layer"
        AHK["AutoHotkey Scripts"]:::config
        PTSettings["PowerToys Settings"]:::config
        GWConfig["GlazeWM Config"]:::config
        TSettings["Terminal Settings"]:::config
        KBManager["Keyboard Manager"]:::config
        PSConfig["PowerShell Config"]:::config
    end

    subgraph "System Layer"
        WSL["WSL2"]:::system
        Registry["Registry Tweaks"]:::system
        PackageM["Package Managers"]:::system
        SysServices["System Services"]:::system
        SysMon["System Monitoring"]:::system
    end

    %% Relationships
    GlazeWM <--> Zebar
    GlazeWM <--> GWConfig
    PowerToys <--> PTSettings
    PowerToys <--> KBManager
    Terminal <--> TSettings
    Terminal <--> WSL
    AHK <--> KBManager
    WSL <--> PackageM
    SysServices <--> SysMon
    PSConfig <--> Terminal

    %% Click Events
    click GlazeWM "https://github.com/Cybecho/Windows_Setting_dotfiles/blob/main/GlazeWM/.glzr/glazewm/config.yaml"
    click Zebar "https://github.com/Cybecho/Windows_Setting_dotfiles/blob/main/GlazeWM/.glzr/zebar/starter/with-glazewm.zebar.json"
    click PTSettings "https://github.com/Cybecho/Windows_Setting_dotfiles/blob/main/PowerToys/withAhk/settings.json"
    click KBManager "https://github.com/Cybecho/Windows_Setting_dotfiles/blob/main/PowerToys/withAhk/Keyboard Manager/settings.json"
    click TSettings "https://github.com/Cybecho/Windows_Setting_dotfiles/blob/main/Terminal/setting.json"
    click AHK "https://github.com/Cybecho/Windows_Setting_dotfiles/blob/main/Autohotkey/autoHotkeyConfig.ahk"
    click WSL "https://github.com/Cybecho/Windows_Setting_dotfiles/blob/main/WSL2/.zshrc"
    click PackageM "https://github.com/Cybecho/Windows_Setting_dotfiles/tree/main/Packages"
    click PSConfig "https://github.com/Cybecho/Windows_Setting_dotfiles/blob/main/PowerShell/Microsoft.PowerShell_profile.ps1"
    click SysMon "https://github.com/Cybecho/Windows_Setting_dotfiles/blob/main/GlazeWM/.glzr/glazewm_monitoring.bat"

    %% Styling
    classDef core fill:#3498db,stroke:#2980b9,color:white
    classDef config fill:#e67e22,stroke:#d35400,color:white
    classDef system fill:#2ecc71,stroke:#27ae60,color:white

    %% Legend
    subgraph Legend
        Core["Core Components"]:::core
        Config["Configuration Files"]:::config
        System["System Components"]:::system
    end
```
