install-session(-dev/-rust/-native) become install(-dev/-rust/-native) and uninstall-session becomes uninstall, so installing is just `just install`. The old names stay as hidden recipes that print a one-line note and run the new one. Docs, scripts and comments now point at the new names. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DPL5hj5zRiffcgWaggHdjv
This commit is contained in:
12 files changed
+53
-27
No files matched your search
@@ -95,29 +95,55 @@ run-drm-native: build-release modules
|
||||
{{release_exe}} --drm --socket {{socket}} --theme {{theme}}
|
||||
|
||||
# Install the Chandra login session (display-manager entry): the wasm compositor + its host (the MoonBit host). Asks for root once.
|
||||
install-session: compositor-wasm wasmhost modules
|
||||
install: compositor-wasm wasmhost modules
|
||||
scripts/as-root python3 "{{justfile_directory()}}/session/install.py"
|
||||
|
||||
# Dev install: symlink the session into this checkout, so after one root install `just compositor-wasm wasmhost modules` is all a rebuild needs.
|
||||
install-session-dev: compositor-wasm wasmhost modules
|
||||
install-dev: compositor-wasm wasmhost modules
|
||||
scripts/as-root python3 "{{justfile_directory()}}/session/install.py" --link
|
||||
|
||||
# Install the login session with the Rust host (host-wasm) instead of the MoonBit one.
|
||||
install-session-rust: compositor-wasm host-wasm modules
|
||||
install-rust: compositor-wasm host-wasm modules
|
||||
scripts/as-root python3 "{{justfile_directory()}}/session/install.py" --rust-host
|
||||
|
||||
# Install the login session with the native compositor instead.
|
||||
install-session-native: build-release modules
|
||||
install-native: build-release modules
|
||||
scripts/as-root python3 "{{justfile_directory()}}/session/install.py" --native
|
||||
|
||||
# Reload the running session's panel modules from disk (after install-session or `just modules`), keeping their order and settings. `just reload clock-digital` reloads one. See docs/reloading.md.
|
||||
# Reload the running session's panel modules from disk (after install or `just modules`), keeping their order and settings. `just reload clock-digital` reloads one. See docs/reloading.md.
|
||||
reload *name:
|
||||
python3 session/chandra-ctl reload {{name}}
|
||||
|
||||
# Remove the login session again.
|
||||
uninstall-session:
|
||||
uninstall:
|
||||
scripts/as-root python3 "{{justfile_directory()}}/session/install.py" --remove
|
||||
|
||||
# Old names, kept so existing habits and scripts still work.
|
||||
[private]
|
||||
install-session:
|
||||
@echo "note: install-session is now 'just install'" >&2
|
||||
{{just_executable()}} --justfile "{{justfile()}}" install
|
||||
|
||||
[private]
|
||||
install-session-dev:
|
||||
@echo "note: install-session-dev is now 'just install-dev'" >&2
|
||||
{{just_executable()}} --justfile "{{justfile()}}" install-dev
|
||||
|
||||
[private]
|
||||
install-session-rust:
|
||||
@echo "note: install-session-rust is now 'just install-rust'" >&2
|
||||
{{just_executable()}} --justfile "{{justfile()}}" install-rust
|
||||
|
||||
[private]
|
||||
install-session-native:
|
||||
@echo "note: install-session-native is now 'just install-native'" >&2
|
||||
{{just_executable()}} --justfile "{{justfile()}}" install-native
|
||||
|
||||
[private]
|
||||
uninstall-session:
|
||||
@echo "note: uninstall-session is now 'just uninstall'" >&2
|
||||
{{just_executable()}} --justfile "{{justfile()}}" uninstall
|
||||
|
||||
# Start a Wayland client inside the running compositor (default: foot).
|
||||
client *cmd="foot":
|
||||
WAYLAND_DISPLAY={{socket}} {{cmd}}
|
||||
|
||||
Reference in new issue
Block a user