tony / oxwm

Branch: 2971baf
Switch branches/tags
master
tonybtw Fixed justfile and added cursor. I was gaslit by cached binaries. 9b07b6c 2025-10-12
41 lines · 790 B Raw Blame History
1 build:
2 cargo build --release
3
4 install: build
5 cp target/release/oxwm ~/.local/bin/oxwm
6 chmod +x ~/.local/bin/oxwm
7 @echo "✓ oxwm installed to ~/.local/bin/oxwm"
8 @echo " Run 'oxwm --init' to set up your config"
9
10 uninstall:
11 rm -f ~/.local/bin/oxwm
12 @echo "✓ oxwm uninstalled"
13 @echo " Your config at ~/.config/oxwm is preserved"
14
15 clean:
16 cargo clean
17
18 test:
19 pkill Xephyr || true
20 rm -rf ~/.cache/oxwm
21 Xephyr -screen 1280x800 :1 & sleep 1
22 DISPLAY=:1 cargo run --release
23
24 init:
25 cargo run -- --init
26
27 recompile:
28 cargo run -- --recompile
29
30 edit:
31 $EDITOR ~/.config/oxwm/config.rs
32
33 check:
34 cargo clippy -- -W clippy::all
35 cargo fmt -- --check
36
37 fmt:
38 cargo fmt
39
40 pre-commit: fmt check build
41 @echo "✓ All checks passed!"