#! /usr/bin/env sh dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK systemctl --user stop pipewire{,-pulse}.{socket,service} xdg-desktop-portal xdg-desktop-portal-wlr systemctl --user start pipewire{,-pulse}.{socket,service} xdg-desktop-portal xdg-desktop-portal-wlr