aboutsummaryrefslogtreecommitdiffstats
path: root/bwrap/iceweasel-uxp.bash
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-11-26 22:37:56 -0500
committerJesús <heckyel@hyperbola.info>2021-11-26 22:37:56 -0500
commit7ff0d1452fa598ddf88ffb635ed85006a5e871aa (patch)
tree7745410a6ea7b1e7d4798c02addef5247e809887 /bwrap/iceweasel-uxp.bash
parentcadef2c0a4910dc6e2ae4ee015d2faa92a395c97 (diff)
downloadi3-config-7ff0d1452fa598ddf88ffb635ed85006a5e871aa.tar.lz
i3-config-7ff0d1452fa598ddf88ffb635ed85006a5e871aa.tar.xz
i3-config-7ff0d1452fa598ddf88ffb635ed85006a5e871aa.zip
bwrap: improve audio support
Diffstat (limited to 'bwrap/iceweasel-uxp.bash')
-rw-r--r--bwrap/iceweasel-uxp.bash6
1 files changed, 3 insertions, 3 deletions
diff --git a/bwrap/iceweasel-uxp.bash b/bwrap/iceweasel-uxp.bash
index af69846..2b1d0ca 100644
--- a/bwrap/iceweasel-uxp.bash
+++ b/bwrap/iceweasel-uxp.bash
@@ -32,7 +32,7 @@ set -euo pipefail
--ro-bind /var/cache/fontconfig /var/cache/fontconfig \
--ro-bind /var/lib/alsa /var/lib/alsa \
--bind-try /tmp/sndio /tmp/sndio \
- --bind-try /tmp/sndio-1000 /tmp/sndio-1000 \
+ --bind-try /tmp/sndio-"$(id -u)" /tmp/sndio-"$(id -u)" \
--bind-try "${HOME}/.sndio" "${HOME}/.sndio" \
--ro-bind "${HOME}/.Xauthority" "${HOME}/.Xauthority" \
--bind "${HOME}/.cache/hyperbola" "${HOME}/.cache/hyperbola" \
@@ -54,7 +54,7 @@ set -euo pipefail
--file 12 /etc/group \
--new-session \
/usr/bin/iceweasel-uxp) \
- 11< <(getent passwd $UID 65534) \
- 12< <(getent group "$(id -g)" 65534)
+ 11< <(getent passwd $UID 65534 audio) \
+ 12< <(getent group "$(id -g)" 65534 audio)
# note: running iceweasel-uxp mode sanbox