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:
10 files changed
+326
-678
No files matched your search
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
# Build FWS-DeskManager and open its GTK4 window in a single step.
|
||||
# Usage: ./run.sh [--cli <command>...]
|
||||
# Usage: ./run.sh
|
||||
#
|
||||
# BUILD_DIR / BUILD_TYPE override the defaults when a separate build tree is
|
||||
# needed (for example BUILD_DIR=build-debug BUILD_TYPE=Debug ./run.sh).
|
||||
@@ -17,9 +17,4 @@ jobs="$(nproc)"
|
||||
cmake -S . -B "$build_dir" -DCMAKE_BUILD_TYPE="$build_type"
|
||||
cmake --build "$build_dir" -j"$jobs"
|
||||
|
||||
if [[ "${1:-}" == "--cli" ]]; then
|
||||
shift
|
||||
exec "$build_dir/fws-deskmanager" "$@"
|
||||
fi
|
||||
|
||||
exec "$build_dir/fws-deskmanager-gui"
|
||||
exec "$build_dir/fws-deskmanager"
|
||||
Reference in new issue
Block a user