#!/bin/bash
[ -n "$@" ] && _gui=grep -Po '(?<=--gui=)\S+' <<< "$@"
: ${_gui=qt6}

exec python /usr/share/youplay/youplay.py --gui=$_gui
