tony / oxwm

Branch: 026dcd9
Switch branches/tags
master
tonybtw converted keycodes to keysyms for international support, with 0 performance hit, fixed fullscreen behaviour to actually work as intended (toggle globally), fixed issue where dragging a window from monitor 1 to monitor 2, and then retiling it would tile it back to monitor 1, fixed bug where gentleman from discord was reporting he couldnt exit insert mode in vim, added support for increasing brightness and audio. c15cb28 2025-11-03
48 lines · 1.1 KB 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 create your config"
9
10 uninstall:
11 rm -f ~/.local/bin/oxwm
12 @echo "✓ oxwm uninstalled"
13 @echo " Your config at ~/.config/oxwm/config.ron is preserved"
14
15 clean:
16 cargo clean
17
18 test-clean:
19 pkill Xephyr || true
20 rm -rf ~/.config/oxwm
21 Xephyr -screen 1280x800 :1 & sleep 1
22 DISPLAY=:1 cargo run --release -- --config resources/test-config.ron
23
24 test:
25 pkill Xephyr || true
26 Xephyr -screen 1280x800 :1 & sleep 1
27 DISPLAY=:1 cargo run --release -- --config resources/test-config.ron
28
29 test-multimon:
30 pkill Xephyr || true
31 Xephyr +xinerama -screen 640x480 -screen 640x480 :1 & sleep 1
32 DISPLAY=:1 cargo run --release -- --config resources/test-config.ron
33
34 init:
35 cargo run --release -- --init
36
37 edit:
38 $EDITOR ~/.config/oxwm/config.ron
39
40 check:
41 cargo clippy -- -W clippy::all
42 cargo fmt -- --check
43
44 fmt:
45 cargo fmt
46
47 pre-commit: fmt check build
48 @echo "✓ All checks passed!"