# afrizaaa017/cinnamon-macos-style architecture

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

- Interactive diagram: https://gitdiagram.com/afrizaaa017/cinnamon-macos-style
- Repository: https://github.com/afrizaaa017/cinnamon-macos-style

## Overview

This repository configures a Linux Mint Cinnamon desktop to resemble macOS. The main workflow is for a user to choose modules, preview or run the installer, then apply desktop settings and assets; uninstall restores backed-up changes. README documents the feature modules and optional integrations. Only the dock-hint implementation was sampled, so links among other modules and their assets are omitted where the source relationship is not evidenced.

Main entry points: [`install.sh`](https://github.com/afrizaaa017/cinnamon-macos-style/blob/main/install.sh) (Installer), [`modules/50-vscode.sh`](https://github.com/afrizaaa017/cinnamon-macos-style/blob/main/modules/50-vscode.sh) (VS Code colors), [`modules/40-dock.sh`](https://github.com/afrizaaa017/cinnamon-macos-style/blob/main/modules/40-dock.sh) (Plank dock), [`files/dock-hint.py`](https://github.com/afrizaaa017/cinnamon-macos-style/blob/main/files/dock-hint.py) (Dock hint)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_setup["Installation and restore"]
  node_installer["Installer<br/>[install.sh]"]
  node_shared["Installer helpers<br/>[lib.sh]"]
  node_uninstaller["Restore changes<br/>[uninstall.sh]"]
end

subgraph group_appearance["Desktop appearance"]
  node_cinnamon["Cinnamon setup<br/>[10-cinnamon.sh]"]
  node_panel["Top panel<br/>[15-panel.sh]"]
  node_terminal["Terminal theme<br/>[20-terminal.sh]"]
  node_vscode["VS Code colors<br/>[50-vscode.sh]"]
  node_vscodecolors["VS Code palette<br/>[vscode-colors.json]"]
end

subgraph group_interaction["Window and input behavior"]
  node_gestures["Touchpad gestures<br/>[30-gestures.sh]"]
  node_touchegg["Gesture config<br/>[touchegg.conf]"]
  node_dock["Plank dock<br/>[40-dock.sh]"]
  node_dockhint["Dock hint<br/>[dock-hint.py]"]
  node_planktheme["MacCard theme<br/>[dock.theme]"]
  node_overview["Overview styling<br/>[60-overview-css.sh]"]
  node_overviewcss["Overview styles<br/>[overview.css]"]
  node_magiclamp["Genie tuning<br/>[70-magiclamp.sh]"]
end

subgraph group_extras["Desktop extras"]
  node_conky["Conky widgets<br/>[80-conky.sh]"]
  node_conkyfiles["Widget configs"]
  node_dependencies["Desktop dependencies<br/>[DEPENDENCIES.md]"]
end

node_user(("User"))
node_wmctrl["wmctrl and X11"]

node_user -->|"chooses modules"| node_installer
node_installer -.->|"uses helpers"| node_shared
node_user -->|"requests restore"| node_uninstaller
node_installer -->|"installs module"| node_cinnamon
node_installer -->|"installs optional"| node_panel
node_installer -->|"installs module"| node_terminal
node_installer -->|"installs module"| node_gestures
node_installer -->|"installs module"| node_dock
node_installer -->|"installs module"| node_vscode
node_installer -->|"installs module"| node_overview
node_installer -->|"installs module"| node_magiclamp
node_installer -->|"installs optional"| node_conky
node_vscode -->|"merges colors"| node_vscodecolors
node_dockhint -->|"queries windows"| node_wmctrl
node_dock -.->|"provides hint"| node_dockhint
node_overview -->|"styles overview"| node_overviewcss
node_conky -.->|"configures widgets"| node_conkyfiles
node_installer -->|"documents prerequisites"| node_dependencies

click node_installer "https://github.com/afrizaaa017/cinnamon-macos-style/blob/main/install.sh"
click node_shared "https://github.com/afrizaaa017/cinnamon-macos-style/blob/main/modules/lib.sh"
click node_uninstaller "https://github.com/afrizaaa017/cinnamon-macos-style/blob/main/uninstall.sh"
click node_cinnamon "https://github.com/afrizaaa017/cinnamon-macos-style/blob/main/modules/10-cinnamon.sh"
click node_panel "https://github.com/afrizaaa017/cinnamon-macos-style/blob/main/modules/15-panel.sh"
click node_terminal "https://github.com/afrizaaa017/cinnamon-macos-style/blob/main/modules/20-terminal.sh"
click node_vscode "https://github.com/afrizaaa017/cinnamon-macos-style/blob/main/modules/50-vscode.sh"
click node_vscodecolors "https://github.com/afrizaaa017/cinnamon-macos-style/blob/main/files/vscode-colors.json"
click node_gestures "https://github.com/afrizaaa017/cinnamon-macos-style/blob/main/modules/30-gestures.sh"
click node_touchegg "https://github.com/afrizaaa017/cinnamon-macos-style/blob/main/files/touchegg.conf"
click node_dock "https://github.com/afrizaaa017/cinnamon-macos-style/blob/main/modules/40-dock.sh"
click node_dockhint "https://github.com/afrizaaa017/cinnamon-macos-style/blob/main/files/dock-hint.py"
click node_planktheme "https://github.com/afrizaaa017/cinnamon-macos-style/blob/main/files/plank/MacCard/dock.theme"
click node_overview "https://github.com/afrizaaa017/cinnamon-macos-style/blob/main/modules/60-overview-css.sh"
click node_overviewcss "https://github.com/afrizaaa017/cinnamon-macos-style/blob/main/files/overview.css"
click node_magiclamp "https://github.com/afrizaaa017/cinnamon-macos-style/blob/main/modules/70-magiclamp.sh"
click node_conky "https://github.com/afrizaaa017/cinnamon-macos-style/blob/main/modules/80-conky.sh"
click node_conkyfiles "https://github.com/afrizaaa017/cinnamon-macos-style/tree/main/files/conky"
click node_dependencies "https://github.com/afrizaaa017/cinnamon-macos-style/blob/main/docs/DEPENDENCIES.md"

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_shared,node_uninstaller,node_user toneBlue
class node_cinnamon,node_panel,node_terminal,node_vscode,node_vscodecolors toneAmber
class node_gestures,node_touchegg,node_dock,node_dockhint,node_planktheme,node_overview,node_overviewcss,node_magiclamp toneMint
class node_conky,node_conkyfiles,node_dependencies toneRose
class node_wmctrl toneIndigo
```

## Components

### Installation and restore

- [Installer](https://github.com/afrizaaa017/cinnamon-macos-style/blob/main/install.sh): `install.sh`
- [Installer helpers](https://github.com/afrizaaa017/cinnamon-macos-style/blob/main/modules/lib.sh): `modules/lib.sh`
- [Restore changes](https://github.com/afrizaaa017/cinnamon-macos-style/blob/main/uninstall.sh): `uninstall.sh`

### Desktop appearance

- [Cinnamon setup](https://github.com/afrizaaa017/cinnamon-macos-style/blob/main/modules/10-cinnamon.sh): `modules/10-cinnamon.sh`
- [Top panel](https://github.com/afrizaaa017/cinnamon-macos-style/blob/main/modules/15-panel.sh): `modules/15-panel.sh`
- [Terminal theme](https://github.com/afrizaaa017/cinnamon-macos-style/blob/main/modules/20-terminal.sh): `modules/20-terminal.sh`
- [VS Code colors](https://github.com/afrizaaa017/cinnamon-macos-style/blob/main/modules/50-vscode.sh): `modules/50-vscode.sh`
- [VS Code palette](https://github.com/afrizaaa017/cinnamon-macos-style/blob/main/files/vscode-colors.json): `files/vscode-colors.json`

### Window and input behavior

- [Touchpad gestures](https://github.com/afrizaaa017/cinnamon-macos-style/blob/main/modules/30-gestures.sh): `modules/30-gestures.sh`
- [Gesture config](https://github.com/afrizaaa017/cinnamon-macos-style/blob/main/files/touchegg.conf): `files/touchegg.conf`
- [Plank dock](https://github.com/afrizaaa017/cinnamon-macos-style/blob/main/modules/40-dock.sh): `modules/40-dock.sh`
- [Dock hint](https://github.com/afrizaaa017/cinnamon-macos-style/blob/main/files/dock-hint.py): `files/dock-hint.py`
- [MacCard theme](https://github.com/afrizaaa017/cinnamon-macos-style/blob/main/files/plank/MacCard/dock.theme): `files/plank/MacCard/dock.theme`
- [Overview styling](https://github.com/afrizaaa017/cinnamon-macos-style/blob/main/modules/60-overview-css.sh): `modules/60-overview-css.sh`
- [Overview styles](https://github.com/afrizaaa017/cinnamon-macos-style/blob/main/files/overview.css): `files/overview.css`
- [Genie tuning](https://github.com/afrizaaa017/cinnamon-macos-style/blob/main/modules/70-magiclamp.sh): `modules/70-magiclamp.sh`

### Desktop extras

- [Conky widgets](https://github.com/afrizaaa017/cinnamon-macos-style/blob/main/modules/80-conky.sh): `modules/80-conky.sh`
- [Widget configs](https://github.com/afrizaaa017/cinnamon-macos-style/tree/main/files/conky): `files/conky`
- [Desktop dependencies](https://github.com/afrizaaa017/cinnamon-macos-style/blob/main/docs/DEPENDENCIES.md): `docs/DEPENDENCIES.md`

### Other components

- **User**
- **wmctrl and X11**

## Connections

- User → Installer: chooses modules (evidence: `README.md`)
- Installer → Installer helpers: uses helpers
- User → Restore changes: requests restore (evidence: `README.md`)
- Installer → Cinnamon setup: installs module (evidence: `README.md`)
- Installer → Top panel: installs optional (evidence: `README.md`)
- Installer → Terminal theme: installs module (evidence: `README.md`)
- Installer → Touchpad gestures: installs module (evidence: `README.md`)
- Installer → Plank dock: installs module (evidence: `README.md`)
- Installer → VS Code colors: installs module (evidence: `README.md`)
- Installer → Overview styling: installs module (evidence: `README.md`)
- Installer → Genie tuning: installs module (evidence: `README.md`)
- Installer → Conky widgets: installs optional (evidence: `README.md`)
- VS Code colors → VS Code palette: merges colors (evidence: `README.md`)
- Dock hint → wmctrl and X11: queries windows (evidence: `files/dock-hint.py`)
- Plank dock → Dock hint: provides hint
- Overview styling → Overview styles: styles overview (evidence: `README.md`)
- Conky widgets → Widget configs: configures widgets
- Installer → Desktop dependencies: documents prerequisites (evidence: `README.md`)
