tony / oxwm

Merge pull request #107 from corarona/deb_install Browse files
xsession file, checkinstall routine, indentation fix
Tony, btw. committed 2025-12-31 parents b025365 1a1516e commit 755fc86d29961e1e5688c9ad8b44842d87676d6d
Showing 1 changed file with 14 additions and 10 deletions. UnifiedSplit
+14 −10 justfile
@@ -3,10 +3,14 @@ build:
3 3
4 4 install: build
5 5 cp target/release/oxwm /usr/bin/oxwm
6 + cp resources/oxwm.desktop /usr/share/xsessions/oxwm.desktop
6 7 chmod +x /usr/bin/oxwm
7 8 @echo "✓ oxwm installed to /usr/bin/oxwm"
8 9 @echo " Run 'oxwm --init' to create your config"
9 10
11 +checkinstall:
12 + checkinstall --pkgname oxwm --exclude /root -y just install
13 +
10 14 uninstall:
11 15 rm -f /usr/bin/oxwm
12 16 @echo "✓ oxwm uninstalled"
@@ -16,20 +20,20 @@ clean:
16 20 cargo clean
17 21
18 22 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.lua
23 + pkill Xephyr || true
24 + rm -rf ~/.config/oxwm
25 + Xephyr -screen 1280x800 :1 & sleep 1
26 + DISPLAY=:1 cargo run --release -- --config resources/test-config.lua
23 27
24 28 test:
25 - pkill Xephyr || true
26 - Xephyr -screen 1280x800 :2 & sleep 1
27 - DISPLAY=:2 cargo run --release -- --config resources/test-config.lua
29 + pkill Xephyr || true
30 + Xephyr -screen 1280x800 :2 & sleep 1
31 + DISPLAY=:2 cargo run --release -- --config resources/test-config.lua
28 32
29 33 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.lua
34 + pkill Xephyr || true
35 + Xephyr +xinerama -screen 640x480 -screen 640x480 :1 & sleep 1
36 + DISPLAY=:1 cargo run --release -- --config resources/test-config.lua
33 37
34 38 init:
35 39 cargo run --release -- --init