Skip to content

armgit / WacOS

Public Imported from GitHub
0

A new style desktop shell for Windows 11: menu bar, Dock, Finder, Spotlight, Control Center and Liquid Glass, in native C++.

Rust

Add screenshots to the README

Eternity0706282d911cb4e145
diff --git a/README.md b/README.md
index 6f61f5b..bd8e976 100644
--- a/README.md
+++ b/README.md
@@ -7,6 +7,18 @@ the macOS Tahoe look with Liquid Glass.
Everything is native C++ (Win32, Direct2D, DirectComposition). No Electron, no web views.
+![WacOS desktop: menu bar, Dock and widgets](docs/screenshots/desktop.png)
+
+## Screenshots
+
+| | |
+|---|---|
+| ![Control Center in Liquid Glass](docs/screenshots/control-center.png) **Control Center** in Liquid Glass, with real refraction and chromatic aberration | ![Notification Center](docs/screenshots/notification-center.png) **Notification Center** with widgets |
+| ![Spotlight](docs/screenshots/spotlight.png) **Spotlight** | ![Spotlight Applications mode](docs/screenshots/spotlight-apps.png) **Applications** (Spotlight's Apps mode, with categories) |
+| ![Finder](docs/screenshots/finder.png) **Finder** | ![System Settings](docs/screenshots/system-settings.png) **System Settings** |
+| ![Activity Monitor](docs/screenshots/activity-monitor.png) **Activity Monitor** | ![Force Quit Applications](docs/screenshots/force-quit.png) **Force Quit Applications** (Ctrl+Alt+Esc) |
+| ![macOS alert](docs/screenshots/alert.png) Windows message boxes become **macOS alerts** | ![Dock icon styles](docs/screenshots/dock-icon-styles.png) **Dock icon styles**: Default, Dark, Clear and Tinted |
+
## Features
- **Menu bar** with the active app's real menus, the Apple menu, status icons and the system tray.
diff --git a/docs/registro-mudancas.txt b/docs/registro-mudancas.txt
index 7a82750..d307d19 100644
--- a/docs/registro-mudancas.txt
+++ b/docs/registro-mudancas.txt
@@ -565,3 +565,5 @@ Compilado (tudo), instalado, Shell e reserva do Finder reiniciados às 23:07 sem
[2026-11-17 01:36 PC] GitHub, a pedido: apagadas as releases build-1 a build-11 (e as tags); a última (commit c560c65) publicada de novo como build-1, com bin ersao.txt dentro do zip trocado para build-1. Repositório renzyxx/WacOS agora PÚBLICO (o Atualizar funciona sem token; conferido com atualizar-github.ps1 -Verificar). Workflow numera em sequência a partir das releases existentes (commit local b7b04c4) e README sem o trecho do token: commits locais, sobem quando o usuário mandar.
[2026-11-17 02:00 PC] INSTALADOR BAIXA O QUE É DA APPLE (o usuário: não pode ir no GitHub; o pacote do GitHub vinha sem fontes, sons e cursor). toolsaixar-apple.ps1 + instalar.ps1 (perguntas, só na instalação nova): fontes SF Pro e SF Mono do site da Apple (devimages-cdn.apple.com .dmg -> .pkg -> Payload pelo 7-Zip; winget instala o 7-Zip se faltar); os 14 sons de alerta do repositório extratone/macOSsystemsounds (AIFF -> WAV 16 bits); o cursor macOS Tahoe do DeviantArt (jimmyxd2): abre a página e pega o .zip/.rar/.7z ou pasta da pasta Downloads com o arrowS.cur, mapa dos 17 ponteiros. Testados aqui, numa pasta de teste: 30 fontes em 14 s, 14 sons (Glass 1,65 s como o atual), cursor a partir de um .zip feito do cursor instalado. O fluxo do DeviantArt (abrir a página e esperar) não foi testado. empacotar leva o baixar-apple.ps1; README explica. instalar.ps1 também avisa quando é rodado do código-fonte. Commits locais.
+
+[2026-11-17 13:10 PC] FOTOS PARA O README (docs\screenshots, 11 imagens): área de trabalho, Central de Controle, Notificações, Spotlight e Aplicativos, Finder, Ajustes, Monitor de Atividade, Forçar Encerrar, alerta e os quatro estilos do Dock. As janelas do usuário foram minimizadas durante as fotos e restauradas (wac-janelas.ps1); janelas de outros programas borradas automaticamente pela lista de janelas; borrado à mão: cidade do widget do tempo, miniaturas do Dock, texto das notificações, conta e fotos no Ajustes, usuário na barra do Finder e na coluna Usuário do Monitor. Estilo de ícones lido (padrao) e devolvido. Shell: mensagem nova ShellAbrirPainel (1 Launchpad, 2 Mission Control, 3-6 Spotlight no modo, 7 Spotlight), que entra na fila de entrada da janela da frente para poder vir para a frente. README com a seção Screenshots. Commit local.
diff --git a/docs/screenshots/activity-monitor.png b/docs/screenshots/activity-monitor.png
new file mode 100644
index 0000000..80379fc
Binary files /dev/null and b/docs/screenshots/activity-monitor.png differ
diff --git a/docs/screenshots/alert.png b/docs/screenshots/alert.png
new file mode 100644
index 0000000..2edf743
Binary files /dev/null and b/docs/screenshots/alert.png differ
diff --git a/docs/screenshots/control-center.png b/docs/screenshots/control-center.png
new file mode 100644
index 0000000..8228a4a
Binary files /dev/null and b/docs/screenshots/control-center.png differ
diff --git a/docs/screenshots/desktop.png b/docs/screenshots/desktop.png
new file mode 100644
index 0000000..9b10b5f
Binary files /dev/null and b/docs/screenshots/desktop.png differ
diff --git a/docs/screenshots/dock-icon-styles.png b/docs/screenshots/dock-icon-styles.png
new file mode 100644
index 0000000..bf3e1e2
Binary files /dev/null and b/docs/screenshots/dock-icon-styles.png differ
diff --git a/docs/screenshots/finder.png b/docs/screenshots/finder.png
new file mode 100644
index 0000000..5ac6188
Binary files /dev/null and b/docs/screenshots/finder.png differ
diff --git a/docs/screenshots/force-quit.png b/docs/screenshots/force-quit.png
new file mode 100644
index 0000000..f71d502
Binary files /dev/null and b/docs/screenshots/force-quit.png differ
diff --git a/docs/screenshots/notification-center.png b/docs/screenshots/notification-center.png
new file mode 100644
index 0000000..d6044b0
Binary files /dev/null and b/docs/screenshots/notification-center.png differ
diff --git a/docs/screenshots/spotlight-apps.png b/docs/screenshots/spotlight-apps.png
new file mode 100644
index 0000000..d3bd486
Binary files /dev/null and b/docs/screenshots/spotlight-apps.png differ
diff --git a/docs/screenshots/spotlight.png b/docs/screenshots/spotlight.png
new file mode 100644
index 0000000..eb2697e
Binary files /dev/null and b/docs/screenshots/spotlight.png differ
diff --git a/docs/screenshots/system-settings.png b/docs/screenshots/system-settings.png
new file mode 100644
index 0000000..6d798a0
Binary files /dev/null and b/docs/screenshots/system-settings.png differ
diff --git a/src/shell/main.cpp b/src/shell/main.cpp
index ae167ae..9f0d01a 100644
--- a/src/shell/main.cpp
+++ b/src/shell/main.cpp
@@ -661,6 +661,21 @@ static LRESULT CALLBACK MsgProc(HWND h, UINT m, WPARAM w, LPARAM l) {
if (m == openNC && openNC) { notificacoes::Toggle(); return 0; }
static UINT openSP = RegisterWindowMessageW(L"ShellAbrirSpotlight"); // abre/fecha o Spotlight de fora (como o Win+Espaço)
if (m == openSP && openSP) { PostMessageW(h, WM_APP_SPOTLIGHT, 0, 0); return 0; }
+ // abre um painel de fora (fotos do README, testes): 1 Launchpad/Apps, 2 Mission Control, 3..6 Spotlight no modo 1..4
+ static UINT openPanel = RegisterWindowMessageW(L"ShellAbrirPainel");
+ if (m == openPanel && openPanel) {
+ // pedido de fora: o Windows não deixa o Shell vir para a frente sozinho (o Spotlight e o Launchpad fechavam na
+ // hora, sem foco). Entra na fila de entrada da janela da frente enquanto abre, como os alertas fazem.
+ HWND fg = GetForegroundWindow();
+ DWORD ft = fg ? GetWindowThreadProcessId(fg, nullptr) : 0, me = GetCurrentThreadId();
+ bool att = ft && ft != me && AttachThreadInput(me, ft, TRUE);
+ if (w == 1) launchpad::Toggle();
+ else if (w == 2) missioncontrol::Toggle();
+ else if (w >= 3 && w <= 6) spotlight::OpenMode((int)w - 2);
+ else if (w == 7) spotlight::Toggle();
+ if (att) AttachThreadInput(me, ft, FALSE);
+ return 0;
+ }
static UINT capVis = RegisterWindowMessageW(L"ShellCapturaVisivel"); // a Captura de Tela vai tirar a foto
if (m == capVis && capVis) { backdrop::CaptureVisible(w != 0); return 1; }
if (m == WM_COPYDATA && l && ((COPYDATASTRUCT*)l)->dwData == 0x4C504150 /*'PAPL'*/) { // Ajustes: papel de parede escolhido