2 export XDG_SESSION_TYPE
=x11
3 export QT_QPA_PLATFORM
=xcb
4 export QT_AUTO_SCREEN_SCALE_FACTOR
=1
5 export QT_STYLE_OVERRIDE
=fusion
# 解决使用自带qt情况下,字体颜色全白看不到的问题
6 export IBUS_USE_PORTAL
=1 # fix ibus
7 FONTCONFIG_DIR
=$HOME/.config
/fontconfig
10 # if pipewire-pulse installed
11 if [ -f /usr
/bin
/pipewire-pulse
]; then
12 export PULSE_LATENCY_MSEC
=20 # 解决Pipewire播放声音卡顿的问题
15 if [ -f "/usr/bin/bwrap" ];then
16 mkdir
-p $FONTCONFIG_DIR
17 bwrap
--dev-bind / / --tmpfs $HOME/.config
--ro-bind $FONTCONFIG_DIR $FONTCONFIG_DIR /opt
/wemeet
/bin
/wemeetapp $
*;
19 exec /opt
/wemeet
/bin
/wemeetapp $
*;