Initial commit: Hyprland Windows XP SP3 desktop environment

This commit is contained in:
Carsten
2026-11-27 19:57:23 +01:00
commit 4bc6a84a16
7394 changed files with 77367 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
# Binary & media assets tracked via Git LFS
*.png filter=lfs diff=lfs merge=lfs -text
*.jpg filter=lfs diff=lfs merge=lfs -text
*.jpeg filter=lfs diff=lfs merge=lfs -text
*.bmp filter=lfs diff=lfs merge=lfs -text
*.ico filter=lfs diff=lfs merge=lfs -text
*.webp filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.otf filter=lfs diff=lfs merge=lfs -text
*.wav filter=lfs diff=lfs merge=lfs -text
*.ogg filter=lfs diff=lfs merge=lfs -text
*.mp3 filter=lfs diff=lfs merge=lfs -text
*.hlc filter=lfs diff=lfs merge=lfs -text
assets/icons/standard-with-shadow/cursors/** filter=lfs diff=lfs merge=lfs -text
assets/icons/standard-no-shadow/cursors/** filter=lfs diff=lfs merge=lfs -text
assets/icons/standard-with-shadow/hyprcursors/** filter=lfs diff=lfs merge=lfs -text
assets/icons/standard-no-shadow/hyprcursors/** filter=lfs diff=lfs merge=lfs -text
+11
View File
@@ -0,0 +1,11 @@
# Compiled binaries & caches (rebuilt by install.sh)
*.o
*.so
*.a
src/xp-alttab-ctl/xp-alttab-ctl
**/__pycache__/
*.pyc
icon-theme.cache
*.tmp
*.bak
.DS_Store
+61
View File
@@ -0,0 +1,61 @@
# Hyprland Windows XP Desktop Environment
A complete, GNOME-isolated Windows XP SP3 (Luna Blue + 8 additional XP visual styles) desktop environment for **Hyprland 0.53** on Ubuntu 26.04 LTS, combining `xfce-winxp-tc` themes with pixel-accurate assets and geometry extracted from Windows XP SP3.
## Highlights
- **4-Sided XP Window Decorations (`src/hyprbars-xp/`)**: Custom Hyprland 0.53 plugin forked from `hyprbars`, rendering authentic `xfwm4/` PNG titlebars (`Trebuchet MS Bold`, active/inactive/hover/pressed caption buttons) and seamless 4-sided 3D-beveled PNG window frames.
- **Native Two-Column Start Menu (`bin/xp-start-menu`)**: Resident GTK3 + `GtkLayerShell` daemon with pinned apps, All Programs flyout, Places column, Log Off / Turn Off bar, and synced pressed Start button state on Waybar.
- **Native `CoolSwitch` Alt+Tab Switcher (`bin/xp-alttab` + `src/xp-alttab-ctl/`)**: Fixed-width classic Windows XP Alt+Tab icon grid with `<1ms` Unix-socket IPC, MRU focus ordering, hold-`Alt` / tap-`Tab` / release-`Alt` switching, and automatic theme syncing.
- **1:1 Windows XP SP3 LogonUI Lockscreen (`config/hypr/hyprlock.conf` + `bin/xp-generate-logon-bg`)**: Pixel-exact `logonui.exe` (`UIFILE 1000`) layout with true 32-bit RGBA golden userpic frame, glowing dividers, Turn Off Computer bar, and zero animations.
- **Taskbar & Balloon Notifications (`config/waybar/`, `config/swaync/`)**: 30px Luna Blue taskbar with gripper, Quick Launch, 16×16 tray icons, and `comctl32_v6` balloon tooltips with XP close-button states.
- **Turn Off Computer Dialog (`bin/xp-shutdown-dialog`)**: Native `313×198` `msgina.dll` GTK3 + `GtkLayerShell` dialog.
- **9 Switchable XP Visual Styles (`bin/xp-theme-switch`)**: Luna Blue, Olive Green, Silver, Royale, Royale Noir, Zune, Embedded, Professional, and Windows Classic—including GTK3/GTK4 SSD toolbar fixes for `swappy`, `thunar`, `ghostty`, and `GtkMessageDialog`.
- **100% GNOME Isolation**: Uses an isolated `DCONF_PROFILE=~/.config/hypr/dconf/profile` (`user-db:hyprland_xp`), dedicated session launcher (`session/hyprland-xp-session`), and masked systemd user units so Ubuntu's GNOME session remains completely untouched.
## Repository Layout
| Path | Description |
| --- | --- |
| `config/` | User dotfiles (`hypr`, `waybar`, `swaync`, `rofi`, `ghostty`, `qt5ct`, `qt6ct`, `fontconfig`, `xdg-desktop-portal`, `xfce4`) |
| `bin/` | Native Python/Bash daemons & utilities (`xp-start-menu`, `xp-alttab`, `xp-shutdown-dialog`, `xp-theme-switch`, `xp-generate-logon-bg`) |
| `src/hyprbars-xp/` | Custom 4-sided XP titlebar + frame Hyprland plugin (C++) |
| `src/xp-alttab-ctl/` | Ultra-fast C Unix-socket client for `xp-alttab` |
| `session/` | GDM Wayland session desktop entry & isolated session wrapper |
| `assets/` | Binary & media assets tracked via **Git LFS** (9 themes, `luna` icons, XCursor/Hyprcursor cursors, XP TrueType fonts, Bliss/XP wallpapers, WAV sounds, extracted `logonui`/`msgina` bitmaps) |
| `docs/` | Windows XP SP3 binary/visual analysis & Start Menu architecture notes |
## Prerequisites (Ubuntu 26.04)
```bash
sudo apt install -y \
hyprland hyprland-dev hyprpaper hyprlock hypridle hyprpolkitagent \
xdg-desktop-portal-hyprland waybar rofi sway-notification-center \
ghostty thunar mousepad ristretto engrampa pavucontrol network-manager-gnome blueman \
grim slurp swappy wl-clipboard cliphist brightnessctl playerctl \
qt5ct qt6ct qt5-gtk-platformtheme qt6-gtk-platformtheme \
python3-gi gir1.2-gtk-3.0 gir1.2-gtklayershell-0.1 python3-pil \
fonts-font-awesome g++ gcc make libgles-dev git-lfs
```
## Installation
```bash
git lfs pull
./install.sh
```
Then log out and choose **Hyprland (Windows XP)** in GDM.
## Keybindings
- `Super` / `Super+Space`: Start Menu
- `Alt+Tab` / `Alt+Shift+Tab`: Windows XP `CoolSwitch` task switcher
- `Super+R`: Run dialog
- `Super+E`: Thunar file manager
- `Super+Return` / `Super+T`: Ghostty (Command Prompt style)
- `Super+L`: Lock screen (`hyprlock` LogonUI)
- `Super+X` / `Ctrl+Alt+Delete`: Turn Off Computer dialog
- `Super+Shift+T`: Switch XP Visual Style (9 themes)
- `Super+Shift+S` / `Shift+Print`: Region screenshot + `swappy` annotation
- `Print`: Region screenshot (copy & save)
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
../../res/16x16/add.png
+1
View File
@@ -0,0 +1 @@
../../res/16x16/address_book_new.png
+1
View File
@@ -0,0 +1 @@
../../res/16x16/close.png
+1
View File
@@ -0,0 +1 @@
../../res/16x16/calendar.png
+1
View File
@@ -0,0 +1 @@
../../res/16x16/calendar.png
+1
View File
@@ -0,0 +1 @@
../../res/16x16/left.png
+1
View File
@@ -0,0 +1 @@
../../res/16x16/fave.png
@@ -0,0 +1 @@
../../res/16x16/fave.png
+1
View File
@@ -0,0 +1 @@
../../res/16x16/fave.png
+1
View File
@@ -0,0 +1 @@
../../res/16x16/call.png
+1
View File
@@ -0,0 +1 @@
../../res/16x16/call_end.png

Some files were not shown because too many files have changed in this diff Show More