diff --git a/justfile b/justfile index 65d56b1..4579b59 100644 --- a/justfile +++ b/justfile @@ -28,7 +28,7 @@ tcc-build: # Build the panel's wasm modules (application menu, task list, clock, ...) into build/components. modules: - scripts/build-modules.sh + pixi run modules # Debug build of the native compositor, compiled and linked with tcc ($TCC, the vendored build if present, or tcc on PATH). Never builds tcc itself. build: @@ -40,7 +40,7 @@ build-release: moon build --target native --release --warn-list -a compositor/bin # Run the compositor, built as a wasm component, in a window on your current Wayland session (close the window or Ctrl-C to stop). Connect clients via `just client`. The panel is empty until panel modules run in the component; `just run-native` has them. -run: compositor-wasm host-wasm +run: compositor-wasm host-wasm modules rm -f {{socket}} host-wasm/target/release/chandra-host build/compositor.wasm --socket {{socket}} --theme {{theme}} --window diff --git a/pixi.toml b/pixi.toml index 2a3025e..3f42175 100644 --- a/pixi.toml +++ b/pixi.toml @@ -13,3 +13,6 @@ seatd = ">=0.9.3,<0.10" CPATH = "$CONDA_PREFIX/include" LIBRARY_PATH = "$CONDA_PREFIX/lib" LD_LIBRARY_PATH = "$CONDA_PREFIX/lib" + +[tasks] +modules = "scripts/build-modules.sh" diff --git a/scripts/components.txt b/scripts/components.txt index d566ccb..fba4f3c 100644 --- a/scripts/components.txt +++ b/scripts/components.txt @@ -4,10 +4,6 @@ clock-binary clock-widget launcher launcher-widget dock launcher-widget shell shell -pulse pulse-widget -clock-digital12 clock-widget -moon-disc clock-widget -moon-text clock-widget tasks taskbar-widget layout layout-widget inspector inspector-widget