mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-16 05:41:16 +01:00
This commit implements some of the basic plumbing needed to handle SocketMessage::ToggleWorkspaceLayer and SocketMessage::ToggleFloat. I've commented out a bunch of the raise/lower functions for now because I haven't had time to learn about how changing z-ordering on macOS works yet. Even so, this is fairly functional, and it's possible to move floating windows across workspaces, toggle the workspace layer, move floating windows by the resize delta, and change focus between floating windows. I ended up moving the window restore positions to a global map because storing/updating this kind of state on the Window properly will be a pain because hide/restore now require mut self refs and that leads to needing to clone sometimes.
38 lines
785 B
Makefile
38 lines
785 B
Makefile
export RUST_BACKTRACE := "full"
|
|
|
|
fmt:
|
|
cargo +nightly fmt
|
|
cargo +stable clippy
|
|
prettier --write README.md
|
|
|
|
clean:
|
|
cargo clean
|
|
|
|
install target:
|
|
cargo +stable install --path {{ target }} --locked --target-dir ~/.cargo/bin
|
|
|
|
build target:
|
|
cargo +stable build --package {{ target }} --locked --release
|
|
|
|
run target:
|
|
cargo +stable run --bin {{ target }} --locked
|
|
|
|
warn target $RUST_LOG="warn":
|
|
just run {{ target }}
|
|
|
|
info target $RUST_LOG="info":
|
|
just run {{ target }}
|
|
|
|
debug target $RUST_LOG="debug":
|
|
just run {{ target }}
|
|
|
|
trace target $RUST_LOG="trace":
|
|
just run {{ target }}
|
|
|
|
depgen:
|
|
cargo deny check
|
|
cargo deny list --format json | jq 'del(.unlicensed)' > dependencies.json
|
|
|
|
push:
|
|
git push origin master
|
|
git push komocorp master
|