feat(globalmenu): got a prototype of working globalmenu for some apps

This commit is contained in:
sankalp committed 2026-06-22 15:58:10 +05:45
1 parent dd9cd58106
commit 2a15d71c33
10 files changed
+930 -123

No files matched your search

+17
View File
@@ -48,6 +48,10 @@ PACKAGES=(
uwsm
cinnamon-desktop
ddcutil
at-spi2-core
gcc
make
pkgconf
)
# Colors and formatting
@@ -286,6 +290,19 @@ else
success "All packages are up-to-date"
fi
progress "Building Global Menu C library"
step "Compiling libglobalmenu.so..."
if [ -f "$INSTALL_DIR/native/Makefile" ]; then
if make -C "$INSTALL_DIR/native" clean >/dev/null 2>&1 && make -C "$INSTALL_DIR/native" >/dev/null 2>&1; then
success "libglobalmenu.so built successfully"
else
warn "Failed to build libglobalmenu.so - global menu may not work"
fi
else
warn "native/Makefile not found - skipping C library build"
fi
progress "Configuring Hyprland"
HYPR_CONFIG="$HOME/.config/hypr/hyprland.lua"