diff --git a/.config/scripts/libvirt/attach-usb b/.config/scripts/libvirt/attach-usb index 8328cc5..c77395e 100755 --- a/.config/scripts/libvirt/attach-usb +++ b/.config/scripts/libvirt/attach-usb @@ -3,6 +3,7 @@ script_location="$(readlink -f "$0")" cd "$(dirname $script_location)" if [ "$(id -u)" -ne "0" ]; then + pkttyagent --process $$ & pkexec --keep-cwd sh -c "\ WAYLAND_DISPLAY=\"$WAYLAND_DISPLAY\"\ DISPLAY=\"$DISPLAY\"\