minor improvements

This commit is contained in:
valoq 2022-12-04 17:41:50 +01:00
parent 0e72d910fe
commit be512d3934
No known key found for this signature in database
GPG Key ID: 19F09A0FB865CBD8
1 changed files with 1 additions and 4 deletions

View File

@ -4,10 +4,7 @@ set -euo pipefail
PROXYID=$(echo $RANDOM | base64)
## zypak expects a dbus socket, so we use a proxy to isolate the real one
xdg-dbus-proxy unix:path=/run/user/1001/bus /run/user/1001/.dbus-proxy/session-bus-proxy-"$PROXYID" &
## ! pgrep micro.sh && /usr/local/bin/micro.sh
# /usr/local/bin/micro.sh
xdg-dbus-proxy unix:path=/run/user/"$UID"/bus /run/user/"$UID"/.dbus-proxy/session-bus-proxy-"$PROXYID" &
(
exec bwrap \