feat(gui): ship a themed single-binary desk manager

The CLI, the separate helper and the GUI duplicated entry points, so a
launch required two installed executables. pkexec now reuses the same
binary through --privileged-launch, and the window adopts the dark
landing-page look of the project site instead of the default GTK styling.
This commit is contained in:
BlackAngelTV committed 2026-11-13 19:57:41 +01:00
1 parent 42ddd28354
commit 939f21a946
10 files changed
+326 -678

No files matched your search

+5 -14
View File
@@ -14,25 +14,16 @@ add_library(fws-core STATIC
src/session-catalog.cpp
src/session-switcher.cpp
src/session-launcher.cpp
src/user-interface.cpp
src/desktop-catalog.cpp
)
target_include_directories(fws-core PUBLIC src)
target_compile_features(fws-core PUBLIC cxx_std_17)
target_compile_options(fws-core PRIVATE -Wall -Wextra -Wpedantic)
add_executable(fws-deskmanager src/main.cpp)
target_link_libraries(fws-deskmanager PRIVATE fws-core)
# Single executable: the GUI, plus the privileged launch reachable only through
# pkexec (--privileged-launch).
add_executable(fws-deskmanager src/gui.cpp)
target_link_libraries(fws-deskmanager PRIVATE fws-core PkgConfig::GTK4)
target_compile_options(fws-deskmanager PRIVATE -Wall -Wextra -Wpedantic)
add_executable(fws-deskmanager-gui src/gui.cpp)
target_link_libraries(fws-deskmanager-gui PRIVATE fws-core PkgConfig::GTK4)
target_compile_options(fws-deskmanager-gui PRIVATE -Wall -Wextra -Wpedantic)
# Only part of the tool that runs as root, and solely through pkexec.
add_executable(fws-deskmanager-launch src/launch-helper.cpp)
target_link_libraries(fws-deskmanager-launch PRIVATE fws-core)
target_compile_options(fws-deskmanager-launch PRIVATE -Wall -Wextra -Wpedantic)
install(TARGETS fws-deskmanager fws-deskmanager-gui fws-deskmanager-launch
RUNTIME DESTINATION bin)
install(TARGETS fws-deskmanager RUNTIME DESTINATION bin)