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