mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-18 05:34:02 -04:00
meson-pgo: headless-sway: export XDG_RUNTIME_DIR
This commit is contained in:
parent
098f2c0c88
commit
87b68f23cb
1 changed files with 7 additions and 0 deletions
|
|
@ -106,11 +106,18 @@ if [ ${do_pgo} = yes ]; then
|
||||||
|
|
||||||
full-headless-sway)
|
full-headless-sway)
|
||||||
./footclient --version
|
./footclient --version
|
||||||
|
|
||||||
|
runtime_dir=$(mktemp -d)
|
||||||
sway_conf=$(mktemp)
|
sway_conf=$(mktemp)
|
||||||
|
|
||||||
echo "exec ${build_dir}/foot -o tweak.render-timer=log --config=/dev/null --term=xterm sh -c \"${source_dir}/scripts/generate-alt-random-writes.py ${script_options} ${tmp_file} && cat ${tmp_file}\" && swaymsg exit" > "${sway_conf}"
|
echo "exec ${build_dir}/foot -o tweak.render-timer=log --config=/dev/null --term=xterm sh -c \"${source_dir}/scripts/generate-alt-random-writes.py ${script_options} ${tmp_file} && cat ${tmp_file}\" && swaymsg exit" > "${sway_conf}"
|
||||||
|
export XDG_RUNTIME_DIR=${runtime_dir}
|
||||||
export WLR_BACKENDS=headless
|
export WLR_BACKENDS=headless
|
||||||
|
|
||||||
sway -c "${sway_conf}"
|
sway -c "${sway_conf}"
|
||||||
|
|
||||||
rm "${sway_conf}"
|
rm "${sway_conf}"
|
||||||
|
rm -rf "${runtime_dir}"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
partial)
|
partial)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue