From b2114f52b1dfab9dfb56144a0bfd3aa4d7e5c6cd Mon Sep 17 00:00:00 2001 From: S4NKALP Date: Tue, 14 Jul 2026 18:45:35 +0545 Subject: [PATCH] refactor: migrate globalmenu implementation to src/window/globalmenu and adjust documentation paths --- docs/architecture.md | 4 ++-- docs/installation.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/architecture.md b/docs/architecture.md index 4c1e424..b04e2c7 100644 --- a/docs/architecture.md +++ b/docs/architecture.md @@ -78,9 +78,9 @@ Python DBus polling is too slow, so Modus uses a C-extension at macOS-style menu bar in the top panel. - Apps export menus over `com.canonical.dbusmenu` DBus -- Custom C shim (`src/globalmenu/libmenu_button_shim.c`) forces GTK apps to +- Custom C shim (`src/window/globalmenu/libmenu_button_shim.c`) forces GTK apps to export menus even if they weren't designed to -- Python daemon (`src/globalmenu/service.py`) listens for exported menus and +- Python daemon (`src/window/globalmenu/service.py`) listens for exported menus and renders them as Fabric widgets in the panel ## 5. State Management & Services diff --git a/docs/installation.md b/docs/installation.md index af3b42f..c27d39e 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -45,9 +45,9 @@ If you prefer to install dependencies and compile the extensions manually: 4. **Compile the Global Menu Shim:** ```bash - cd src/globalmenu + cd src/window/globalmenu gcc -shared -fPIC -O2 -o libmenu_button_shim.so libmenu_button_shim.c $(pkg-config --cflags --libs gtk+-3.0) -ldl - cd ../.. + cd ../../.. ``` 5. **Start Modus:**