Added broadway-run.bash

This commit is contained in:
David Thurstenson 2020-07-02 12:15:49 -05:00
parent e78305f0fb
commit e83342bdc9
1 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,16 @@
broadway-run() {
local bwdisp=:10
if [[ "$1" = "-d" ]]; then
bwdisp="$2"
shift 2
fi
env \
--ignore-environment \
# --unset=DISPLAY \
# --unset=WAYLAND_DISPLAY \
GDK_BACKEND=broadway \
BROADWAY_DISPLAY="$bwdisp" \
"$@"
}