tony / oxwm

Branch: bddfa10
Switch branches/tags
master
tonybtw Fixed justfile to point to .local/bin 4e7d825 2025-10-10
41 lines · 802 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 Xephyr -screen 1280x800 :1 & sleep 1
21 DISPLAY=:1 cargo run -- --init
22 DISPLAY=:1 ~/.cache/oxwm/oxwm-binary
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!"