# marhund/win_dotfiles_rice architecture

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

- Interactive diagram: https://gitdiagram.com/marhund/win_dotfiles_rice
- Repository: https://github.com/marhund/win_dotfiles_rice

## Overview

This repository is a Windows setup and dotfiles collection. The documented workflow is to launch the installer, choose a setup level, provision Windows and applications, then symlink and use the included configurations and customizations. Major configuration and Windhawk-mod branches are represented; the PowerShell implementation was not sampled, so its internal calls and exact provisioning sequence cannot be verified.

Main entry points: [`main.ps1`](https://github.com/marhund/win_dotfiles_rice/blob/main/main.ps1) (Setup script), [`install.ps1`](https://github.com/marhund/win_dotfiles_rice/blob/main/install.ps1) (Bootstrap installer), [`Windhawk/WIndhawkSettings.reg`](https://github.com/marhund/win_dotfiles_rice/blob/main/Windhawk/WIndhawkSettings.reg) (Windhawk settings), [`YASB/config.yaml`](https://github.com/marhund/win_dotfiles_rice/blob/main/YASB/config.yaml) (YASB bar)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_setup["Setup and provisioning"]
  node_installer["Bootstrap installer<br/>[install.ps1]"]
  node_setup_script["Setup script<br/>[main.ps1]"]
  node_debloat["Debloat options<br/>[main.ps1]"]
end

subgraph group_desktop["Desktop customization"]
  node_yasb["YASB bar<br/>[config.yaml]"]
  node_yasb_style["YASB styles<br/>[styles.css]"]
  node_powertoys["PowerToys settings"]
  node_fancyzones["FancyZones layouts"]
end

subgraph group_shell["Shell and launcher"]
  node_flow_config["Flow Launcher config<br/>[Settings.json]"]
  node_flow_plugins["Flow plugin settings"]
  node_ahk["AutoHotkey shortcuts"]
  node_powershell["PowerShell profile"]
  node_omp["Oh My Posh themes"]
  node_terminal["Terminal settings<br/>[settings.json]"]
end

subgraph group_mods["Windhawk mods"]
  node_windhawk_settings["Windhawk settings"]
  node_windhawk_mods["Windhawk mods"]
  node_taskbar_styler["Taskbar styling"]
  node_explorer_styler["Explorer styling"]
  node_translucency["Window translucency"]
  node_window_arrange["Window arrangement"]
  node_monitor_alt_tab["Per-monitor Alt Tab"]
  node_desktop_switch["Desktop transitions"]
  node_disk_chart["Disk pie chart"]
  node_new_folder["Explorer new folder"]
  node_file_sizes["Explorer file sizes"]
  node_start_location["Start location"]
  node_show_desktop["Per-monitor show desktop"]
end

node_user(("Windows user"))
node_windows["Windows system"]
node_winget["Winget"]

node_user -->|"starts setup"| node_installer
node_installer -->|"launches setup"| node_setup_script
node_setup_script -->|"configures"| node_windows
node_setup_script -->|"installs with"| node_winget
node_setup_script -->|"offers optional"| node_debloat
node_setup_script -->|"symlinks settings"| node_flow_config
node_setup_script -.->|"symlinks settings"| node_flow_plugins
node_setup_script -->|"configures shortcuts"| node_ahk
node_setup_script -.->|"configures shell"| node_powershell
node_setup_script -.->|"installs themes"| node_omp
node_setup_script -.->|"configures terminal"| node_terminal
node_setup_script -.->|"configures bar"| node_yasb
node_setup_script -.->|"installs app"| node_powertoys
node_setup_script -.->|"configures Windhawk"| node_windhawk_settings
node_setup_script -.->|"provides settings"| node_fancyzones
node_windhawk_settings -.->|"enables mods"| node_windhawk_mods
node_user -->|"customizes appearance"| node_yasb_style

click node_installer "https://github.com/marhund/win_dotfiles_rice/blob/main/install.ps1"
click node_setup_script "https://github.com/marhund/win_dotfiles_rice/blob/main/main.ps1"
click node_debloat "https://github.com/marhund/win_dotfiles_rice/blob/main/main.ps1"
click node_flow_config "https://github.com/marhund/win_dotfiles_rice/blob/main/FlowLauncher/Settings/Settings.json"
click node_flow_plugins "https://github.com/marhund/win_dotfiles_rice/tree/main/FlowLauncher/Settings/Plugins"
click node_ahk "https://github.com/marhund/win_dotfiles_rice/blob/main/AHK/dotfiles_main_scr.ahk"
click node_powershell "https://github.com/marhund/win_dotfiles_rice/blob/main/PowerShell/Microsoft.Powershell_profile.ps1"
click node_omp "https://github.com/marhund/win_dotfiles_rice/tree/main/OhMyPosh"
click node_terminal "https://github.com/marhund/win_dotfiles_rice/blob/main/WindowsTerminal/settings.json"
click node_yasb "https://github.com/marhund/win_dotfiles_rice/blob/main/YASB/config.yaml"
click node_yasb_style "https://github.com/marhund/win_dotfiles_rice/blob/main/YASB/styles.css"
click node_powertoys "https://github.com/marhund/win_dotfiles_rice/tree/main/PowerToys"
click node_windhawk_settings "https://github.com/marhund/win_dotfiles_rice/blob/main/Windhawk/WIndhawkSettings.reg"
click node_windhawk_mods "https://github.com/marhund/win_dotfiles_rice/tree/main/Windhawk/ModsSource"
click node_taskbar_styler "https://github.com/marhund/win_dotfiles_rice/blob/main/Windhawk/ModsSource/windows-11-taskbar-styler.wh.cpp"
click node_explorer_styler "https://github.com/marhund/win_dotfiles_rice/blob/main/Windhawk/ModsSource/windows-11-file-explorer-styler.wh.cpp"
click node_translucency "https://github.com/marhund/win_dotfiles_rice/blob/main/Windhawk/ModsSource/translucent-windows.wh.cpp"
click node_window_arrange "https://github.com/marhund/win_dotfiles_rice/blob/main/Windhawk/ModsSource/slick-window-arrangement.wh.cpp"
click node_monitor_alt_tab "https://github.com/marhund/win_dotfiles_rice/blob/main/Windhawk/ModsSource/alt-tab-per-monitor.wh.cpp"
click node_desktop_switch "https://github.com/marhund/win_dotfiles_rice/blob/main/Windhawk/ModsSource/disable-virtual-desktop-transition.wh.cpp"
click node_disk_chart "https://github.com/marhund/win_dotfiles_rice/blob/main/Windhawk/ModsSource/disk-pie-chart.wh.cpp"
click node_new_folder "https://github.com/marhund/win_dotfiles_rice/blob/main/Windhawk/ModsSource/explorer-ctrlq-new-folder.wh.cpp"
click node_file_sizes "https://github.com/marhund/win_dotfiles_rice/blob/main/Windhawk/ModsSource/explorer-details-better-file-sizes.wh.cpp"
click node_start_location "https://github.com/marhund/win_dotfiles_rice/blob/main/Windhawk/ModsSource/start-menu-open-location.wh.cpp"
click node_show_desktop "https://github.com/marhund/win_dotfiles_rice/blob/main/Windhawk/ModsSource/win-d-per-monitor.wh.cpp"
click node_fancyzones "https://github.com/marhund/win_dotfiles_rice/tree/main/PowerToys/FancyZones"

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_installer,node_setup_script,node_debloat,node_user toneBlue
class node_yasb,node_yasb_style,node_powertoys,node_fancyzones toneAmber
class node_flow_config,node_flow_plugins,node_ahk,node_powershell,node_omp,node_terminal toneMint
class node_windhawk_settings,node_windhawk_mods,node_taskbar_styler,node_explorer_styler,node_translucency,node_window_arrange,node_monitor_alt_tab,node_desktop_switch,node_disk_chart,node_new_folder,node_file_sizes,node_start_location,node_show_desktop toneRose
class node_windows,node_winget toneIndigo
```

## Components

### Setup and provisioning

- [Bootstrap installer](https://github.com/marhund/win_dotfiles_rice/blob/main/install.ps1): `install.ps1`
- [Setup script](https://github.com/marhund/win_dotfiles_rice/blob/main/main.ps1): `main.ps1`
- [Debloat options](https://github.com/marhund/win_dotfiles_rice/blob/main/main.ps1): `main.ps1`

### Desktop customization

- [YASB bar](https://github.com/marhund/win_dotfiles_rice/blob/main/YASB/config.yaml): `YASB/config.yaml`
- [YASB styles](https://github.com/marhund/win_dotfiles_rice/blob/main/YASB/styles.css): `YASB/styles.css`
- [PowerToys settings](https://github.com/marhund/win_dotfiles_rice/tree/main/PowerToys): `PowerToys`
- [FancyZones layouts](https://github.com/marhund/win_dotfiles_rice/tree/main/PowerToys/FancyZones): `PowerToys/FancyZones`

### Shell and launcher

- [Flow Launcher config](https://github.com/marhund/win_dotfiles_rice/blob/main/FlowLauncher/Settings/Settings.json): `FlowLauncher/Settings/Settings.json`
- [Flow plugin settings](https://github.com/marhund/win_dotfiles_rice/tree/main/FlowLauncher/Settings/Plugins): `FlowLauncher/Settings/Plugins`
- [AutoHotkey shortcuts](https://github.com/marhund/win_dotfiles_rice/blob/main/AHK/dotfiles_main_scr.ahk): `AHK/dotfiles_main_scr.ahk`
- [PowerShell profile](https://github.com/marhund/win_dotfiles_rice/blob/main/PowerShell/Microsoft.Powershell_profile.ps1): `PowerShell/Microsoft.Powershell_profile.ps1`
- [Oh My Posh themes](https://github.com/marhund/win_dotfiles_rice/tree/main/OhMyPosh): `OhMyPosh`
- [Terminal settings](https://github.com/marhund/win_dotfiles_rice/blob/main/WindowsTerminal/settings.json): `WindowsTerminal/settings.json`

### Windhawk mods

- [Windhawk settings](https://github.com/marhund/win_dotfiles_rice/blob/main/Windhawk/WIndhawkSettings.reg): `Windhawk/WIndhawkSettings.reg`
- [Windhawk mods](https://github.com/marhund/win_dotfiles_rice/tree/main/Windhawk/ModsSource): `Windhawk/ModsSource`
- [Taskbar styling](https://github.com/marhund/win_dotfiles_rice/blob/main/Windhawk/ModsSource/windows-11-taskbar-styler.wh.cpp): `Windhawk/ModsSource/windows-11-taskbar-styler.wh.cpp`
- [Explorer styling](https://github.com/marhund/win_dotfiles_rice/blob/main/Windhawk/ModsSource/windows-11-file-explorer-styler.wh.cpp): `Windhawk/ModsSource/windows-11-file-explorer-styler.wh.cpp`
- [Window translucency](https://github.com/marhund/win_dotfiles_rice/blob/main/Windhawk/ModsSource/translucent-windows.wh.cpp): `Windhawk/ModsSource/translucent-windows.wh.cpp`
- [Window arrangement](https://github.com/marhund/win_dotfiles_rice/blob/main/Windhawk/ModsSource/slick-window-arrangement.wh.cpp): `Windhawk/ModsSource/slick-window-arrangement.wh.cpp`
- [Per-monitor Alt Tab](https://github.com/marhund/win_dotfiles_rice/blob/main/Windhawk/ModsSource/alt-tab-per-monitor.wh.cpp): `Windhawk/ModsSource/alt-tab-per-monitor.wh.cpp`
- [Desktop transitions](https://github.com/marhund/win_dotfiles_rice/blob/main/Windhawk/ModsSource/disable-virtual-desktop-transition.wh.cpp): `Windhawk/ModsSource/disable-virtual-desktop-transition.wh.cpp`
- [Disk pie chart](https://github.com/marhund/win_dotfiles_rice/blob/main/Windhawk/ModsSource/disk-pie-chart.wh.cpp): `Windhawk/ModsSource/disk-pie-chart.wh.cpp`
- [Explorer new folder](https://github.com/marhund/win_dotfiles_rice/blob/main/Windhawk/ModsSource/explorer-ctrlq-new-folder.wh.cpp): `Windhawk/ModsSource/explorer-ctrlq-new-folder.wh.cpp`
- [Explorer file sizes](https://github.com/marhund/win_dotfiles_rice/blob/main/Windhawk/ModsSource/explorer-details-better-file-sizes.wh.cpp): `Windhawk/ModsSource/explorer-details-better-file-sizes.wh.cpp`
- [Start location](https://github.com/marhund/win_dotfiles_rice/blob/main/Windhawk/ModsSource/start-menu-open-location.wh.cpp): `Windhawk/ModsSource/start-menu-open-location.wh.cpp`
- [Per-monitor show desktop](https://github.com/marhund/win_dotfiles_rice/blob/main/Windhawk/ModsSource/win-d-per-monitor.wh.cpp): `Windhawk/ModsSource/win-d-per-monitor.wh.cpp`

### Other components

- **Windows user**
- **Windows system**
- **Winget**

## Connections

- Windows user → Bootstrap installer: starts setup (evidence: `README.md`)
- Bootstrap installer → Setup script: launches setup (evidence: `README.md`)
- Setup script → Windows system: configures (evidence: `README.md`)
- Setup script → Winget: installs with (evidence: `README.md`)
- Setup script → Debloat options: offers optional (evidence: `README.md`)
- Setup script → Flow Launcher config: symlinks settings (evidence: `README.md`)
- Setup script → Flow plugin settings: symlinks settings
- Setup script → AutoHotkey shortcuts: configures shortcuts (evidence: `README.md`)
- Setup script → PowerShell profile: configures shell
- Setup script → Oh My Posh themes: installs themes
- Setup script → Terminal settings: configures terminal
- Setup script → YASB bar: configures bar
- Setup script → PowerToys settings: installs app
- Setup script → Windhawk settings: configures Windhawk
- Setup script → FancyZones layouts: provides settings
- Windhawk settings → Windhawk mods: enables mods
- Windows user → YASB styles: customizes appearance
