Compare commits
No commits in common. "c6e878e9d44fae9e2bc10c6c8f006bb43b882984" and "347782d5949d46fbc603a33a3e9c5e591de9ec67" have entirely different histories.
c6e878e9d4
...
347782d594
4 changed files with 5 additions and 6 deletions
|
@ -66,7 +66,7 @@ case "$1" in
|
||||||
grim_args+=(-)
|
grim_args+=(-)
|
||||||
;;
|
;;
|
||||||
file)
|
file)
|
||||||
grim_args+=("$(screenshot_path "${XDG_RUNTIME_DIR:-/tmp/$(whoami)}/screenshots")")
|
grim_args+=("$(screenshot_path "${XDG_RUN_TIME_DIR:-/tmp/$(whoami)}/screenshots")")
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
false
|
false
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
#!/bin/sh -x
|
#!/bin/sh -ex
|
||||||
qemu-system-x86_64 \
|
qemu-system-x86_64 \
|
||||||
-enable-kvm \
|
-enable-kvm \
|
||||||
-M q35 \
|
|
||||||
-cpu host -smp "$(("$(nproc)" / 2))" \
|
-cpu host -smp "$(("$(nproc)" / 2))" \
|
||||||
-m "$(("$(free | awk '($1 == "Mem:") { print $2 }')" / 2))K" \
|
-m "$(("$(free | awk '($1 == "Mem:") { print $2 }')" / 2))K" \
|
||||||
-net nic \
|
-net nic \
|
||||||
|
|
|
@ -4,7 +4,7 @@ exec qemu-system-x86_64 \
|
||||||
-M q35 \
|
-M q35 \
|
||||||
-cpu host -smp "$(("$(nproc)" / 2))" \
|
-cpu host -smp "$(("$(nproc)" / 2))" \
|
||||||
-m "$(("$(free | grep '^Mem:\s' | awk '{ print $NF }')" / 2))K" \
|
-m "$(("$(free | grep '^Mem:\s' | awk '{ print $NF }')" / 2))K" \
|
||||||
-device e1000,netdev=net0 \
|
|
||||||
-device nec-usb-xhci,id=xhci \
|
|
||||||
-device ich9-intel-hda -device hda-duplex \
|
-device ich9-intel-hda -device hda-duplex \
|
||||||
|
-netdev user,id=net0 -device e1000,netdev=net0 \
|
||||||
|
-device nec-usb-xhci,id=xhci \
|
||||||
"$@"
|
"$@"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh -ex
|
#!/bin/sh -ex
|
||||||
exec redox \
|
exec redox \
|
||||||
-vga qxl -spice port="$(first-free-port 5900)",addr=127.0.0.1,disable-ticketing=on \
|
-vga qxl -spice port=5900,addr=127.0.0.1,disable-ticketing=on \
|
||||||
"$@"
|
"$@"
|
||||||
|
|
Loading…
Reference in a new issue