#compdef j4-dmenu-desktop

# This script was generated by crazy-complete.
# crazy-complete: A tool that creates robust and reliable autocompletion scripts for Bash, Fish and Zsh.
# For more information, visit: https://github.com/crazy-complete/crazy-complete

_j4_dmenu_desktop() {
  local -a args=(
    '(- *)'{-h,--help}'[print help message]'
    '(- *)'--version'[display program version]'
    '(--display-binary -b)'{-b,--display-binary}'[display binary name after each entry]'
    '(--display-binary-base -f)'{-f,--display-binary-base}'[display binary name after each entry]'
    '(--dmenu -d)'{-d+,--dmenu=}'[command used to invoke dmenu]':' ':_command_names
    '(--no-exec)'--no-exec'[do not execute selected command, send to stdout instead]'
    '(--no-generic)'--no-generic'[do not include the generic name of desktop entries]'
    '(--term -t)'{-t+,--term=}'[sets the terminal emulator used to start terminal apps]':' ':_command_names
    '(--term-mode)'--term-mode='[set terminal emulator execution strategy]':' ':'(default xterm alacritty kitty terminator gnome-terminal custom)'
    '(--usage-log)'--usage-log='[set usage log]':' ':_files
    '(--prune-bad-usage-log-entries)'--prune-bad-usage-log-entries'[remove bad history entries]'
    '(--use-xdg-de -x)'{-x,--use-xdg-de}'[enables reading $XDG_CURRENT_DESKTOP to determine the desktop environment]'
    '(--wait-on)'--wait-on='[enable daemon mode]':' ':_files
    '(--wrapper)'--wrapper='[a wrapper binary]':' ':_command_names
    '(--i3-ipc -I)'{-I,--i3-ipc}'[execute desktop entries through i3 IPC]'
    '(--skip-i3-exec-check)'--skip-i3-exec-check'[disable the check for '"'"'--wrapper "i3 exec"'"'"']'
    '(--case-insensitive -i)'{-i,--case-insensitive}'[sort applications case insensitively]'
    '*'-v'[be more verbose, can be specified multiple times]'
    '(--log-level)'--log-level='[set loglevel]':' ':'(ERROR WARNING INFO DEBUG)'
    '(--log-file)'--log-file='[specify a log file]':' ':_files
    '(--log-file-level)'--log-file-level='[set file loglevel]':' ':'(ERROR WARNING INFO DEBUG)'
    '(--strict-parsing --desktop-file-quirks)'--desktop-file-quirks='[set compatibility modes]':' ':"_values -s , '' 'wine[compatibility with desktop files generated by Wine]' 'multispace[accept multiple spaces as argument separators in Exec]' 'nowine[]' 'nomultispace[]'"
    '(--desktop-file-quirks --strict-parsing)'--strict-parsing'[enable strict desktop file parsing]'
  )
  _arguments -S -s -w "${args[@]}"
}

_j4_dmenu_desktop "$@"

# vim: ft=zsh ts=2 sts=2 sw=2 et