#compdef portprotonqt

_portprotonqt() {
    local -a opts

    opts=(
        '--fullscreen[Launch in fullscreen mode]'
        '--resolution[Launch with specific resolution]:WIDTHxHEIGHT:(1920x1080 1280x720 2560x1440 3840x2160)'
        '--debug-level[Set logging level]:LEVEL:(ALL DEBUG INFO WARNING ERROR CRITICAL)'
        '--force-muvm[Force running under muvm]'
        '--add-steam-compat-tool[Add as Steam compatibility tool]'
        '--reinstall-steam-compat-tool[Reinstall Steam compatibility tool]'
        '--remove-steam-compat-tool[Remove Steam compatibility tool]'
        '--ppqtos[Show the system tab]'
        '(-h --help)'{-h,--help}'[Show help message]'
    )

    _arguments -s "${opts[@]}" && return 0
    _files -g "*.exe"
}

