# aeroshell-desktop/vistathemeplasma architecture

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

- Interactive diagram: https://gitdiagram.com/aeroshell-desktop/vistathemeplasma
- Repository: https://github.com/aeroshell-desktop/vistathemeplasma

## Overview

VistaThemePlasma is a KDE Plasma desktop customization fork intended to recreate Windows Vista’s look and feel while using Plasma features. Its runtime is a collection of shell packages, plasmoids, and supporting components rather than one end-to-end application. The README documents desktop, taskbar, Start menu, tray, notifications, sound, and login customization; the tree supplies implementation paths for these areas. Edges between packages are dashed because the excerpts do not establish their runtime wiring.

Main entry points: [`plasma/shells/io.gitgud.catpswin56.desktop/contents/main.js`](https://github.com/aeroshell-desktop/vistathemeplasma/blob/Plasma/6.7/plasma/shells/io.gitgud.catpswin56.desktop/contents/main.js) (Vista desktop shell), [`plasma/plasmoids/src/systemtray_src/systemtray/systemtray.cpp`](https://github.com/aeroshell-desktop/vistathemeplasma/blob/Plasma/6.7/plasma/plasmoids/src/systemtray_src/systemtray/systemtray.cpp) (System tray), [`plasma/plasmoids/src/desktopcontainment_src/src/plugins/containment/containment.cpp`](https://github.com/aeroshell-desktop/vistathemeplasma/blob/Plasma/6.7/plasma/plasmoids/src/desktopcontainment_src/src/plugins/containment/containment.cpp) (Desktop containment), [`plasma/plasmoids/src/desktopcontainment_src/src/plugins/folder/foldermodel.cpp`](https://github.com/aeroshell-desktop/vistathemeplasma/blob/Plasma/6.7/plasma/plasmoids/src/desktopcontainment_src/src/plugins/folder/foldermodel.cpp) (Desktop icons)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_shell["Desktop shell"]
  node_desktop_shell["Vista desktop shell<br/>[main.js]"]
  node_shell_layout["Desktop layout<br/>[layout.js]"]
  node_taskbar_layout["Taskbar layout<br/>[layout.js]"]
end

subgraph group_widgets["Desktop widgets"]
  node_desktop_containment["Desktop containment<br/>[containment.cpp]"]
  node_folder_view["Desktop icons<br/>[foldermodel.cpp]"]
  node_position_manager["Item positioning"]
  node_vista_start["Vista Start menu<br/>[VistaStart.cpp]"]
  node_taskbar_tasks["Taskbar tasks<br/>[seventasks.cpp]"]
  node_quicklaunch["Quick launch<br/>[quicklaunch_p.cpp]"]
  node_sidebar["Sidebar<br/>[sidebar.cpp]"]
end

subgraph group_services["Desktop services"]
  node_system_tray["System tray<br/>[systemtray.cpp]"]
  node_service_observer["Tray service watcher"]
  node_menu_importer["DBus menu importer"]
  node_notifications["Notifications"]
  node_volume["Volume widget<br/>[volume.cpp]"]
end

subgraph group_setup["Setup and settings"]
  node_setup_app["First-run setup<br/>[main.cpp]"]
  node_setup_actions["Setup actions<br/>[app.cpp]"]
  node_effects_model["Effects settings<br/>[effectsmodel.cpp]"]
  node_sddm_theme["Login theme"]
end

node_plasma_user(("Plasma user"))
node_plasma_host["KDE Plasma"]

node_plasma_user -.->|"uses desktop"| node_plasma_host
node_plasma_host -.->|"loads shell"| node_desktop_shell
node_desktop_shell -.->|"uses layout"| node_shell_layout
node_desktop_shell -.->|"hosts containment"| node_desktop_containment
node_desktop_shell -.->|"uses layout"| node_taskbar_layout
node_desktop_containment -.->|"provides icons"| node_folder_view
node_folder_view -.->|"tracks positions"| node_position_manager
node_plasma_host -.->|"loads widget"| node_vista_start
node_plasma_host -.->|"loads widget"| node_taskbar_tasks
node_plasma_host -.->|"loads widget"| node_quicklaunch
node_plasma_host -.->|"loads widget"| node_sidebar
node_plasma_host -.->|"loads widget"| node_system_tray
node_system_tray -.->|"watches services"| node_service_observer
node_system_tray -.->|"imports menus"| node_menu_importer
node_plasma_host -.->|"loads widget"| node_notifications
node_plasma_host -.->|"loads widget"| node_volume
node_plasma_host -.->|"starts setup"| node_setup_app
node_setup_app -->|"invokes actions"| node_setup_actions
node_setup_actions -->|"uses model"| node_effects_model
node_plasma_host -.->|"uses login theme"| node_sddm_theme

click node_desktop_shell "https://github.com/aeroshell-desktop/vistathemeplasma/blob/Plasma/6.7/plasma/shells/io.gitgud.catpswin56.desktop/contents/main.js"
click node_shell_layout "https://github.com/aeroshell-desktop/vistathemeplasma/blob/Plasma/6.7/plasma/shells/io.gitgud.catpswin56.desktop/contents/layout.js"
click node_taskbar_layout "https://github.com/aeroshell-desktop/vistathemeplasma/blob/Plasma/6.7/plasma/layout-templates/io.gitgud.catpswin56.taskbar/contents/layout.js"
click node_desktop_containment "https://github.com/aeroshell-desktop/vistathemeplasma/blob/Plasma/6.7/plasma/plasmoids/src/desktopcontainment_src/src/plugins/containment/containment.cpp"
click node_folder_view "https://github.com/aeroshell-desktop/vistathemeplasma/blob/Plasma/6.7/plasma/plasmoids/src/desktopcontainment_src/src/plugins/folder/foldermodel.cpp"
click node_position_manager "https://github.com/aeroshell-desktop/vistathemeplasma/blob/Plasma/6.7/libpositionmanager/positionmanager.cpp"
click node_vista_start "https://github.com/aeroshell-desktop/vistathemeplasma/blob/Plasma/6.7/plasma/plasmoids/src/vistastart_src/src/VistaStart.cpp"
click node_taskbar_tasks "https://github.com/aeroshell-desktop/vistathemeplasma/blob/Plasma/6.7/plasma/plasmoids/src/vistatasks_src/src/seventasks.cpp"
click node_quicklaunch "https://github.com/aeroshell-desktop/vistathemeplasma/blob/Plasma/6.7/plasma/plasmoids/src/quicklaunch_src/src/quicklaunch_p.cpp"
click node_sidebar "https://github.com/aeroshell-desktop/vistathemeplasma/blob/Plasma/6.7/plasma/plasmoids/src/sidebar_src/src/sidebar.cpp"
click node_system_tray "https://github.com/aeroshell-desktop/vistathemeplasma/blob/Plasma/6.7/plasma/plasmoids/src/systemtray_src/systemtray/systemtray.cpp"
click node_service_observer "https://github.com/aeroshell-desktop/vistathemeplasma/blob/Plasma/6.7/plasma/plasmoids/src/systemtray_src/systemtray/dbusserviceobserver.cpp"
click node_menu_importer "https://github.com/aeroshell-desktop/vistathemeplasma/blob/Plasma/6.7/plasma/plasmoids/src/systemtray_src/libdbusmenuqt/dbusmenuimporter.cpp"
click node_notifications "https://github.com/aeroshell-desktop/vistathemeplasma/blob/Plasma/6.7/plasma/plasmoids/src/notifications_src/notifications/notificationapplet.cpp"
click node_volume "https://github.com/aeroshell-desktop/vistathemeplasma/blob/Plasma/6.7/plasma/plasmoids/src/volume_src/src/volume.cpp"
click node_setup_app "https://github.com/aeroshell-desktop/vistathemeplasma/blob/Plasma/6.7/plasma/vtpootb/src/main.cpp"
click node_setup_actions "https://github.com/aeroshell-desktop/vistathemeplasma/blob/Plasma/6.7/plasma/vtpootb/src/app.cpp"
click node_effects_model "https://github.com/aeroshell-desktop/vistathemeplasma/blob/Plasma/6.7/plasma/vtpootb/src/effectsmodel.cpp"
click node_sddm_theme "https://github.com/aeroshell-desktop/vistathemeplasma/tree/Plasma/6.7/plasma/sddm"

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_desktop_shell,node_shell_layout,node_taskbar_layout,node_plasma_user toneBlue
class node_desktop_containment,node_folder_view,node_position_manager,node_vista_start,node_taskbar_tasks,node_quicklaunch,node_sidebar toneAmber
class node_system_tray,node_service_observer,node_menu_importer,node_notifications,node_volume toneMint
class node_setup_app,node_setup_actions,node_effects_model,node_sddm_theme toneRose
class node_plasma_host toneIndigo
```

## Components

### Desktop shell

- [Vista desktop shell](https://github.com/aeroshell-desktop/vistathemeplasma/blob/Plasma/6.7/plasma/shells/io.gitgud.catpswin56.desktop/contents/main.js): `plasma/shells/io.gitgud.catpswin56.desktop/contents/main.js`
- [Desktop layout](https://github.com/aeroshell-desktop/vistathemeplasma/blob/Plasma/6.7/plasma/shells/io.gitgud.catpswin56.desktop/contents/layout.js): `plasma/shells/io.gitgud.catpswin56.desktop/contents/layout.js`
- [Taskbar layout](https://github.com/aeroshell-desktop/vistathemeplasma/blob/Plasma/6.7/plasma/layout-templates/io.gitgud.catpswin56.taskbar/contents/layout.js): `plasma/layout-templates/io.gitgud.catpswin56.taskbar/contents/layout.js`

### Desktop widgets

- [Desktop containment](https://github.com/aeroshell-desktop/vistathemeplasma/blob/Plasma/6.7/plasma/plasmoids/src/desktopcontainment_src/src/plugins/containment/containment.cpp): `plasma/plasmoids/src/desktopcontainment_src/src/plugins/containment/containment.cpp`
- [Desktop icons](https://github.com/aeroshell-desktop/vistathemeplasma/blob/Plasma/6.7/plasma/plasmoids/src/desktopcontainment_src/src/plugins/folder/foldermodel.cpp): `plasma/plasmoids/src/desktopcontainment_src/src/plugins/folder/foldermodel.cpp`
- [Item positioning](https://github.com/aeroshell-desktop/vistathemeplasma/blob/Plasma/6.7/libpositionmanager/positionmanager.cpp): `libpositionmanager/positionmanager.cpp`
- [Vista Start menu](https://github.com/aeroshell-desktop/vistathemeplasma/blob/Plasma/6.7/plasma/plasmoids/src/vistastart_src/src/VistaStart.cpp): `plasma/plasmoids/src/vistastart_src/src/VistaStart.cpp`
- [Taskbar tasks](https://github.com/aeroshell-desktop/vistathemeplasma/blob/Plasma/6.7/plasma/plasmoids/src/vistatasks_src/src/seventasks.cpp): `plasma/plasmoids/src/vistatasks_src/src/seventasks.cpp`
- [Quick launch](https://github.com/aeroshell-desktop/vistathemeplasma/blob/Plasma/6.7/plasma/plasmoids/src/quicklaunch_src/src/quicklaunch_p.cpp): `plasma/plasmoids/src/quicklaunch_src/src/quicklaunch_p.cpp`
- [Sidebar](https://github.com/aeroshell-desktop/vistathemeplasma/blob/Plasma/6.7/plasma/plasmoids/src/sidebar_src/src/sidebar.cpp): `plasma/plasmoids/src/sidebar_src/src/sidebar.cpp`

### Desktop services

- [System tray](https://github.com/aeroshell-desktop/vistathemeplasma/blob/Plasma/6.7/plasma/plasmoids/src/systemtray_src/systemtray/systemtray.cpp): `plasma/plasmoids/src/systemtray_src/systemtray/systemtray.cpp`
- [Tray service watcher](https://github.com/aeroshell-desktop/vistathemeplasma/blob/Plasma/6.7/plasma/plasmoids/src/systemtray_src/systemtray/dbusserviceobserver.cpp): `plasma/plasmoids/src/systemtray_src/systemtray/dbusserviceobserver.cpp`
- [DBus menu importer](https://github.com/aeroshell-desktop/vistathemeplasma/blob/Plasma/6.7/plasma/plasmoids/src/systemtray_src/libdbusmenuqt/dbusmenuimporter.cpp): `plasma/plasmoids/src/systemtray_src/libdbusmenuqt/dbusmenuimporter.cpp`
- [Notifications](https://github.com/aeroshell-desktop/vistathemeplasma/blob/Plasma/6.7/plasma/plasmoids/src/notifications_src/notifications/notificationapplet.cpp): `plasma/plasmoids/src/notifications_src/notifications/notificationapplet.cpp`
- [Volume widget](https://github.com/aeroshell-desktop/vistathemeplasma/blob/Plasma/6.7/plasma/plasmoids/src/volume_src/src/volume.cpp): `plasma/plasmoids/src/volume_src/src/volume.cpp`

### Setup and settings

- [First-run setup](https://github.com/aeroshell-desktop/vistathemeplasma/blob/Plasma/6.7/plasma/vtpootb/src/main.cpp): `plasma/vtpootb/src/main.cpp`
- [Setup actions](https://github.com/aeroshell-desktop/vistathemeplasma/blob/Plasma/6.7/plasma/vtpootb/src/app.cpp): `plasma/vtpootb/src/app.cpp`
- [Effects settings](https://github.com/aeroshell-desktop/vistathemeplasma/blob/Plasma/6.7/plasma/vtpootb/src/effectsmodel.cpp): `plasma/vtpootb/src/effectsmodel.cpp`
- [Login theme](https://github.com/aeroshell-desktop/vistathemeplasma/tree/Plasma/6.7/plasma/sddm): `plasma/sddm`

### Other components

- **Plasma user**
- **KDE Plasma**

## Connections

- Plasma user → KDE Plasma: uses desktop
- KDE Plasma → Vista desktop shell: loads shell
- Vista desktop shell → Desktop layout: uses layout
- Vista desktop shell → Desktop containment: hosts containment
- Vista desktop shell → Taskbar layout: uses layout
- Desktop containment → Desktop icons: provides icons
- Desktop icons → Item positioning: tracks positions
- KDE Plasma → Vista Start menu: loads widget
- KDE Plasma → Taskbar tasks: loads widget
- KDE Plasma → Quick launch: loads widget
- KDE Plasma → Sidebar: loads widget
- KDE Plasma → System tray: loads widget
- System tray → Tray service watcher: watches services
- System tray → DBus menu importer: imports menus
- KDE Plasma → Notifications: loads widget
- KDE Plasma → Volume widget: loads widget
- KDE Plasma → First-run setup: starts setup
- First-run setup → Setup actions: invokes actions (evidence: `plasma/vtpootb/src/main.cpp`)
- Setup actions → Effects settings: uses model (evidence: `plasma/vtpootb/src/app.cpp`)
- KDE Plasma → Login theme: uses login theme
