diff --git a/srcpkgs/wayle/files/_wayle b/srcpkgs/wayle/files/_wayle new file mode 100644 index 00000000000000..da7a0f05a102ed --- /dev/null +++ b/srcpkgs/wayle/files/_wayle @@ -0,0 +1,3018 @@ +#compdef wayle + +autoload -U is-at-least + +_wayle() { + typeset -A opt_args + typeset -a _arguments_options + local ret=1 + + if is-at-least 5.2; then + _arguments_options=(-s -S -C) + else + _arguments_options=(-s -C) + fi + + local context curcontext="$curcontext" state line + _arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +'-V[Print version]' \ +'--version[Print version]' \ +":: :_wayle_commands" \ +"*::: :->wayle" \ +&& ret=0 + case $state in + (wayle) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:wayle-command-$line[1]:" + case $line[1] in + (audio) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +":: :_wayle__audio_commands" \ +"*::: :->audio" \ +&& ret=0 + + case $state in + (audio) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:wayle-audio-command-$line[1]:" + case $line[1] in + (output-volume) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +'::level -- Volume level (0-100) or relative adjustment (+5, -10):_default' \ +&& ret=0 +;; +(output-mute) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; +(input-volume) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +'::level -- Volume level (0-100) or relative adjustment (+5, -10):_default' \ +&& ret=0 +;; +(input-mute) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; +(sinks) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; +(sources) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; +(status) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; +(help) +_arguments "${_arguments_options[@]}" : \ +":: :_wayle__audio__help_commands" \ +"*::: :->help" \ +&& ret=0 + + case $state in + (help) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:wayle-audio-help-command-$line[1]:" + case $line[1] in + (output-volume) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(output-mute) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(input-volume) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(input-mute) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(sinks) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(sources) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(status) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(help) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; + esac + ;; +esac +;; + esac + ;; +esac +;; +(config) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +":: :_wayle__config_commands" \ +"*::: :->config" \ +&& ret=0 + + case $state in + (config) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:wayle-config-command-$line[1]:" + case $line[1] in + (get) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +':path -- The configuration path to retrieve (e.g., "modules.battery.enabled"):_default' \ +&& ret=0 +;; +(set) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +':path -- The configuration path to set (e.g., "modules.battery.enabled"):_default' \ +':value -- The value to set (use JSON format for complex types):_default' \ +&& ret=0 +;; +(reset) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +':path -- The configuration path to reset (e.g., "bar.button_gap"):_default' \ +&& ret=0 +;; +(schema) +_arguments "${_arguments_options[@]}" : \ +'--stdout[Print to stdout instead of writing to config directory]' \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; +(default) +_arguments "${_arguments_options[@]}" : \ +'--stdout[Print to stdout instead of writing config.toml.example]' \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; +(docs) +_arguments "${_arguments_options[@]}" : \ +'--out=[Output directory for the generated pages]:OUT:_files' \ +'--only=[Regenerate only the named module]:ONLY:_default' \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; +(help) +_arguments "${_arguments_options[@]}" : \ +":: :_wayle__config__help_commands" \ +"*::: :->help" \ +&& ret=0 + + case $state in + (help) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:wayle-config-help-command-$line[1]:" + case $line[1] in + (get) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(set) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(reset) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(schema) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(default) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(docs) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(help) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; + esac + ;; +esac +;; + esac + ;; +esac +;; +(icons) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +":: :_wayle__icons_commands" \ +"*::: :->icons" \ +&& ret=0 + + case $state in + (icons) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:wayle-icons-command-$line[1]:" + case $line[1] in + (setup) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; +(install) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +':source -- Source name (run '\''wayle icons sources'\'' to see available sources):_default' \ +'*::slugs -- Icon slugs to install (e.g., home settings bell):_default' \ +&& ret=0 +;; +(import) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +':path -- Path to SVG file or directory:_files' \ +'::name -- Icon name (required for single file, ignored for directory):_default' \ +&& ret=0 +;; +(remove) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +'*::names -- Icon names to remove (e.g., tb-home-symbolic si-firefox-symbolic):_default' \ +&& ret=0 +;; +(sources) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; +(list) +_arguments "${_arguments_options[@]}" : \ +'-s+[Filter by source prefix (e.g., tb, si, md)]:SOURCE:_default' \ +'--source=[Filter by source prefix (e.g., tb, si, md)]:SOURCE:_default' \ +'-i[Interactive fuzzy search (requires fzf)]' \ +'--interactive[Interactive fuzzy search (requires fzf)]' \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; +(open) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; +(export) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +':destination -- Destination directory for exported icons:_files' \ +&& ret=0 +;; +(help) +_arguments "${_arguments_options[@]}" : \ +":: :_wayle__icons__help_commands" \ +"*::: :->help" \ +&& ret=0 + + case $state in + (help) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:wayle-icons-help-command-$line[1]:" + case $line[1] in + (setup) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(install) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(import) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(remove) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(sources) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(list) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(open) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(export) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(help) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; + esac + ;; +esac +;; + esac + ;; +esac +;; +(media) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +":: :_wayle__media_commands" \ +"*::: :->media" \ +&& ret=0 + + case $state in + (media) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:wayle-media-command-$line[1]:" + case $line[1] in + (list) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; +(play-pause) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +'::player -- Player identifier (number or partial name match):_default' \ +&& ret=0 +;; +(next) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +'::player -- Player identifier (number or partial name match):_default' \ +&& ret=0 +;; +(previous) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +'::player -- Player identifier (number or partial name match):_default' \ +&& ret=0 +;; +(shuffle) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +'::state -- Shuffle state:((on\:"Enable shuffle" +off\:"Disable shuffle" +toggle\:"Toggle shuffle state"))' \ +'::player -- Player identifier (number or partial name match):_default' \ +&& ret=0 +;; +(loop) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +':mode -- Loop mode:((none\:"No looping" +track\:"Loop current track" +playlist\:"Loop entire playlist"))' \ +'::player -- Player identifier (number or partial name match):_default' \ +&& ret=0 +;; +(active) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +'::player -- Player to set as active (number or partial name match):_default' \ +&& ret=0 +;; +(info) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +'::player -- Player identifier (number or partial name match):_default' \ +&& ret=0 +;; +(help) +_arguments "${_arguments_options[@]}" : \ +":: :_wayle__media__help_commands" \ +"*::: :->help" \ +&& ret=0 + + case $state in + (help) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:wayle-media-help-command-$line[1]:" + case $line[1] in + (list) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(play-pause) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(next) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(previous) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(shuffle) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(loop) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(active) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(info) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(help) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; + esac + ;; +esac +;; + esac + ;; +esac +;; +(notify) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +":: :_wayle__notify_commands" \ +"*::: :->notify" \ +&& ret=0 + + case $state in + (notify) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:wayle-notify-command-$line[1]:" + case $line[1] in + (list) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; +(dismiss) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +':id -- Notification ID to dismiss:_default' \ +&& ret=0 +;; +(dismiss-all) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; +(dnd) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; +(status) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; +(help) +_arguments "${_arguments_options[@]}" : \ +":: :_wayle__notify__help_commands" \ +"*::: :->help" \ +&& ret=0 + + case $state in + (help) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:wayle-notify-help-command-$line[1]:" + case $line[1] in + (list) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(dismiss) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(dismiss-all) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(dnd) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(status) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(help) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; + esac + ;; +esac +;; + esac + ;; +esac +;; +(panel) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +":: :_wayle__panel_commands" \ +"*::: :->panel" \ +&& ret=0 + + case $state in + (panel) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:wayle-panel-command-$line[1]:" + case $line[1] in + (start) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; +(stop) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; +(restart) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; +(status) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; +(settings) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; +(inspect) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; +(hide) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +'::monitor -- Monitor connector name (e.g., "DP-1"). Omit to hide all:_default' \ +&& ret=0 +;; +(show) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +'::monitor -- Monitor connector name (e.g., "DP-1"). Omit to show all:_default' \ +&& ret=0 +;; +(toggle) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +'::monitor -- Monitor connector name (e.g., "DP-1"). Omit to toggle all:_default' \ +&& ret=0 +;; +(help) +_arguments "${_arguments_options[@]}" : \ +":: :_wayle__panel__help_commands" \ +"*::: :->help" \ +&& ret=0 + + case $state in + (help) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:wayle-panel-help-command-$line[1]:" + case $line[1] in + (start) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(stop) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(restart) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(status) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(settings) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(inspect) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(hide) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(show) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(toggle) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(help) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; + esac + ;; +esac +;; + esac + ;; +esac +;; +(power) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +":: :_wayle__power_commands" \ +"*::: :->power" \ +&& ret=0 + + case $state in + (power) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:wayle-power-command-$line[1]:" + case $line[1] in + (status) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; +(set) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +':profile -- Profile name (power-saver, balanced, performance):_default' \ +&& ret=0 +;; +(cycle) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; +(list) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; +(help) +_arguments "${_arguments_options[@]}" : \ +":: :_wayle__power__help_commands" \ +"*::: :->help" \ +&& ret=0 + + case $state in + (help) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:wayle-power-help-command-$line[1]:" + case $line[1] in + (status) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(set) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(cycle) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(list) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(help) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; + esac + ;; +esac +;; + esac + ;; +esac +;; +(systray) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +":: :_wayle__systray_commands" \ +"*::: :->systray" \ +&& ret=0 + + case $state in + (systray) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:wayle-systray-command-$line[1]:" + case $line[1] in + (list) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; +(activate) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +':id -- Tray item ID to activate:_default' \ +&& ret=0 +;; +(status) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; +(help) +_arguments "${_arguments_options[@]}" : \ +":: :_wayle__systray__help_commands" \ +"*::: :->help" \ +&& ret=0 + + case $state in + (help) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:wayle-systray-help-command-$line[1]:" + case $line[1] in + (list) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(activate) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(status) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(help) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; + esac + ;; +esac +;; + esac + ;; +esac +;; +(wallpaper) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +":: :_wayle__wallpaper_commands" \ +"*::: :->wallpaper" \ +&& ret=0 + + case $state in + (wallpaper) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:wayle-wallpaper-command-$line[1]:" + case $line[1] in + (set) +_arguments "${_arguments_options[@]}" : \ +'-f+[Image fit mode]:FIT:((fill\:"Scale to cover entire display" +fit\:"Scale to fit within display" +center\:"Display at original size, centered" +tile\:"Tile the image" +stretch\:"Stretch to fill"))' \ +'--fit=[Image fit mode]:FIT:((fill\:"Scale to cover entire display" +fit\:"Scale to fit within display" +center\:"Display at original size, centered" +tile\:"Tile the image" +stretch\:"Stretch to fill"))' \ +'--monitor=[Target monitor (e.g., DP-1, HDMI-A-1). If omitted, applies to all monitors]:MONITOR:_default' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +':path -- Path to wallpaper image:_files' \ +&& ret=0 +;; +(cycle) +_arguments "${_arguments_options[@]}" : \ +'-i+[Interval in seconds between changes]:INTERVAL:_default' \ +'--interval=[Interval in seconds between changes]:INTERVAL:_default' \ +'-m+[Cycling mode]:MODE:((sequential\:"Cycle in alphabetical order" +shuffle\:"Cycle in random order"))' \ +'--mode=[Cycling mode]:MODE:((sequential\:"Cycle in alphabetical order" +shuffle\:"Cycle in random order"))' \ +'-h[Print help (see more with '\''--help'\'')]' \ +'--help[Print help (see more with '\''--help'\'')]' \ +':directory -- Directory containing wallpaper images:_files' \ +&& ret=0 +;; +(stop) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; +(next) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; +(previous) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; +(info) +_arguments "${_arguments_options[@]}" : \ +'--monitor=[Target monitor (e.g., DP-1, HDMI-A-1). If omitted, shows global state]:MONITOR:_default' \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; +(theming-monitor) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +':monitor -- Monitor connector name (e.g., DP-1). Use empty string for default:_default' \ +&& ret=0 +;; +(help) +_arguments "${_arguments_options[@]}" : \ +":: :_wayle__wallpaper__help_commands" \ +"*::: :->help" \ +&& ret=0 + + case $state in + (help) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:wayle-wallpaper-help-command-$line[1]:" + case $line[1] in + (set) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(cycle) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(stop) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(next) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(previous) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(info) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(theming-monitor) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(help) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; + esac + ;; +esac +;; + esac + ;; +esac +;; +(idle) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +":: :_wayle__idle_commands" \ +"*::: :->idle" \ +&& ret=0 + + case $state in + (idle) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:wayle-idle-command-$line[1]:" + case $line[1] in + (on) +_arguments "${_arguments_options[@]}" : \ +'-i[Force indefinite mode (ignore default duration)]' \ +'--indefinite[Force indefinite mode (ignore default duration)]' \ +'-h[Print help]' \ +'--help[Print help]' \ +'::minutes -- Duration in minutes (omit to use default duration):_default' \ +&& ret=0 +;; +(off) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; +(duration) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +':value -- +N to add, -N to subtract, N to set absolute:_default' \ +&& ret=0 +;; +(remaining) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +':value -- +N to add, -N to subtract, N to set absolute:_default' \ +&& ret=0 +;; +(status) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; +(toggle) +_arguments "${_arguments_options[@]}" : \ +'-i[Use indefinite mode when enabling]' \ +'--indefinite[Use indefinite mode when enabling]' \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; +(help) +_arguments "${_arguments_options[@]}" : \ +":: :_wayle__idle__help_commands" \ +"*::: :->help" \ +&& ret=0 + + case $state in + (help) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:wayle-idle-help-command-$line[1]:" + case $line[1] in + (on) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(off) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(duration) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(remaining) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(status) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(toggle) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(help) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; + esac + ;; +esac +;; + esac + ;; +esac +;; +(shell) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +&& ret=0 +;; +(completions) +_arguments "${_arguments_options[@]}" : \ +'-h[Print help]' \ +'--help[Print help]' \ +':shell -- Shell to generate completions for:(bash elvish fish powershell zsh)' \ +&& ret=0 +;; +(help) +_arguments "${_arguments_options[@]}" : \ +":: :_wayle__help_commands" \ +"*::: :->help" \ +&& ret=0 + + case $state in + (help) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:wayle-help-command-$line[1]:" + case $line[1] in + (audio) +_arguments "${_arguments_options[@]}" : \ +":: :_wayle__help__audio_commands" \ +"*::: :->audio" \ +&& ret=0 + + case $state in + (audio) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:wayle-help-audio-command-$line[1]:" + case $line[1] in + (output-volume) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(output-mute) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(input-volume) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(input-mute) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(sinks) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(sources) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(status) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; + esac + ;; +esac +;; +(config) +_arguments "${_arguments_options[@]}" : \ +":: :_wayle__help__config_commands" \ +"*::: :->config" \ +&& ret=0 + + case $state in + (config) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:wayle-help-config-command-$line[1]:" + case $line[1] in + (get) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(set) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(reset) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(schema) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(default) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(docs) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; + esac + ;; +esac +;; +(icons) +_arguments "${_arguments_options[@]}" : \ +":: :_wayle__help__icons_commands" \ +"*::: :->icons" \ +&& ret=0 + + case $state in + (icons) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:wayle-help-icons-command-$line[1]:" + case $line[1] in + (setup) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(install) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(import) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(remove) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(sources) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(list) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(open) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(export) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; + esac + ;; +esac +;; +(media) +_arguments "${_arguments_options[@]}" : \ +":: :_wayle__help__media_commands" \ +"*::: :->media" \ +&& ret=0 + + case $state in + (media) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:wayle-help-media-command-$line[1]:" + case $line[1] in + (list) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(play-pause) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(next) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(previous) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(shuffle) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(loop) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(active) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(info) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; + esac + ;; +esac +;; +(notify) +_arguments "${_arguments_options[@]}" : \ +":: :_wayle__help__notify_commands" \ +"*::: :->notify" \ +&& ret=0 + + case $state in + (notify) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:wayle-help-notify-command-$line[1]:" + case $line[1] in + (list) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(dismiss) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(dismiss-all) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(dnd) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(status) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; + esac + ;; +esac +;; +(panel) +_arguments "${_arguments_options[@]}" : \ +":: :_wayle__help__panel_commands" \ +"*::: :->panel" \ +&& ret=0 + + case $state in + (panel) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:wayle-help-panel-command-$line[1]:" + case $line[1] in + (start) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(stop) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(restart) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(status) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(settings) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(inspect) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(hide) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(show) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(toggle) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; + esac + ;; +esac +;; +(power) +_arguments "${_arguments_options[@]}" : \ +":: :_wayle__help__power_commands" \ +"*::: :->power" \ +&& ret=0 + + case $state in + (power) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:wayle-help-power-command-$line[1]:" + case $line[1] in + (status) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(set) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(cycle) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(list) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; + esac + ;; +esac +;; +(systray) +_arguments "${_arguments_options[@]}" : \ +":: :_wayle__help__systray_commands" \ +"*::: :->systray" \ +&& ret=0 + + case $state in + (systray) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:wayle-help-systray-command-$line[1]:" + case $line[1] in + (list) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(activate) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(status) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; + esac + ;; +esac +;; +(wallpaper) +_arguments "${_arguments_options[@]}" : \ +":: :_wayle__help__wallpaper_commands" \ +"*::: :->wallpaper" \ +&& ret=0 + + case $state in + (wallpaper) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:wayle-help-wallpaper-command-$line[1]:" + case $line[1] in + (set) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(cycle) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(stop) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(next) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(previous) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(info) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(theming-monitor) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; + esac + ;; +esac +;; +(idle) +_arguments "${_arguments_options[@]}" : \ +":: :_wayle__help__idle_commands" \ +"*::: :->idle" \ +&& ret=0 + + case $state in + (idle) + words=($line[1] "${words[@]}") + (( CURRENT += 1 )) + curcontext="${curcontext%:*:*}:wayle-help-idle-command-$line[1]:" + case $line[1] in + (on) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(off) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(duration) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(remaining) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(status) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(toggle) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; + esac + ;; +esac +;; +(shell) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(completions) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; +(help) +_arguments "${_arguments_options[@]}" : \ +&& ret=0 +;; + esac + ;; +esac +;; + esac + ;; +esac +} + +(( $+functions[_wayle_commands] )) || +_wayle_commands() { + local commands; commands=( +'audio:Audio control commands' \ +'config:Configuration management commands' \ +'icons:Icon management commands' \ +'media:Media player control commands' \ +'notify:Notification control commands' \ +'panel:Panel management commands' \ +'power:Power profile commands' \ +'systray:System tray commands' \ +'wallpaper:Wallpaper control commands' \ +'idle:Idle inhibit control commands' \ +'shell:Run the desktop shell in the foreground' \ +'completions:Generate shell completions' \ +'help:Print this message or the help of the given subcommand(s)' \ + ) + _describe -t commands 'wayle commands' commands "$@" +} +(( $+functions[_wayle__audio_commands] )) || +_wayle__audio_commands() { + local commands; commands=( +'output-volume:Get or set output volume level' \ +'output-mute:Toggle output mute state' \ +'input-volume:Get or set input volume level' \ +'input-mute:Toggle input mute state' \ +'sinks:List available audio sinks (outputs)' \ +'sources:List available audio sources (inputs)' \ +'status:Show current audio status' \ +'help:Print this message or the help of the given subcommand(s)' \ + ) + _describe -t commands 'wayle audio commands' commands "$@" +} +(( $+functions[_wayle__audio__help_commands] )) || +_wayle__audio__help_commands() { + local commands; commands=( +'output-volume:Get or set output volume level' \ +'output-mute:Toggle output mute state' \ +'input-volume:Get or set input volume level' \ +'input-mute:Toggle input mute state' \ +'sinks:List available audio sinks (outputs)' \ +'sources:List available audio sources (inputs)' \ +'status:Show current audio status' \ +'help:Print this message or the help of the given subcommand(s)' \ + ) + _describe -t commands 'wayle audio help commands' commands "$@" +} +(( $+functions[_wayle__audio__help__help_commands] )) || +_wayle__audio__help__help_commands() { + local commands; commands=() + _describe -t commands 'wayle audio help help commands' commands "$@" +} +(( $+functions[_wayle__audio__help__input-mute_commands] )) || +_wayle__audio__help__input-mute_commands() { + local commands; commands=() + _describe -t commands 'wayle audio help input-mute commands' commands "$@" +} +(( $+functions[_wayle__audio__help__input-volume_commands] )) || +_wayle__audio__help__input-volume_commands() { + local commands; commands=() + _describe -t commands 'wayle audio help input-volume commands' commands "$@" +} +(( $+functions[_wayle__audio__help__output-mute_commands] )) || +_wayle__audio__help__output-mute_commands() { + local commands; commands=() + _describe -t commands 'wayle audio help output-mute commands' commands "$@" +} +(( $+functions[_wayle__audio__help__output-volume_commands] )) || +_wayle__audio__help__output-volume_commands() { + local commands; commands=() + _describe -t commands 'wayle audio help output-volume commands' commands "$@" +} +(( $+functions[_wayle__audio__help__sinks_commands] )) || +_wayle__audio__help__sinks_commands() { + local commands; commands=() + _describe -t commands 'wayle audio help sinks commands' commands "$@" +} +(( $+functions[_wayle__audio__help__sources_commands] )) || +_wayle__audio__help__sources_commands() { + local commands; commands=() + _describe -t commands 'wayle audio help sources commands' commands "$@" +} +(( $+functions[_wayle__audio__help__status_commands] )) || +_wayle__audio__help__status_commands() { + local commands; commands=() + _describe -t commands 'wayle audio help status commands' commands "$@" +} +(( $+functions[_wayle__audio__input-mute_commands] )) || +_wayle__audio__input-mute_commands() { + local commands; commands=() + _describe -t commands 'wayle audio input-mute commands' commands "$@" +} +(( $+functions[_wayle__audio__input-volume_commands] )) || +_wayle__audio__input-volume_commands() { + local commands; commands=() + _describe -t commands 'wayle audio input-volume commands' commands "$@" +} +(( $+functions[_wayle__audio__output-mute_commands] )) || +_wayle__audio__output-mute_commands() { + local commands; commands=() + _describe -t commands 'wayle audio output-mute commands' commands "$@" +} +(( $+functions[_wayle__audio__output-volume_commands] )) || +_wayle__audio__output-volume_commands() { + local commands; commands=() + _describe -t commands 'wayle audio output-volume commands' commands "$@" +} +(( $+functions[_wayle__audio__sinks_commands] )) || +_wayle__audio__sinks_commands() { + local commands; commands=() + _describe -t commands 'wayle audio sinks commands' commands "$@" +} +(( $+functions[_wayle__audio__sources_commands] )) || +_wayle__audio__sources_commands() { + local commands; commands=() + _describe -t commands 'wayle audio sources commands' commands "$@" +} +(( $+functions[_wayle__audio__status_commands] )) || +_wayle__audio__status_commands() { + local commands; commands=() + _describe -t commands 'wayle audio status commands' commands "$@" +} +(( $+functions[_wayle__completions_commands] )) || +_wayle__completions_commands() { + local commands; commands=() + _describe -t commands 'wayle completions commands' commands "$@" +} +(( $+functions[_wayle__config_commands] )) || +_wayle__config_commands() { + local commands; commands=( +'get:Get the value of a configuration path' \ +'set:Set the value of a configuration path' \ +'reset:Reset a configuration path to its default value' \ +'schema:Output JSON Schema for the configuration (for editor intellisense)' \ +'default:Output the default configuration as TOML' \ +'docs:Generate markdown reference pages for every registered schema' \ +'help:Print this message or the help of the given subcommand(s)' \ + ) + _describe -t commands 'wayle config commands' commands "$@" +} +(( $+functions[_wayle__config__default_commands] )) || +_wayle__config__default_commands() { + local commands; commands=() + _describe -t commands 'wayle config default commands' commands "$@" +} +(( $+functions[_wayle__config__docs_commands] )) || +_wayle__config__docs_commands() { + local commands; commands=() + _describe -t commands 'wayle config docs commands' commands "$@" +} +(( $+functions[_wayle__config__get_commands] )) || +_wayle__config__get_commands() { + local commands; commands=() + _describe -t commands 'wayle config get commands' commands "$@" +} +(( $+functions[_wayle__config__help_commands] )) || +_wayle__config__help_commands() { + local commands; commands=( +'get:Get the value of a configuration path' \ +'set:Set the value of a configuration path' \ +'reset:Reset a configuration path to its default value' \ +'schema:Output JSON Schema for the configuration (for editor intellisense)' \ +'default:Output the default configuration as TOML' \ +'docs:Generate markdown reference pages for every registered schema' \ +'help:Print this message or the help of the given subcommand(s)' \ + ) + _describe -t commands 'wayle config help commands' commands "$@" +} +(( $+functions[_wayle__config__help__default_commands] )) || +_wayle__config__help__default_commands() { + local commands; commands=() + _describe -t commands 'wayle config help default commands' commands "$@" +} +(( $+functions[_wayle__config__help__docs_commands] )) || +_wayle__config__help__docs_commands() { + local commands; commands=() + _describe -t commands 'wayle config help docs commands' commands "$@" +} +(( $+functions[_wayle__config__help__get_commands] )) || +_wayle__config__help__get_commands() { + local commands; commands=() + _describe -t commands 'wayle config help get commands' commands "$@" +} +(( $+functions[_wayle__config__help__help_commands] )) || +_wayle__config__help__help_commands() { + local commands; commands=() + _describe -t commands 'wayle config help help commands' commands "$@" +} +(( $+functions[_wayle__config__help__reset_commands] )) || +_wayle__config__help__reset_commands() { + local commands; commands=() + _describe -t commands 'wayle config help reset commands' commands "$@" +} +(( $+functions[_wayle__config__help__schema_commands] )) || +_wayle__config__help__schema_commands() { + local commands; commands=() + _describe -t commands 'wayle config help schema commands' commands "$@" +} +(( $+functions[_wayle__config__help__set_commands] )) || +_wayle__config__help__set_commands() { + local commands; commands=() + _describe -t commands 'wayle config help set commands' commands "$@" +} +(( $+functions[_wayle__config__reset_commands] )) || +_wayle__config__reset_commands() { + local commands; commands=() + _describe -t commands 'wayle config reset commands' commands "$@" +} +(( $+functions[_wayle__config__schema_commands] )) || +_wayle__config__schema_commands() { + local commands; commands=() + _describe -t commands 'wayle config schema commands' commands "$@" +} +(( $+functions[_wayle__config__set_commands] )) || +_wayle__config__set_commands() { + local commands; commands=() + _describe -t commands 'wayle config set commands' commands "$@" +} +(( $+functions[_wayle__help_commands] )) || +_wayle__help_commands() { + local commands; commands=( +'audio:Audio control commands' \ +'config:Configuration management commands' \ +'icons:Icon management commands' \ +'media:Media player control commands' \ +'notify:Notification control commands' \ +'panel:Panel management commands' \ +'power:Power profile commands' \ +'systray:System tray commands' \ +'wallpaper:Wallpaper control commands' \ +'idle:Idle inhibit control commands' \ +'shell:Run the desktop shell in the foreground' \ +'completions:Generate shell completions' \ +'help:Print this message or the help of the given subcommand(s)' \ + ) + _describe -t commands 'wayle help commands' commands "$@" +} +(( $+functions[_wayle__help__audio_commands] )) || +_wayle__help__audio_commands() { + local commands; commands=( +'output-volume:Get or set output volume level' \ +'output-mute:Toggle output mute state' \ +'input-volume:Get or set input volume level' \ +'input-mute:Toggle input mute state' \ +'sinks:List available audio sinks (outputs)' \ +'sources:List available audio sources (inputs)' \ +'status:Show current audio status' \ + ) + _describe -t commands 'wayle help audio commands' commands "$@" +} +(( $+functions[_wayle__help__audio__input-mute_commands] )) || +_wayle__help__audio__input-mute_commands() { + local commands; commands=() + _describe -t commands 'wayle help audio input-mute commands' commands "$@" +} +(( $+functions[_wayle__help__audio__input-volume_commands] )) || +_wayle__help__audio__input-volume_commands() { + local commands; commands=() + _describe -t commands 'wayle help audio input-volume commands' commands "$@" +} +(( $+functions[_wayle__help__audio__output-mute_commands] )) || +_wayle__help__audio__output-mute_commands() { + local commands; commands=() + _describe -t commands 'wayle help audio output-mute commands' commands "$@" +} +(( $+functions[_wayle__help__audio__output-volume_commands] )) || +_wayle__help__audio__output-volume_commands() { + local commands; commands=() + _describe -t commands 'wayle help audio output-volume commands' commands "$@" +} +(( $+functions[_wayle__help__audio__sinks_commands] )) || +_wayle__help__audio__sinks_commands() { + local commands; commands=() + _describe -t commands 'wayle help audio sinks commands' commands "$@" +} +(( $+functions[_wayle__help__audio__sources_commands] )) || +_wayle__help__audio__sources_commands() { + local commands; commands=() + _describe -t commands 'wayle help audio sources commands' commands "$@" +} +(( $+functions[_wayle__help__audio__status_commands] )) || +_wayle__help__audio__status_commands() { + local commands; commands=() + _describe -t commands 'wayle help audio status commands' commands "$@" +} +(( $+functions[_wayle__help__completions_commands] )) || +_wayle__help__completions_commands() { + local commands; commands=() + _describe -t commands 'wayle help completions commands' commands "$@" +} +(( $+functions[_wayle__help__config_commands] )) || +_wayle__help__config_commands() { + local commands; commands=( +'get:Get the value of a configuration path' \ +'set:Set the value of a configuration path' \ +'reset:Reset a configuration path to its default value' \ +'schema:Output JSON Schema for the configuration (for editor intellisense)' \ +'default:Output the default configuration as TOML' \ +'docs:Generate markdown reference pages for every registered schema' \ + ) + _describe -t commands 'wayle help config commands' commands "$@" +} +(( $+functions[_wayle__help__config__default_commands] )) || +_wayle__help__config__default_commands() { + local commands; commands=() + _describe -t commands 'wayle help config default commands' commands "$@" +} +(( $+functions[_wayle__help__config__docs_commands] )) || +_wayle__help__config__docs_commands() { + local commands; commands=() + _describe -t commands 'wayle help config docs commands' commands "$@" +} +(( $+functions[_wayle__help__config__get_commands] )) || +_wayle__help__config__get_commands() { + local commands; commands=() + _describe -t commands 'wayle help config get commands' commands "$@" +} +(( $+functions[_wayle__help__config__reset_commands] )) || +_wayle__help__config__reset_commands() { + local commands; commands=() + _describe -t commands 'wayle help config reset commands' commands "$@" +} +(( $+functions[_wayle__help__config__schema_commands] )) || +_wayle__help__config__schema_commands() { + local commands; commands=() + _describe -t commands 'wayle help config schema commands' commands "$@" +} +(( $+functions[_wayle__help__config__set_commands] )) || +_wayle__help__config__set_commands() { + local commands; commands=() + _describe -t commands 'wayle help config set commands' commands "$@" +} +(( $+functions[_wayle__help__help_commands] )) || +_wayle__help__help_commands() { + local commands; commands=() + _describe -t commands 'wayle help help commands' commands "$@" +} +(( $+functions[_wayle__help__icons_commands] )) || +_wayle__help__icons_commands() { + local commands; commands=( +'setup:Install bundled icons required by Wayle components' \ +'install:Install icons from a CDN source' \ +'import:Import local SVG file(s) as icons' \ +'remove:Remove installed icons' \ +'sources:List available icon sources' \ +'list:List installed icons' \ +'open:Open the icons directory in file manager' \ +'export:Export all installed icons to a directory' \ + ) + _describe -t commands 'wayle help icons commands' commands "$@" +} +(( $+functions[_wayle__help__icons__export_commands] )) || +_wayle__help__icons__export_commands() { + local commands; commands=() + _describe -t commands 'wayle help icons export commands' commands "$@" +} +(( $+functions[_wayle__help__icons__import_commands] )) || +_wayle__help__icons__import_commands() { + local commands; commands=() + _describe -t commands 'wayle help icons import commands' commands "$@" +} +(( $+functions[_wayle__help__icons__install_commands] )) || +_wayle__help__icons__install_commands() { + local commands; commands=() + _describe -t commands 'wayle help icons install commands' commands "$@" +} +(( $+functions[_wayle__help__icons__list_commands] )) || +_wayle__help__icons__list_commands() { + local commands; commands=() + _describe -t commands 'wayle help icons list commands' commands "$@" +} +(( $+functions[_wayle__help__icons__open_commands] )) || +_wayle__help__icons__open_commands() { + local commands; commands=() + _describe -t commands 'wayle help icons open commands' commands "$@" +} +(( $+functions[_wayle__help__icons__remove_commands] )) || +_wayle__help__icons__remove_commands() { + local commands; commands=() + _describe -t commands 'wayle help icons remove commands' commands "$@" +} +(( $+functions[_wayle__help__icons__setup_commands] )) || +_wayle__help__icons__setup_commands() { + local commands; commands=() + _describe -t commands 'wayle help icons setup commands' commands "$@" +} +(( $+functions[_wayle__help__icons__sources_commands] )) || +_wayle__help__icons__sources_commands() { + local commands; commands=() + _describe -t commands 'wayle help icons sources commands' commands "$@" +} +(( $+functions[_wayle__help__idle_commands] )) || +_wayle__help__idle_commands() { + local commands; commands=( +'on:Enable idle inhibition' \ +'off:Disable idle inhibition' \ +'duration:Adjust timer duration (upper limit)' \ +'remaining:Adjust remaining time on active timer' \ +'status:Show current idle inhibit status' \ +'toggle:Toggle idle inhibition on/off' \ + ) + _describe -t commands 'wayle help idle commands' commands "$@" +} +(( $+functions[_wayle__help__idle__duration_commands] )) || +_wayle__help__idle__duration_commands() { + local commands; commands=() + _describe -t commands 'wayle help idle duration commands' commands "$@" +} +(( $+functions[_wayle__help__idle__off_commands] )) || +_wayle__help__idle__off_commands() { + local commands; commands=() + _describe -t commands 'wayle help idle off commands' commands "$@" +} +(( $+functions[_wayle__help__idle__on_commands] )) || +_wayle__help__idle__on_commands() { + local commands; commands=() + _describe -t commands 'wayle help idle on commands' commands "$@" +} +(( $+functions[_wayle__help__idle__remaining_commands] )) || +_wayle__help__idle__remaining_commands() { + local commands; commands=() + _describe -t commands 'wayle help idle remaining commands' commands "$@" +} +(( $+functions[_wayle__help__idle__status_commands] )) || +_wayle__help__idle__status_commands() { + local commands; commands=() + _describe -t commands 'wayle help idle status commands' commands "$@" +} +(( $+functions[_wayle__help__idle__toggle_commands] )) || +_wayle__help__idle__toggle_commands() { + local commands; commands=() + _describe -t commands 'wayle help idle toggle commands' commands "$@" +} +(( $+functions[_wayle__help__media_commands] )) || +_wayle__help__media_commands() { + local commands; commands=( +'list:List all available media players' \ +'play-pause:Toggle play/pause for a media player' \ +'next:Skip to next track' \ +'previous:Go to previous track' \ +'shuffle:Toggle or set shuffle mode' \ +'loop:Set loop/repeat mode' \ +'active:Get or set the active media player' \ +'info:Display detailed information about a media player' \ + ) + _describe -t commands 'wayle help media commands' commands "$@" +} +(( $+functions[_wayle__help__media__active_commands] )) || +_wayle__help__media__active_commands() { + local commands; commands=() + _describe -t commands 'wayle help media active commands' commands "$@" +} +(( $+functions[_wayle__help__media__info_commands] )) || +_wayle__help__media__info_commands() { + local commands; commands=() + _describe -t commands 'wayle help media info commands' commands "$@" +} +(( $+functions[_wayle__help__media__list_commands] )) || +_wayle__help__media__list_commands() { + local commands; commands=() + _describe -t commands 'wayle help media list commands' commands "$@" +} +(( $+functions[_wayle__help__media__loop_commands] )) || +_wayle__help__media__loop_commands() { + local commands; commands=() + _describe -t commands 'wayle help media loop commands' commands "$@" +} +(( $+functions[_wayle__help__media__next_commands] )) || +_wayle__help__media__next_commands() { + local commands; commands=() + _describe -t commands 'wayle help media next commands' commands "$@" +} +(( $+functions[_wayle__help__media__play-pause_commands] )) || +_wayle__help__media__play-pause_commands() { + local commands; commands=() + _describe -t commands 'wayle help media play-pause commands' commands "$@" +} +(( $+functions[_wayle__help__media__previous_commands] )) || +_wayle__help__media__previous_commands() { + local commands; commands=() + _describe -t commands 'wayle help media previous commands' commands "$@" +} +(( $+functions[_wayle__help__media__shuffle_commands] )) || +_wayle__help__media__shuffle_commands() { + local commands; commands=() + _describe -t commands 'wayle help media shuffle commands' commands "$@" +} +(( $+functions[_wayle__help__notify_commands] )) || +_wayle__help__notify_commands() { + local commands; commands=( +'list:List all notifications' \ +'dismiss:Dismiss a notification by ID' \ +'dismiss-all:Dismiss all notifications' \ +'dnd:Toggle Do Not Disturb mode' \ +'status:Show notification status' \ + ) + _describe -t commands 'wayle help notify commands' commands "$@" +} +(( $+functions[_wayle__help__notify__dismiss_commands] )) || +_wayle__help__notify__dismiss_commands() { + local commands; commands=() + _describe -t commands 'wayle help notify dismiss commands' commands "$@" +} +(( $+functions[_wayle__help__notify__dismiss-all_commands] )) || +_wayle__help__notify__dismiss-all_commands() { + local commands; commands=() + _describe -t commands 'wayle help notify dismiss-all commands' commands "$@" +} +(( $+functions[_wayle__help__notify__dnd_commands] )) || +_wayle__help__notify__dnd_commands() { + local commands; commands=() + _describe -t commands 'wayle help notify dnd commands' commands "$@" +} +(( $+functions[_wayle__help__notify__list_commands] )) || +_wayle__help__notify__list_commands() { + local commands; commands=() + _describe -t commands 'wayle help notify list commands' commands "$@" +} +(( $+functions[_wayle__help__notify__status_commands] )) || +_wayle__help__notify__status_commands() { + local commands; commands=() + _describe -t commands 'wayle help notify status commands' commands "$@" +} +(( $+functions[_wayle__help__panel_commands] )) || +_wayle__help__panel_commands() { + local commands; commands=( +'start:Start the panel daemon' \ +'stop:Stop the panel daemon' \ +'restart:Restart the panel daemon' \ +'status:Check panel status' \ +'settings:Open panel settings' \ +'inspect:Open GTK Inspector for debugging' \ +'hide:Hide the bar on a monitor' \ +'show:Show the bar on a monitor' \ +'toggle:Toggle bar visibility on a monitor' \ + ) + _describe -t commands 'wayle help panel commands' commands "$@" +} +(( $+functions[_wayle__help__panel__hide_commands] )) || +_wayle__help__panel__hide_commands() { + local commands; commands=() + _describe -t commands 'wayle help panel hide commands' commands "$@" +} +(( $+functions[_wayle__help__panel__inspect_commands] )) || +_wayle__help__panel__inspect_commands() { + local commands; commands=() + _describe -t commands 'wayle help panel inspect commands' commands "$@" +} +(( $+functions[_wayle__help__panel__restart_commands] )) || +_wayle__help__panel__restart_commands() { + local commands; commands=() + _describe -t commands 'wayle help panel restart commands' commands "$@" +} +(( $+functions[_wayle__help__panel__settings_commands] )) || +_wayle__help__panel__settings_commands() { + local commands; commands=() + _describe -t commands 'wayle help panel settings commands' commands "$@" +} +(( $+functions[_wayle__help__panel__show_commands] )) || +_wayle__help__panel__show_commands() { + local commands; commands=() + _describe -t commands 'wayle help panel show commands' commands "$@" +} +(( $+functions[_wayle__help__panel__start_commands] )) || +_wayle__help__panel__start_commands() { + local commands; commands=() + _describe -t commands 'wayle help panel start commands' commands "$@" +} +(( $+functions[_wayle__help__panel__status_commands] )) || +_wayle__help__panel__status_commands() { + local commands; commands=() + _describe -t commands 'wayle help panel status commands' commands "$@" +} +(( $+functions[_wayle__help__panel__stop_commands] )) || +_wayle__help__panel__stop_commands() { + local commands; commands=() + _describe -t commands 'wayle help panel stop commands' commands "$@" +} +(( $+functions[_wayle__help__panel__toggle_commands] )) || +_wayle__help__panel__toggle_commands() { + local commands; commands=() + _describe -t commands 'wayle help panel toggle commands' commands "$@" +} +(( $+functions[_wayle__help__power_commands] )) || +_wayle__help__power_commands() { + local commands; commands=( +'status:Show current power profile' \ +'set:Set power profile' \ +'cycle:Cycle to next power profile' \ +'list:List available power profiles' \ + ) + _describe -t commands 'wayle help power commands' commands "$@" +} +(( $+functions[_wayle__help__power__cycle_commands] )) || +_wayle__help__power__cycle_commands() { + local commands; commands=() + _describe -t commands 'wayle help power cycle commands' commands "$@" +} +(( $+functions[_wayle__help__power__list_commands] )) || +_wayle__help__power__list_commands() { + local commands; commands=() + _describe -t commands 'wayle help power list commands' commands "$@" +} +(( $+functions[_wayle__help__power__set_commands] )) || +_wayle__help__power__set_commands() { + local commands; commands=() + _describe -t commands 'wayle help power set commands' commands "$@" +} +(( $+functions[_wayle__help__power__status_commands] )) || +_wayle__help__power__status_commands() { + local commands; commands=() + _describe -t commands 'wayle help power status commands' commands "$@" +} +(( $+functions[_wayle__help__shell_commands] )) || +_wayle__help__shell_commands() { + local commands; commands=() + _describe -t commands 'wayle help shell commands' commands "$@" +} +(( $+functions[_wayle__help__systray_commands] )) || +_wayle__help__systray_commands() { + local commands; commands=( +'list:List all system tray items' \ +'activate:Activate a tray item by ID' \ +'status:Show system tray status' \ + ) + _describe -t commands 'wayle help systray commands' commands "$@" +} +(( $+functions[_wayle__help__systray__activate_commands] )) || +_wayle__help__systray__activate_commands() { + local commands; commands=() + _describe -t commands 'wayle help systray activate commands' commands "$@" +} +(( $+functions[_wayle__help__systray__list_commands] )) || +_wayle__help__systray__list_commands() { + local commands; commands=() + _describe -t commands 'wayle help systray list commands' commands "$@" +} +(( $+functions[_wayle__help__systray__status_commands] )) || +_wayle__help__systray__status_commands() { + local commands; commands=() + _describe -t commands 'wayle help systray status commands' commands "$@" +} +(( $+functions[_wayle__help__wallpaper_commands] )) || +_wayle__help__wallpaper_commands() { + local commands; commands=( +'set:Set wallpaper from an image file' \ +'cycle:Start cycling wallpapers from a directory' \ +'stop:Stop wallpaper cycling' \ +'next:Skip to next wallpaper' \ +'previous:Go back to previous wallpaper' \ +'info:Display current wallpaper information' \ +'theming-monitor:Set which monitor to use for color extraction' \ + ) + _describe -t commands 'wayle help wallpaper commands' commands "$@" +} +(( $+functions[_wayle__help__wallpaper__cycle_commands] )) || +_wayle__help__wallpaper__cycle_commands() { + local commands; commands=() + _describe -t commands 'wayle help wallpaper cycle commands' commands "$@" +} +(( $+functions[_wayle__help__wallpaper__info_commands] )) || +_wayle__help__wallpaper__info_commands() { + local commands; commands=() + _describe -t commands 'wayle help wallpaper info commands' commands "$@" +} +(( $+functions[_wayle__help__wallpaper__next_commands] )) || +_wayle__help__wallpaper__next_commands() { + local commands; commands=() + _describe -t commands 'wayle help wallpaper next commands' commands "$@" +} +(( $+functions[_wayle__help__wallpaper__previous_commands] )) || +_wayle__help__wallpaper__previous_commands() { + local commands; commands=() + _describe -t commands 'wayle help wallpaper previous commands' commands "$@" +} +(( $+functions[_wayle__help__wallpaper__set_commands] )) || +_wayle__help__wallpaper__set_commands() { + local commands; commands=() + _describe -t commands 'wayle help wallpaper set commands' commands "$@" +} +(( $+functions[_wayle__help__wallpaper__stop_commands] )) || +_wayle__help__wallpaper__stop_commands() { + local commands; commands=() + _describe -t commands 'wayle help wallpaper stop commands' commands "$@" +} +(( $+functions[_wayle__help__wallpaper__theming-monitor_commands] )) || +_wayle__help__wallpaper__theming-monitor_commands() { + local commands; commands=() + _describe -t commands 'wayle help wallpaper theming-monitor commands' commands "$@" +} +(( $+functions[_wayle__icons_commands] )) || +_wayle__icons_commands() { + local commands; commands=( +'setup:Install bundled icons required by Wayle components' \ +'install:Install icons from a CDN source' \ +'import:Import local SVG file(s) as icons' \ +'remove:Remove installed icons' \ +'sources:List available icon sources' \ +'list:List installed icons' \ +'open:Open the icons directory in file manager' \ +'export:Export all installed icons to a directory' \ +'help:Print this message or the help of the given subcommand(s)' \ + ) + _describe -t commands 'wayle icons commands' commands "$@" +} +(( $+functions[_wayle__icons__export_commands] )) || +_wayle__icons__export_commands() { + local commands; commands=() + _describe -t commands 'wayle icons export commands' commands "$@" +} +(( $+functions[_wayle__icons__help_commands] )) || +_wayle__icons__help_commands() { + local commands; commands=( +'setup:Install bundled icons required by Wayle components' \ +'install:Install icons from a CDN source' \ +'import:Import local SVG file(s) as icons' \ +'remove:Remove installed icons' \ +'sources:List available icon sources' \ +'list:List installed icons' \ +'open:Open the icons directory in file manager' \ +'export:Export all installed icons to a directory' \ +'help:Print this message or the help of the given subcommand(s)' \ + ) + _describe -t commands 'wayle icons help commands' commands "$@" +} +(( $+functions[_wayle__icons__help__export_commands] )) || +_wayle__icons__help__export_commands() { + local commands; commands=() + _describe -t commands 'wayle icons help export commands' commands "$@" +} +(( $+functions[_wayle__icons__help__help_commands] )) || +_wayle__icons__help__help_commands() { + local commands; commands=() + _describe -t commands 'wayle icons help help commands' commands "$@" +} +(( $+functions[_wayle__icons__help__import_commands] )) || +_wayle__icons__help__import_commands() { + local commands; commands=() + _describe -t commands 'wayle icons help import commands' commands "$@" +} +(( $+functions[_wayle__icons__help__install_commands] )) || +_wayle__icons__help__install_commands() { + local commands; commands=() + _describe -t commands 'wayle icons help install commands' commands "$@" +} +(( $+functions[_wayle__icons__help__list_commands] )) || +_wayle__icons__help__list_commands() { + local commands; commands=() + _describe -t commands 'wayle icons help list commands' commands "$@" +} +(( $+functions[_wayle__icons__help__open_commands] )) || +_wayle__icons__help__open_commands() { + local commands; commands=() + _describe -t commands 'wayle icons help open commands' commands "$@" +} +(( $+functions[_wayle__icons__help__remove_commands] )) || +_wayle__icons__help__remove_commands() { + local commands; commands=() + _describe -t commands 'wayle icons help remove commands' commands "$@" +} +(( $+functions[_wayle__icons__help__setup_commands] )) || +_wayle__icons__help__setup_commands() { + local commands; commands=() + _describe -t commands 'wayle icons help setup commands' commands "$@" +} +(( $+functions[_wayle__icons__help__sources_commands] )) || +_wayle__icons__help__sources_commands() { + local commands; commands=() + _describe -t commands 'wayle icons help sources commands' commands "$@" +} +(( $+functions[_wayle__icons__import_commands] )) || +_wayle__icons__import_commands() { + local commands; commands=() + _describe -t commands 'wayle icons import commands' commands "$@" +} +(( $+functions[_wayle__icons__install_commands] )) || +_wayle__icons__install_commands() { + local commands; commands=() + _describe -t commands 'wayle icons install commands' commands "$@" +} +(( $+functions[_wayle__icons__list_commands] )) || +_wayle__icons__list_commands() { + local commands; commands=() + _describe -t commands 'wayle icons list commands' commands "$@" +} +(( $+functions[_wayle__icons__open_commands] )) || +_wayle__icons__open_commands() { + local commands; commands=() + _describe -t commands 'wayle icons open commands' commands "$@" +} +(( $+functions[_wayle__icons__remove_commands] )) || +_wayle__icons__remove_commands() { + local commands; commands=() + _describe -t commands 'wayle icons remove commands' commands "$@" +} +(( $+functions[_wayle__icons__setup_commands] )) || +_wayle__icons__setup_commands() { + local commands; commands=() + _describe -t commands 'wayle icons setup commands' commands "$@" +} +(( $+functions[_wayle__icons__sources_commands] )) || +_wayle__icons__sources_commands() { + local commands; commands=() + _describe -t commands 'wayle icons sources commands' commands "$@" +} +(( $+functions[_wayle__idle_commands] )) || +_wayle__idle_commands() { + local commands; commands=( +'on:Enable idle inhibition' \ +'off:Disable idle inhibition' \ +'duration:Adjust timer duration (upper limit)' \ +'remaining:Adjust remaining time on active timer' \ +'status:Show current idle inhibit status' \ +'toggle:Toggle idle inhibition on/off' \ +'help:Print this message or the help of the given subcommand(s)' \ + ) + _describe -t commands 'wayle idle commands' commands "$@" +} +(( $+functions[_wayle__idle__duration_commands] )) || +_wayle__idle__duration_commands() { + local commands; commands=() + _describe -t commands 'wayle idle duration commands' commands "$@" +} +(( $+functions[_wayle__idle__help_commands] )) || +_wayle__idle__help_commands() { + local commands; commands=( +'on:Enable idle inhibition' \ +'off:Disable idle inhibition' \ +'duration:Adjust timer duration (upper limit)' \ +'remaining:Adjust remaining time on active timer' \ +'status:Show current idle inhibit status' \ +'toggle:Toggle idle inhibition on/off' \ +'help:Print this message or the help of the given subcommand(s)' \ + ) + _describe -t commands 'wayle idle help commands' commands "$@" +} +(( $+functions[_wayle__idle__help__duration_commands] )) || +_wayle__idle__help__duration_commands() { + local commands; commands=() + _describe -t commands 'wayle idle help duration commands' commands "$@" +} +(( $+functions[_wayle__idle__help__help_commands] )) || +_wayle__idle__help__help_commands() { + local commands; commands=() + _describe -t commands 'wayle idle help help commands' commands "$@" +} +(( $+functions[_wayle__idle__help__off_commands] )) || +_wayle__idle__help__off_commands() { + local commands; commands=() + _describe -t commands 'wayle idle help off commands' commands "$@" +} +(( $+functions[_wayle__idle__help__on_commands] )) || +_wayle__idle__help__on_commands() { + local commands; commands=() + _describe -t commands 'wayle idle help on commands' commands "$@" +} +(( $+functions[_wayle__idle__help__remaining_commands] )) || +_wayle__idle__help__remaining_commands() { + local commands; commands=() + _describe -t commands 'wayle idle help remaining commands' commands "$@" +} +(( $+functions[_wayle__idle__help__status_commands] )) || +_wayle__idle__help__status_commands() { + local commands; commands=() + _describe -t commands 'wayle idle help status commands' commands "$@" +} +(( $+functions[_wayle__idle__help__toggle_commands] )) || +_wayle__idle__help__toggle_commands() { + local commands; commands=() + _describe -t commands 'wayle idle help toggle commands' commands "$@" +} +(( $+functions[_wayle__idle__off_commands] )) || +_wayle__idle__off_commands() { + local commands; commands=() + _describe -t commands 'wayle idle off commands' commands "$@" +} +(( $+functions[_wayle__idle__on_commands] )) || +_wayle__idle__on_commands() { + local commands; commands=() + _describe -t commands 'wayle idle on commands' commands "$@" +} +(( $+functions[_wayle__idle__remaining_commands] )) || +_wayle__idle__remaining_commands() { + local commands; commands=() + _describe -t commands 'wayle idle remaining commands' commands "$@" +} +(( $+functions[_wayle__idle__status_commands] )) || +_wayle__idle__status_commands() { + local commands; commands=() + _describe -t commands 'wayle idle status commands' commands "$@" +} +(( $+functions[_wayle__idle__toggle_commands] )) || +_wayle__idle__toggle_commands() { + local commands; commands=() + _describe -t commands 'wayle idle toggle commands' commands "$@" +} +(( $+functions[_wayle__media_commands] )) || +_wayle__media_commands() { + local commands; commands=( +'list:List all available media players' \ +'play-pause:Toggle play/pause for a media player' \ +'next:Skip to next track' \ +'previous:Go to previous track' \ +'shuffle:Toggle or set shuffle mode' \ +'loop:Set loop/repeat mode' \ +'active:Get or set the active media player' \ +'info:Display detailed information about a media player' \ +'help:Print this message or the help of the given subcommand(s)' \ + ) + _describe -t commands 'wayle media commands' commands "$@" +} +(( $+functions[_wayle__media__active_commands] )) || +_wayle__media__active_commands() { + local commands; commands=() + _describe -t commands 'wayle media active commands' commands "$@" +} +(( $+functions[_wayle__media__help_commands] )) || +_wayle__media__help_commands() { + local commands; commands=( +'list:List all available media players' \ +'play-pause:Toggle play/pause for a media player' \ +'next:Skip to next track' \ +'previous:Go to previous track' \ +'shuffle:Toggle or set shuffle mode' \ +'loop:Set loop/repeat mode' \ +'active:Get or set the active media player' \ +'info:Display detailed information about a media player' \ +'help:Print this message or the help of the given subcommand(s)' \ + ) + _describe -t commands 'wayle media help commands' commands "$@" +} +(( $+functions[_wayle__media__help__active_commands] )) || +_wayle__media__help__active_commands() { + local commands; commands=() + _describe -t commands 'wayle media help active commands' commands "$@" +} +(( $+functions[_wayle__media__help__help_commands] )) || +_wayle__media__help__help_commands() { + local commands; commands=() + _describe -t commands 'wayle media help help commands' commands "$@" +} +(( $+functions[_wayle__media__help__info_commands] )) || +_wayle__media__help__info_commands() { + local commands; commands=() + _describe -t commands 'wayle media help info commands' commands "$@" +} +(( $+functions[_wayle__media__help__list_commands] )) || +_wayle__media__help__list_commands() { + local commands; commands=() + _describe -t commands 'wayle media help list commands' commands "$@" +} +(( $+functions[_wayle__media__help__loop_commands] )) || +_wayle__media__help__loop_commands() { + local commands; commands=() + _describe -t commands 'wayle media help loop commands' commands "$@" +} +(( $+functions[_wayle__media__help__next_commands] )) || +_wayle__media__help__next_commands() { + local commands; commands=() + _describe -t commands 'wayle media help next commands' commands "$@" +} +(( $+functions[_wayle__media__help__play-pause_commands] )) || +_wayle__media__help__play-pause_commands() { + local commands; commands=() + _describe -t commands 'wayle media help play-pause commands' commands "$@" +} +(( $+functions[_wayle__media__help__previous_commands] )) || +_wayle__media__help__previous_commands() { + local commands; commands=() + _describe -t commands 'wayle media help previous commands' commands "$@" +} +(( $+functions[_wayle__media__help__shuffle_commands] )) || +_wayle__media__help__shuffle_commands() { + local commands; commands=() + _describe -t commands 'wayle media help shuffle commands' commands "$@" +} +(( $+functions[_wayle__media__info_commands] )) || +_wayle__media__info_commands() { + local commands; commands=() + _describe -t commands 'wayle media info commands' commands "$@" +} +(( $+functions[_wayle__media__list_commands] )) || +_wayle__media__list_commands() { + local commands; commands=() + _describe -t commands 'wayle media list commands' commands "$@" +} +(( $+functions[_wayle__media__loop_commands] )) || +_wayle__media__loop_commands() { + local commands; commands=() + _describe -t commands 'wayle media loop commands' commands "$@" +} +(( $+functions[_wayle__media__next_commands] )) || +_wayle__media__next_commands() { + local commands; commands=() + _describe -t commands 'wayle media next commands' commands "$@" +} +(( $+functions[_wayle__media__play-pause_commands] )) || +_wayle__media__play-pause_commands() { + local commands; commands=() + _describe -t commands 'wayle media play-pause commands' commands "$@" +} +(( $+functions[_wayle__media__previous_commands] )) || +_wayle__media__previous_commands() { + local commands; commands=() + _describe -t commands 'wayle media previous commands' commands "$@" +} +(( $+functions[_wayle__media__shuffle_commands] )) || +_wayle__media__shuffle_commands() { + local commands; commands=() + _describe -t commands 'wayle media shuffle commands' commands "$@" +} +(( $+functions[_wayle__notify_commands] )) || +_wayle__notify_commands() { + local commands; commands=( +'list:List all notifications' \ +'dismiss:Dismiss a notification by ID' \ +'dismiss-all:Dismiss all notifications' \ +'dnd:Toggle Do Not Disturb mode' \ +'status:Show notification status' \ +'help:Print this message or the help of the given subcommand(s)' \ + ) + _describe -t commands 'wayle notify commands' commands "$@" +} +(( $+functions[_wayle__notify__dismiss_commands] )) || +_wayle__notify__dismiss_commands() { + local commands; commands=() + _describe -t commands 'wayle notify dismiss commands' commands "$@" +} +(( $+functions[_wayle__notify__dismiss-all_commands] )) || +_wayle__notify__dismiss-all_commands() { + local commands; commands=() + _describe -t commands 'wayle notify dismiss-all commands' commands "$@" +} +(( $+functions[_wayle__notify__dnd_commands] )) || +_wayle__notify__dnd_commands() { + local commands; commands=() + _describe -t commands 'wayle notify dnd commands' commands "$@" +} +(( $+functions[_wayle__notify__help_commands] )) || +_wayle__notify__help_commands() { + local commands; commands=( +'list:List all notifications' \ +'dismiss:Dismiss a notification by ID' \ +'dismiss-all:Dismiss all notifications' \ +'dnd:Toggle Do Not Disturb mode' \ +'status:Show notification status' \ +'help:Print this message or the help of the given subcommand(s)' \ + ) + _describe -t commands 'wayle notify help commands' commands "$@" +} +(( $+functions[_wayle__notify__help__dismiss_commands] )) || +_wayle__notify__help__dismiss_commands() { + local commands; commands=() + _describe -t commands 'wayle notify help dismiss commands' commands "$@" +} +(( $+functions[_wayle__notify__help__dismiss-all_commands] )) || +_wayle__notify__help__dismiss-all_commands() { + local commands; commands=() + _describe -t commands 'wayle notify help dismiss-all commands' commands "$@" +} +(( $+functions[_wayle__notify__help__dnd_commands] )) || +_wayle__notify__help__dnd_commands() { + local commands; commands=() + _describe -t commands 'wayle notify help dnd commands' commands "$@" +} +(( $+functions[_wayle__notify__help__help_commands] )) || +_wayle__notify__help__help_commands() { + local commands; commands=() + _describe -t commands 'wayle notify help help commands' commands "$@" +} +(( $+functions[_wayle__notify__help__list_commands] )) || +_wayle__notify__help__list_commands() { + local commands; commands=() + _describe -t commands 'wayle notify help list commands' commands "$@" +} +(( $+functions[_wayle__notify__help__status_commands] )) || +_wayle__notify__help__status_commands() { + local commands; commands=() + _describe -t commands 'wayle notify help status commands' commands "$@" +} +(( $+functions[_wayle__notify__list_commands] )) || +_wayle__notify__list_commands() { + local commands; commands=() + _describe -t commands 'wayle notify list commands' commands "$@" +} +(( $+functions[_wayle__notify__status_commands] )) || +_wayle__notify__status_commands() { + local commands; commands=() + _describe -t commands 'wayle notify status commands' commands "$@" +} +(( $+functions[_wayle__panel_commands] )) || +_wayle__panel_commands() { + local commands; commands=( +'start:Start the panel daemon' \ +'stop:Stop the panel daemon' \ +'restart:Restart the panel daemon' \ +'status:Check panel status' \ +'settings:Open panel settings' \ +'inspect:Open GTK Inspector for debugging' \ +'hide:Hide the bar on a monitor' \ +'show:Show the bar on a monitor' \ +'toggle:Toggle bar visibility on a monitor' \ +'help:Print this message or the help of the given subcommand(s)' \ + ) + _describe -t commands 'wayle panel commands' commands "$@" +} +(( $+functions[_wayle__panel__help_commands] )) || +_wayle__panel__help_commands() { + local commands; commands=( +'start:Start the panel daemon' \ +'stop:Stop the panel daemon' \ +'restart:Restart the panel daemon' \ +'status:Check panel status' \ +'settings:Open panel settings' \ +'inspect:Open GTK Inspector for debugging' \ +'hide:Hide the bar on a monitor' \ +'show:Show the bar on a monitor' \ +'toggle:Toggle bar visibility on a monitor' \ +'help:Print this message or the help of the given subcommand(s)' \ + ) + _describe -t commands 'wayle panel help commands' commands "$@" +} +(( $+functions[_wayle__panel__help__help_commands] )) || +_wayle__panel__help__help_commands() { + local commands; commands=() + _describe -t commands 'wayle panel help help commands' commands "$@" +} +(( $+functions[_wayle__panel__help__hide_commands] )) || +_wayle__panel__help__hide_commands() { + local commands; commands=() + _describe -t commands 'wayle panel help hide commands' commands "$@" +} +(( $+functions[_wayle__panel__help__inspect_commands] )) || +_wayle__panel__help__inspect_commands() { + local commands; commands=() + _describe -t commands 'wayle panel help inspect commands' commands "$@" +} +(( $+functions[_wayle__panel__help__restart_commands] )) || +_wayle__panel__help__restart_commands() { + local commands; commands=() + _describe -t commands 'wayle panel help restart commands' commands "$@" +} +(( $+functions[_wayle__panel__help__settings_commands] )) || +_wayle__panel__help__settings_commands() { + local commands; commands=() + _describe -t commands 'wayle panel help settings commands' commands "$@" +} +(( $+functions[_wayle__panel__help__show_commands] )) || +_wayle__panel__help__show_commands() { + local commands; commands=() + _describe -t commands 'wayle panel help show commands' commands "$@" +} +(( $+functions[_wayle__panel__help__start_commands] )) || +_wayle__panel__help__start_commands() { + local commands; commands=() + _describe -t commands 'wayle panel help start commands' commands "$@" +} +(( $+functions[_wayle__panel__help__status_commands] )) || +_wayle__panel__help__status_commands() { + local commands; commands=() + _describe -t commands 'wayle panel help status commands' commands "$@" +} +(( $+functions[_wayle__panel__help__stop_commands] )) || +_wayle__panel__help__stop_commands() { + local commands; commands=() + _describe -t commands 'wayle panel help stop commands' commands "$@" +} +(( $+functions[_wayle__panel__help__toggle_commands] )) || +_wayle__panel__help__toggle_commands() { + local commands; commands=() + _describe -t commands 'wayle panel help toggle commands' commands "$@" +} +(( $+functions[_wayle__panel__hide_commands] )) || +_wayle__panel__hide_commands() { + local commands; commands=() + _describe -t commands 'wayle panel hide commands' commands "$@" +} +(( $+functions[_wayle__panel__inspect_commands] )) || +_wayle__panel__inspect_commands() { + local commands; commands=() + _describe -t commands 'wayle panel inspect commands' commands "$@" +} +(( $+functions[_wayle__panel__restart_commands] )) || +_wayle__panel__restart_commands() { + local commands; commands=() + _describe -t commands 'wayle panel restart commands' commands "$@" +} +(( $+functions[_wayle__panel__settings_commands] )) || +_wayle__panel__settings_commands() { + local commands; commands=() + _describe -t commands 'wayle panel settings commands' commands "$@" +} +(( $+functions[_wayle__panel__show_commands] )) || +_wayle__panel__show_commands() { + local commands; commands=() + _describe -t commands 'wayle panel show commands' commands "$@" +} +(( $+functions[_wayle__panel__start_commands] )) || +_wayle__panel__start_commands() { + local commands; commands=() + _describe -t commands 'wayle panel start commands' commands "$@" +} +(( $+functions[_wayle__panel__status_commands] )) || +_wayle__panel__status_commands() { + local commands; commands=() + _describe -t commands 'wayle panel status commands' commands "$@" +} +(( $+functions[_wayle__panel__stop_commands] )) || +_wayle__panel__stop_commands() { + local commands; commands=() + _describe -t commands 'wayle panel stop commands' commands "$@" +} +(( $+functions[_wayle__panel__toggle_commands] )) || +_wayle__panel__toggle_commands() { + local commands; commands=() + _describe -t commands 'wayle panel toggle commands' commands "$@" +} +(( $+functions[_wayle__power_commands] )) || +_wayle__power_commands() { + local commands; commands=( +'status:Show current power profile' \ +'set:Set power profile' \ +'cycle:Cycle to next power profile' \ +'list:List available power profiles' \ +'help:Print this message or the help of the given subcommand(s)' \ + ) + _describe -t commands 'wayle power commands' commands "$@" +} +(( $+functions[_wayle__power__cycle_commands] )) || +_wayle__power__cycle_commands() { + local commands; commands=() + _describe -t commands 'wayle power cycle commands' commands "$@" +} +(( $+functions[_wayle__power__help_commands] )) || +_wayle__power__help_commands() { + local commands; commands=( +'status:Show current power profile' \ +'set:Set power profile' \ +'cycle:Cycle to next power profile' \ +'list:List available power profiles' \ +'help:Print this message or the help of the given subcommand(s)' \ + ) + _describe -t commands 'wayle power help commands' commands "$@" +} +(( $+functions[_wayle__power__help__cycle_commands] )) || +_wayle__power__help__cycle_commands() { + local commands; commands=() + _describe -t commands 'wayle power help cycle commands' commands "$@" +} +(( $+functions[_wayle__power__help__help_commands] )) || +_wayle__power__help__help_commands() { + local commands; commands=() + _describe -t commands 'wayle power help help commands' commands "$@" +} +(( $+functions[_wayle__power__help__list_commands] )) || +_wayle__power__help__list_commands() { + local commands; commands=() + _describe -t commands 'wayle power help list commands' commands "$@" +} +(( $+functions[_wayle__power__help__set_commands] )) || +_wayle__power__help__set_commands() { + local commands; commands=() + _describe -t commands 'wayle power help set commands' commands "$@" +} +(( $+functions[_wayle__power__help__status_commands] )) || +_wayle__power__help__status_commands() { + local commands; commands=() + _describe -t commands 'wayle power help status commands' commands "$@" +} +(( $+functions[_wayle__power__list_commands] )) || +_wayle__power__list_commands() { + local commands; commands=() + _describe -t commands 'wayle power list commands' commands "$@" +} +(( $+functions[_wayle__power__set_commands] )) || +_wayle__power__set_commands() { + local commands; commands=() + _describe -t commands 'wayle power set commands' commands "$@" +} +(( $+functions[_wayle__power__status_commands] )) || +_wayle__power__status_commands() { + local commands; commands=() + _describe -t commands 'wayle power status commands' commands "$@" +} +(( $+functions[_wayle__shell_commands] )) || +_wayle__shell_commands() { + local commands; commands=() + _describe -t commands 'wayle shell commands' commands "$@" +} +(( $+functions[_wayle__systray_commands] )) || +_wayle__systray_commands() { + local commands; commands=( +'list:List all system tray items' \ +'activate:Activate a tray item by ID' \ +'status:Show system tray status' \ +'help:Print this message or the help of the given subcommand(s)' \ + ) + _describe -t commands 'wayle systray commands' commands "$@" +} +(( $+functions[_wayle__systray__activate_commands] )) || +_wayle__systray__activate_commands() { + local commands; commands=() + _describe -t commands 'wayle systray activate commands' commands "$@" +} +(( $+functions[_wayle__systray__help_commands] )) || +_wayle__systray__help_commands() { + local commands; commands=( +'list:List all system tray items' \ +'activate:Activate a tray item by ID' \ +'status:Show system tray status' \ +'help:Print this message or the help of the given subcommand(s)' \ + ) + _describe -t commands 'wayle systray help commands' commands "$@" +} +(( $+functions[_wayle__systray__help__activate_commands] )) || +_wayle__systray__help__activate_commands() { + local commands; commands=() + _describe -t commands 'wayle systray help activate commands' commands "$@" +} +(( $+functions[_wayle__systray__help__help_commands] )) || +_wayle__systray__help__help_commands() { + local commands; commands=() + _describe -t commands 'wayle systray help help commands' commands "$@" +} +(( $+functions[_wayle__systray__help__list_commands] )) || +_wayle__systray__help__list_commands() { + local commands; commands=() + _describe -t commands 'wayle systray help list commands' commands "$@" +} +(( $+functions[_wayle__systray__help__status_commands] )) || +_wayle__systray__help__status_commands() { + local commands; commands=() + _describe -t commands 'wayle systray help status commands' commands "$@" +} +(( $+functions[_wayle__systray__list_commands] )) || +_wayle__systray__list_commands() { + local commands; commands=() + _describe -t commands 'wayle systray list commands' commands "$@" +} +(( $+functions[_wayle__systray__status_commands] )) || +_wayle__systray__status_commands() { + local commands; commands=() + _describe -t commands 'wayle systray status commands' commands "$@" +} +(( $+functions[_wayle__wallpaper_commands] )) || +_wayle__wallpaper_commands() { + local commands; commands=( +'set:Set wallpaper from an image file' \ +'cycle:Start cycling wallpapers from a directory' \ +'stop:Stop wallpaper cycling' \ +'next:Skip to next wallpaper' \ +'previous:Go back to previous wallpaper' \ +'info:Display current wallpaper information' \ +'theming-monitor:Set which monitor to use for color extraction' \ +'help:Print this message or the help of the given subcommand(s)' \ + ) + _describe -t commands 'wayle wallpaper commands' commands "$@" +} +(( $+functions[_wayle__wallpaper__cycle_commands] )) || +_wayle__wallpaper__cycle_commands() { + local commands; commands=() + _describe -t commands 'wayle wallpaper cycle commands' commands "$@" +} +(( $+functions[_wayle__wallpaper__help_commands] )) || +_wayle__wallpaper__help_commands() { + local commands; commands=( +'set:Set wallpaper from an image file' \ +'cycle:Start cycling wallpapers from a directory' \ +'stop:Stop wallpaper cycling' \ +'next:Skip to next wallpaper' \ +'previous:Go back to previous wallpaper' \ +'info:Display current wallpaper information' \ +'theming-monitor:Set which monitor to use for color extraction' \ +'help:Print this message or the help of the given subcommand(s)' \ + ) + _describe -t commands 'wayle wallpaper help commands' commands "$@" +} +(( $+functions[_wayle__wallpaper__help__cycle_commands] )) || +_wayle__wallpaper__help__cycle_commands() { + local commands; commands=() + _describe -t commands 'wayle wallpaper help cycle commands' commands "$@" +} +(( $+functions[_wayle__wallpaper__help__help_commands] )) || +_wayle__wallpaper__help__help_commands() { + local commands; commands=() + _describe -t commands 'wayle wallpaper help help commands' commands "$@" +} +(( $+functions[_wayle__wallpaper__help__info_commands] )) || +_wayle__wallpaper__help__info_commands() { + local commands; commands=() + _describe -t commands 'wayle wallpaper help info commands' commands "$@" +} +(( $+functions[_wayle__wallpaper__help__next_commands] )) || +_wayle__wallpaper__help__next_commands() { + local commands; commands=() + _describe -t commands 'wayle wallpaper help next commands' commands "$@" +} +(( $+functions[_wayle__wallpaper__help__previous_commands] )) || +_wayle__wallpaper__help__previous_commands() { + local commands; commands=() + _describe -t commands 'wayle wallpaper help previous commands' commands "$@" +} +(( $+functions[_wayle__wallpaper__help__set_commands] )) || +_wayle__wallpaper__help__set_commands() { + local commands; commands=() + _describe -t commands 'wayle wallpaper help set commands' commands "$@" +} +(( $+functions[_wayle__wallpaper__help__stop_commands] )) || +_wayle__wallpaper__help__stop_commands() { + local commands; commands=() + _describe -t commands 'wayle wallpaper help stop commands' commands "$@" +} +(( $+functions[_wayle__wallpaper__help__theming-monitor_commands] )) || +_wayle__wallpaper__help__theming-monitor_commands() { + local commands; commands=() + _describe -t commands 'wayle wallpaper help theming-monitor commands' commands "$@" +} +(( $+functions[_wayle__wallpaper__info_commands] )) || +_wayle__wallpaper__info_commands() { + local commands; commands=() + _describe -t commands 'wayle wallpaper info commands' commands "$@" +} +(( $+functions[_wayle__wallpaper__next_commands] )) || +_wayle__wallpaper__next_commands() { + local commands; commands=() + _describe -t commands 'wayle wallpaper next commands' commands "$@" +} +(( $+functions[_wayle__wallpaper__previous_commands] )) || +_wayle__wallpaper__previous_commands() { + local commands; commands=() + _describe -t commands 'wayle wallpaper previous commands' commands "$@" +} +(( $+functions[_wayle__wallpaper__set_commands] )) || +_wayle__wallpaper__set_commands() { + local commands; commands=() + _describe -t commands 'wayle wallpaper set commands' commands "$@" +} +(( $+functions[_wayle__wallpaper__stop_commands] )) || +_wayle__wallpaper__stop_commands() { + local commands; commands=() + _describe -t commands 'wayle wallpaper stop commands' commands "$@" +} +(( $+functions[_wayle__wallpaper__theming-monitor_commands] )) || +_wayle__wallpaper__theming-monitor_commands() { + local commands; commands=() + _describe -t commands 'wayle wallpaper theming-monitor commands' commands "$@" +} + +if [ "$funcstack[1]" = "_wayle" ]; then + _wayle "$@" +else + compdef _wayle wayle +fi diff --git a/srcpkgs/wayle/files/completions.bash b/srcpkgs/wayle/files/completions.bash new file mode 100644 index 00000000000000..889600c91152b1 --- /dev/null +++ b/srcpkgs/wayle/files/completions.bash @@ -0,0 +1,4089 @@ +_wayle() { + local i cur prev opts cmd + COMPREPLY=() + if [[ "${BASH_VERSINFO[0]}" -ge 4 ]]; then + cur="$2" + else + cur="${COMP_WORDS[COMP_CWORD]}" + fi + prev="$3" + cmd="" + opts="" + + for i in "${COMP_WORDS[@]:0:COMP_CWORD}" + do + case "${cmd},${i}" in + ",$1") + cmd="wayle" + ;; + wayle,audio) + cmd="wayle__audio" + ;; + wayle,completions) + cmd="wayle__completions" + ;; + wayle,config) + cmd="wayle__config" + ;; + wayle,help) + cmd="wayle__help" + ;; + wayle,icons) + cmd="wayle__icons" + ;; + wayle,idle) + cmd="wayle__idle" + ;; + wayle,media) + cmd="wayle__media" + ;; + wayle,notify) + cmd="wayle__notify" + ;; + wayle,panel) + cmd="wayle__panel" + ;; + wayle,power) + cmd="wayle__power" + ;; + wayle,shell) + cmd="wayle__shell" + ;; + wayle,systray) + cmd="wayle__systray" + ;; + wayle,wallpaper) + cmd="wayle__wallpaper" + ;; + wayle__audio,help) + cmd="wayle__audio__help" + ;; + wayle__audio,input-mute) + cmd="wayle__audio__input__mute" + ;; + wayle__audio,input-volume) + cmd="wayle__audio__input__volume" + ;; + wayle__audio,output-mute) + cmd="wayle__audio__output__mute" + ;; + wayle__audio,output-volume) + cmd="wayle__audio__output__volume" + ;; + wayle__audio,sinks) + cmd="wayle__audio__sinks" + ;; + wayle__audio,sources) + cmd="wayle__audio__sources" + ;; + wayle__audio,status) + cmd="wayle__audio__status" + ;; + wayle__audio__help,help) + cmd="wayle__audio__help__help" + ;; + wayle__audio__help,input-mute) + cmd="wayle__audio__help__input__mute" + ;; + wayle__audio__help,input-volume) + cmd="wayle__audio__help__input__volume" + ;; + wayle__audio__help,output-mute) + cmd="wayle__audio__help__output__mute" + ;; + wayle__audio__help,output-volume) + cmd="wayle__audio__help__output__volume" + ;; + wayle__audio__help,sinks) + cmd="wayle__audio__help__sinks" + ;; + wayle__audio__help,sources) + cmd="wayle__audio__help__sources" + ;; + wayle__audio__help,status) + cmd="wayle__audio__help__status" + ;; + wayle__config,default) + cmd="wayle__config__default" + ;; + wayle__config,docs) + cmd="wayle__config__docs" + ;; + wayle__config,get) + cmd="wayle__config__get" + ;; + wayle__config,help) + cmd="wayle__config__help" + ;; + wayle__config,reset) + cmd="wayle__config__reset" + ;; + wayle__config,schema) + cmd="wayle__config__schema" + ;; + wayle__config,set) + cmd="wayle__config__set" + ;; + wayle__config__help,default) + cmd="wayle__config__help__default" + ;; + wayle__config__help,docs) + cmd="wayle__config__help__docs" + ;; + wayle__config__help,get) + cmd="wayle__config__help__get" + ;; + wayle__config__help,help) + cmd="wayle__config__help__help" + ;; + wayle__config__help,reset) + cmd="wayle__config__help__reset" + ;; + wayle__config__help,schema) + cmd="wayle__config__help__schema" + ;; + wayle__config__help,set) + cmd="wayle__config__help__set" + ;; + wayle__help,audio) + cmd="wayle__help__audio" + ;; + wayle__help,completions) + cmd="wayle__help__completions" + ;; + wayle__help,config) + cmd="wayle__help__config" + ;; + wayle__help,help) + cmd="wayle__help__help" + ;; + wayle__help,icons) + cmd="wayle__help__icons" + ;; + wayle__help,idle) + cmd="wayle__help__idle" + ;; + wayle__help,media) + cmd="wayle__help__media" + ;; + wayle__help,notify) + cmd="wayle__help__notify" + ;; + wayle__help,panel) + cmd="wayle__help__panel" + ;; + wayle__help,power) + cmd="wayle__help__power" + ;; + wayle__help,shell) + cmd="wayle__help__shell" + ;; + wayle__help,systray) + cmd="wayle__help__systray" + ;; + wayle__help,wallpaper) + cmd="wayle__help__wallpaper" + ;; + wayle__help__audio,input-mute) + cmd="wayle__help__audio__input__mute" + ;; + wayle__help__audio,input-volume) + cmd="wayle__help__audio__input__volume" + ;; + wayle__help__audio,output-mute) + cmd="wayle__help__audio__output__mute" + ;; + wayle__help__audio,output-volume) + cmd="wayle__help__audio__output__volume" + ;; + wayle__help__audio,sinks) + cmd="wayle__help__audio__sinks" + ;; + wayle__help__audio,sources) + cmd="wayle__help__audio__sources" + ;; + wayle__help__audio,status) + cmd="wayle__help__audio__status" + ;; + wayle__help__config,default) + cmd="wayle__help__config__default" + ;; + wayle__help__config,docs) + cmd="wayle__help__config__docs" + ;; + wayle__help__config,get) + cmd="wayle__help__config__get" + ;; + wayle__help__config,reset) + cmd="wayle__help__config__reset" + ;; + wayle__help__config,schema) + cmd="wayle__help__config__schema" + ;; + wayle__help__config,set) + cmd="wayle__help__config__set" + ;; + wayle__help__icons,export) + cmd="wayle__help__icons__export" + ;; + wayle__help__icons,import) + cmd="wayle__help__icons__import" + ;; + wayle__help__icons,install) + cmd="wayle__help__icons__install" + ;; + wayle__help__icons,list) + cmd="wayle__help__icons__list" + ;; + wayle__help__icons,open) + cmd="wayle__help__icons__open" + ;; + wayle__help__icons,remove) + cmd="wayle__help__icons__remove" + ;; + wayle__help__icons,setup) + cmd="wayle__help__icons__setup" + ;; + wayle__help__icons,sources) + cmd="wayle__help__icons__sources" + ;; + wayle__help__idle,duration) + cmd="wayle__help__idle__duration" + ;; + wayle__help__idle,off) + cmd="wayle__help__idle__off" + ;; + wayle__help__idle,on) + cmd="wayle__help__idle__on" + ;; + wayle__help__idle,remaining) + cmd="wayle__help__idle__remaining" + ;; + wayle__help__idle,status) + cmd="wayle__help__idle__status" + ;; + wayle__help__idle,toggle) + cmd="wayle__help__idle__toggle" + ;; + wayle__help__media,active) + cmd="wayle__help__media__active" + ;; + wayle__help__media,info) + cmd="wayle__help__media__info" + ;; + wayle__help__media,list) + cmd="wayle__help__media__list" + ;; + wayle__help__media,loop) + cmd="wayle__help__media__loop" + ;; + wayle__help__media,next) + cmd="wayle__help__media__next" + ;; + wayle__help__media,play-pause) + cmd="wayle__help__media__play__pause" + ;; + wayle__help__media,previous) + cmd="wayle__help__media__previous" + ;; + wayle__help__media,shuffle) + cmd="wayle__help__media__shuffle" + ;; + wayle__help__notify,dismiss) + cmd="wayle__help__notify__dismiss" + ;; + wayle__help__notify,dismiss-all) + cmd="wayle__help__notify__dismiss__all" + ;; + wayle__help__notify,dnd) + cmd="wayle__help__notify__dnd" + ;; + wayle__help__notify,list) + cmd="wayle__help__notify__list" + ;; + wayle__help__notify,status) + cmd="wayle__help__notify__status" + ;; + wayle__help__panel,hide) + cmd="wayle__help__panel__hide" + ;; + wayle__help__panel,inspect) + cmd="wayle__help__panel__inspect" + ;; + wayle__help__panel,restart) + cmd="wayle__help__panel__restart" + ;; + wayle__help__panel,settings) + cmd="wayle__help__panel__settings" + ;; + wayle__help__panel,show) + cmd="wayle__help__panel__show" + ;; + wayle__help__panel,start) + cmd="wayle__help__panel__start" + ;; + wayle__help__panel,status) + cmd="wayle__help__panel__status" + ;; + wayle__help__panel,stop) + cmd="wayle__help__panel__stop" + ;; + wayle__help__panel,toggle) + cmd="wayle__help__panel__toggle" + ;; + wayle__help__power,cycle) + cmd="wayle__help__power__cycle" + ;; + wayle__help__power,list) + cmd="wayle__help__power__list" + ;; + wayle__help__power,set) + cmd="wayle__help__power__set" + ;; + wayle__help__power,status) + cmd="wayle__help__power__status" + ;; + wayle__help__systray,activate) + cmd="wayle__help__systray__activate" + ;; + wayle__help__systray,list) + cmd="wayle__help__systray__list" + ;; + wayle__help__systray,status) + cmd="wayle__help__systray__status" + ;; + wayle__help__wallpaper,cycle) + cmd="wayle__help__wallpaper__cycle" + ;; + wayle__help__wallpaper,info) + cmd="wayle__help__wallpaper__info" + ;; + wayle__help__wallpaper,next) + cmd="wayle__help__wallpaper__next" + ;; + wayle__help__wallpaper,previous) + cmd="wayle__help__wallpaper__previous" + ;; + wayle__help__wallpaper,set) + cmd="wayle__help__wallpaper__set" + ;; + wayle__help__wallpaper,stop) + cmd="wayle__help__wallpaper__stop" + ;; + wayle__help__wallpaper,theming-monitor) + cmd="wayle__help__wallpaper__theming__monitor" + ;; + wayle__icons,export) + cmd="wayle__icons__export" + ;; + wayle__icons,help) + cmd="wayle__icons__help" + ;; + wayle__icons,import) + cmd="wayle__icons__import" + ;; + wayle__icons,install) + cmd="wayle__icons__install" + ;; + wayle__icons,list) + cmd="wayle__icons__list" + ;; + wayle__icons,open) + cmd="wayle__icons__open" + ;; + wayle__icons,remove) + cmd="wayle__icons__remove" + ;; + wayle__icons,setup) + cmd="wayle__icons__setup" + ;; + wayle__icons,sources) + cmd="wayle__icons__sources" + ;; + wayle__icons__help,export) + cmd="wayle__icons__help__export" + ;; + wayle__icons__help,help) + cmd="wayle__icons__help__help" + ;; + wayle__icons__help,import) + cmd="wayle__icons__help__import" + ;; + wayle__icons__help,install) + cmd="wayle__icons__help__install" + ;; + wayle__icons__help,list) + cmd="wayle__icons__help__list" + ;; + wayle__icons__help,open) + cmd="wayle__icons__help__open" + ;; + wayle__icons__help,remove) + cmd="wayle__icons__help__remove" + ;; + wayle__icons__help,setup) + cmd="wayle__icons__help__setup" + ;; + wayle__icons__help,sources) + cmd="wayle__icons__help__sources" + ;; + wayle__idle,duration) + cmd="wayle__idle__duration" + ;; + wayle__idle,help) + cmd="wayle__idle__help" + ;; + wayle__idle,off) + cmd="wayle__idle__off" + ;; + wayle__idle,on) + cmd="wayle__idle__on" + ;; + wayle__idle,remaining) + cmd="wayle__idle__remaining" + ;; + wayle__idle,status) + cmd="wayle__idle__status" + ;; + wayle__idle,toggle) + cmd="wayle__idle__toggle" + ;; + wayle__idle__help,duration) + cmd="wayle__idle__help__duration" + ;; + wayle__idle__help,help) + cmd="wayle__idle__help__help" + ;; + wayle__idle__help,off) + cmd="wayle__idle__help__off" + ;; + wayle__idle__help,on) + cmd="wayle__idle__help__on" + ;; + wayle__idle__help,remaining) + cmd="wayle__idle__help__remaining" + ;; + wayle__idle__help,status) + cmd="wayle__idle__help__status" + ;; + wayle__idle__help,toggle) + cmd="wayle__idle__help__toggle" + ;; + wayle__media,active) + cmd="wayle__media__active" + ;; + wayle__media,help) + cmd="wayle__media__help" + ;; + wayle__media,info) + cmd="wayle__media__info" + ;; + wayle__media,list) + cmd="wayle__media__list" + ;; + wayle__media,loop) + cmd="wayle__media__loop" + ;; + wayle__media,next) + cmd="wayle__media__next" + ;; + wayle__media,play-pause) + cmd="wayle__media__play__pause" + ;; + wayle__media,previous) + cmd="wayle__media__previous" + ;; + wayle__media,shuffle) + cmd="wayle__media__shuffle" + ;; + wayle__media__help,active) + cmd="wayle__media__help__active" + ;; + wayle__media__help,help) + cmd="wayle__media__help__help" + ;; + wayle__media__help,info) + cmd="wayle__media__help__info" + ;; + wayle__media__help,list) + cmd="wayle__media__help__list" + ;; + wayle__media__help,loop) + cmd="wayle__media__help__loop" + ;; + wayle__media__help,next) + cmd="wayle__media__help__next" + ;; + wayle__media__help,play-pause) + cmd="wayle__media__help__play__pause" + ;; + wayle__media__help,previous) + cmd="wayle__media__help__previous" + ;; + wayle__media__help,shuffle) + cmd="wayle__media__help__shuffle" + ;; + wayle__notify,dismiss) + cmd="wayle__notify__dismiss" + ;; + wayle__notify,dismiss-all) + cmd="wayle__notify__dismiss__all" + ;; + wayle__notify,dnd) + cmd="wayle__notify__dnd" + ;; + wayle__notify,help) + cmd="wayle__notify__help" + ;; + wayle__notify,list) + cmd="wayle__notify__list" + ;; + wayle__notify,status) + cmd="wayle__notify__status" + ;; + wayle__notify__help,dismiss) + cmd="wayle__notify__help__dismiss" + ;; + wayle__notify__help,dismiss-all) + cmd="wayle__notify__help__dismiss__all" + ;; + wayle__notify__help,dnd) + cmd="wayle__notify__help__dnd" + ;; + wayle__notify__help,help) + cmd="wayle__notify__help__help" + ;; + wayle__notify__help,list) + cmd="wayle__notify__help__list" + ;; + wayle__notify__help,status) + cmd="wayle__notify__help__status" + ;; + wayle__panel,help) + cmd="wayle__panel__help" + ;; + wayle__panel,hide) + cmd="wayle__panel__hide" + ;; + wayle__panel,inspect) + cmd="wayle__panel__inspect" + ;; + wayle__panel,restart) + cmd="wayle__panel__restart" + ;; + wayle__panel,settings) + cmd="wayle__panel__settings" + ;; + wayle__panel,show) + cmd="wayle__panel__show" + ;; + wayle__panel,start) + cmd="wayle__panel__start" + ;; + wayle__panel,status) + cmd="wayle__panel__status" + ;; + wayle__panel,stop) + cmd="wayle__panel__stop" + ;; + wayle__panel,toggle) + cmd="wayle__panel__toggle" + ;; + wayle__panel__help,help) + cmd="wayle__panel__help__help" + ;; + wayle__panel__help,hide) + cmd="wayle__panel__help__hide" + ;; + wayle__panel__help,inspect) + cmd="wayle__panel__help__inspect" + ;; + wayle__panel__help,restart) + cmd="wayle__panel__help__restart" + ;; + wayle__panel__help,settings) + cmd="wayle__panel__help__settings" + ;; + wayle__panel__help,show) + cmd="wayle__panel__help__show" + ;; + wayle__panel__help,start) + cmd="wayle__panel__help__start" + ;; + wayle__panel__help,status) + cmd="wayle__panel__help__status" + ;; + wayle__panel__help,stop) + cmd="wayle__panel__help__stop" + ;; + wayle__panel__help,toggle) + cmd="wayle__panel__help__toggle" + ;; + wayle__power,cycle) + cmd="wayle__power__cycle" + ;; + wayle__power,help) + cmd="wayle__power__help" + ;; + wayle__power,list) + cmd="wayle__power__list" + ;; + wayle__power,set) + cmd="wayle__power__set" + ;; + wayle__power,status) + cmd="wayle__power__status" + ;; + wayle__power__help,cycle) + cmd="wayle__power__help__cycle" + ;; + wayle__power__help,help) + cmd="wayle__power__help__help" + ;; + wayle__power__help,list) + cmd="wayle__power__help__list" + ;; + wayle__power__help,set) + cmd="wayle__power__help__set" + ;; + wayle__power__help,status) + cmd="wayle__power__help__status" + ;; + wayle__systray,activate) + cmd="wayle__systray__activate" + ;; + wayle__systray,help) + cmd="wayle__systray__help" + ;; + wayle__systray,list) + cmd="wayle__systray__list" + ;; + wayle__systray,status) + cmd="wayle__systray__status" + ;; + wayle__systray__help,activate) + cmd="wayle__systray__help__activate" + ;; + wayle__systray__help,help) + cmd="wayle__systray__help__help" + ;; + wayle__systray__help,list) + cmd="wayle__systray__help__list" + ;; + wayle__systray__help,status) + cmd="wayle__systray__help__status" + ;; + wayle__wallpaper,cycle) + cmd="wayle__wallpaper__cycle" + ;; + wayle__wallpaper,help) + cmd="wayle__wallpaper__help" + ;; + wayle__wallpaper,info) + cmd="wayle__wallpaper__info" + ;; + wayle__wallpaper,next) + cmd="wayle__wallpaper__next" + ;; + wayle__wallpaper,previous) + cmd="wayle__wallpaper__previous" + ;; + wayle__wallpaper,set) + cmd="wayle__wallpaper__set" + ;; + wayle__wallpaper,stop) + cmd="wayle__wallpaper__stop" + ;; + wayle__wallpaper,theming-monitor) + cmd="wayle__wallpaper__theming__monitor" + ;; + wayle__wallpaper__help,cycle) + cmd="wayle__wallpaper__help__cycle" + ;; + wayle__wallpaper__help,help) + cmd="wayle__wallpaper__help__help" + ;; + wayle__wallpaper__help,info) + cmd="wayle__wallpaper__help__info" + ;; + wayle__wallpaper__help,next) + cmd="wayle__wallpaper__help__next" + ;; + wayle__wallpaper__help,previous) + cmd="wayle__wallpaper__help__previous" + ;; + wayle__wallpaper__help,set) + cmd="wayle__wallpaper__help__set" + ;; + wayle__wallpaper__help,stop) + cmd="wayle__wallpaper__help__stop" + ;; + wayle__wallpaper__help,theming-monitor) + cmd="wayle__wallpaper__help__theming__monitor" + ;; + *) + ;; + esac + done + + case "${cmd}" in + wayle) + opts="-h -V --help --version audio config icons media notify panel power systray wallpaper idle shell completions help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__audio) + opts="-h --help output-volume output-mute input-volume input-mute sinks sources status help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__audio__help) + opts="output-volume output-mute input-volume input-mute sinks sources status help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__audio__help__help) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__audio__help__input__mute) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__audio__help__input__volume) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__audio__help__output__mute) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__audio__help__output__volume) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__audio__help__sinks) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__audio__help__sources) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__audio__help__status) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__audio__input__mute) + opts="-h --help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__audio__input__volume) + opts="-h --help [LEVEL]" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__audio__output__mute) + opts="-h --help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__audio__output__volume) + opts="-h --help [LEVEL]" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__audio__sinks) + opts="-h --help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__audio__sources) + opts="-h --help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__audio__status) + opts="-h --help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__completions) + opts="-h --help bash elvish fish powershell zsh" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__config) + opts="-h --help get set reset schema default docs help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__config__default) + opts="-h --stdout --help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__config__docs) + opts="-h --out --only --help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + --out) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --only) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__config__get) + opts="-h --help " + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__config__help) + opts="get set reset schema default docs help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__config__help__default) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__config__help__docs) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__config__help__get) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__config__help__help) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__config__help__reset) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__config__help__schema) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__config__help__set) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__config__reset) + opts="-h --help " + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__config__schema) + opts="-h --stdout --help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__config__set) + opts="-h --help " + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help) + opts="audio config icons media notify panel power systray wallpaper idle shell completions help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__audio) + opts="output-volume output-mute input-volume input-mute sinks sources status" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__audio__input__mute) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__audio__input__volume) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__audio__output__mute) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__audio__output__volume) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__audio__sinks) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__audio__sources) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__audio__status) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__completions) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__config) + opts="get set reset schema default docs" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__config__default) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__config__docs) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__config__get) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__config__reset) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__config__schema) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__config__set) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__help) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__icons) + opts="setup install import remove sources list open export" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__icons__export) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__icons__import) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__icons__install) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__icons__list) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__icons__open) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__icons__remove) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__icons__setup) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__icons__sources) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__idle) + opts="on off duration remaining status toggle" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__idle__duration) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__idle__off) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__idle__on) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__idle__remaining) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__idle__status) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__idle__toggle) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__media) + opts="list play-pause next previous shuffle loop active info" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__media__active) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__media__info) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__media__list) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__media__loop) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__media__next) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__media__play__pause) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__media__previous) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__media__shuffle) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__notify) + opts="list dismiss dismiss-all dnd status" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__notify__dismiss) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__notify__dismiss__all) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__notify__dnd) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__notify__list) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__notify__status) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__panel) + opts="start stop restart status settings inspect hide show toggle" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__panel__hide) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__panel__inspect) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__panel__restart) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__panel__settings) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__panel__show) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__panel__start) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__panel__status) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__panel__stop) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__panel__toggle) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__power) + opts="status set cycle list" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__power__cycle) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__power__list) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__power__set) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__power__status) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__shell) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__systray) + opts="list activate status" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__systray__activate) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__systray__list) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__systray__status) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__wallpaper) + opts="set cycle stop next previous info theming-monitor" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__wallpaper__cycle) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__wallpaper__info) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__wallpaper__next) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__wallpaper__previous) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__wallpaper__set) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__wallpaper__stop) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__help__wallpaper__theming__monitor) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__icons) + opts="-h --help setup install import remove sources list open export help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__icons__export) + opts="-h --help " + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__icons__help) + opts="setup install import remove sources list open export help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__icons__help__export) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__icons__help__help) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__icons__help__import) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__icons__help__install) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__icons__help__list) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__icons__help__open) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__icons__help__remove) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__icons__help__setup) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__icons__help__sources) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__icons__import) + opts="-h --help [NAME]" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__icons__install) + opts="-h --help ..." + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__icons__list) + opts="-s -i -h --source --interactive --help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + --source) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + -s) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__icons__open) + opts="-h --help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__icons__remove) + opts="-h --help ..." + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__icons__setup) + opts="-h --help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__icons__sources) + opts="-h --help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__idle) + opts="-h --help on off duration remaining status toggle help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__idle__duration) + opts="-h --help " + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__idle__help) + opts="on off duration remaining status toggle help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__idle__help__duration) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__idle__help__help) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__idle__help__off) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__idle__help__on) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__idle__help__remaining) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__idle__help__status) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__idle__help__toggle) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__idle__off) + opts="-h --help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__idle__on) + opts="-i -h --indefinite --help [MINUTES]" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__idle__remaining) + opts="-h --help " + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__idle__status) + opts="-h --help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__idle__toggle) + opts="-i -h --indefinite --help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__media) + opts="-h --help list play-pause next previous shuffle loop active info help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__media__active) + opts="-h --help [PLAYER_ID]" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__media__help) + opts="list play-pause next previous shuffle loop active info help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__media__help__active) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__media__help__help) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__media__help__info) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__media__help__list) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__media__help__loop) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__media__help__next) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__media__help__play__pause) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__media__help__previous) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__media__help__shuffle) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__media__info) + opts="-h --help [PLAYER_ID]" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__media__list) + opts="-h --help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__media__loop) + opts="-h --help none track playlist [PLAYER_ID]" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__media__next) + opts="-h --help [PLAYER_ID]" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__media__play__pause) + opts="-h --help [PLAYER_ID]" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__media__previous) + opts="-h --help [PLAYER_ID]" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__media__shuffle) + opts="-h --help on off toggle [PLAYER_ID]" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__notify) + opts="-h --help list dismiss dismiss-all dnd status help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__notify__dismiss) + opts="-h --help " + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__notify__dismiss__all) + opts="-h --help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__notify__dnd) + opts="-h --help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__notify__help) + opts="list dismiss dismiss-all dnd status help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__notify__help__dismiss) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__notify__help__dismiss__all) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__notify__help__dnd) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__notify__help__help) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__notify__help__list) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__notify__help__status) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__notify__list) + opts="-h --help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__notify__status) + opts="-h --help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__panel) + opts="-h --help start stop restart status settings inspect hide show toggle help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__panel__help) + opts="start stop restart status settings inspect hide show toggle help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__panel__help__help) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__panel__help__hide) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__panel__help__inspect) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__panel__help__restart) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__panel__help__settings) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__panel__help__show) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__panel__help__start) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__panel__help__status) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__panel__help__stop) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__panel__help__toggle) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__panel__hide) + opts="-h --help [MONITOR]" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__panel__inspect) + opts="-h --help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__panel__restart) + opts="-h --help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__panel__settings) + opts="-h --help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__panel__show) + opts="-h --help [MONITOR]" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__panel__start) + opts="-h --help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__panel__status) + opts="-h --help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__panel__stop) + opts="-h --help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__panel__toggle) + opts="-h --help [MONITOR]" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__power) + opts="-h --help status set cycle list help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__power__cycle) + opts="-h --help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__power__help) + opts="status set cycle list help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__power__help__cycle) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__power__help__help) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__power__help__list) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__power__help__set) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__power__help__status) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__power__list) + opts="-h --help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__power__set) + opts="-h --help " + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__power__status) + opts="-h --help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__shell) + opts="-h --help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__systray) + opts="-h --help list activate status help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__systray__activate) + opts="-h --help " + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__systray__help) + opts="list activate status help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__systray__help__activate) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__systray__help__help) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__systray__help__list) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__systray__help__status) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__systray__list) + opts="-h --help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__systray__status) + opts="-h --help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__wallpaper) + opts="-h --help set cycle stop next previous info theming-monitor help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__wallpaper__cycle) + opts="-i -m -h --interval --mode --help " + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + --interval) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + -i) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + --mode) + COMPREPLY=($(compgen -W "sequential shuffle" -- "${cur}")) + return 0 + ;; + -m) + COMPREPLY=($(compgen -W "sequential shuffle" -- "${cur}")) + return 0 + ;; + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__wallpaper__help) + opts="set cycle stop next previous info theming-monitor help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__wallpaper__help__cycle) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__wallpaper__help__help) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__wallpaper__help__info) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__wallpaper__help__next) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__wallpaper__help__previous) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__wallpaper__help__set) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__wallpaper__help__stop) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__wallpaper__help__theming__monitor) + opts="" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__wallpaper__info) + opts="-h --monitor --help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + --monitor) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__wallpaper__next) + opts="-h --help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__wallpaper__previous) + opts="-h --help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__wallpaper__set) + opts="-f -h --fit --monitor --help " + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + --fit) + COMPREPLY=($(compgen -W "fill fit center tile stretch" -- "${cur}")) + return 0 + ;; + -f) + COMPREPLY=($(compgen -W "fill fit center tile stretch" -- "${cur}")) + return 0 + ;; + --monitor) + COMPREPLY=($(compgen -f "${cur}")) + return 0 + ;; + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__wallpaper__stop) + opts="-h --help" + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + wayle__wallpaper__theming__monitor) + opts="-h --help " + if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + case "${prev}" in + *) + COMPREPLY=() + ;; + esac + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + ;; + esac +} + +if [[ "${BASH_VERSINFO[0]}" -eq 4 && "${BASH_VERSINFO[1]}" -ge 4 || "${BASH_VERSINFO[0]}" -gt 4 ]]; then + complete -F _wayle -o nosort -o bashdefault -o default wayle +else + complete -F _wayle -o bashdefault -o default wayle +fi diff --git a/srcpkgs/wayle/files/wayle.fish b/srcpkgs/wayle/files/wayle.fish new file mode 100644 index 00000000000000..60f9b88f44f989 --- /dev/null +++ b/srcpkgs/wayle/files/wayle.fish @@ -0,0 +1,356 @@ +# Print an optspec for argparse to handle cmd's options that are independent of any subcommand. +function __fish_wayle_global_optspecs + string join \n h/help V/version +end + +function __fish_wayle_needs_command + # Figure out if the current invocation already has a command. + set -l cmd (commandline -opc) + set -e cmd[1] + argparse -s (__fish_wayle_global_optspecs) -- $cmd 2>/dev/null + or return + if set -q argv[1] + # Also print the command, so this can be used to figure out what it is. + echo $argv[1] + return 1 + end + return 0 +end + +function __fish_wayle_using_subcommand + set -l cmd (__fish_wayle_needs_command) + test -z "$cmd" + and return 1 + contains -- $cmd[1] $argv +end + +complete -c wayle -n "__fish_wayle_needs_command" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_needs_command" -s V -l version -d 'Print version' +complete -c wayle -n "__fish_wayle_needs_command" -f -a "audio" -d 'Audio control commands' +complete -c wayle -n "__fish_wayle_needs_command" -f -a "config" -d 'Configuration management commands' +complete -c wayle -n "__fish_wayle_needs_command" -f -a "icons" -d 'Icon management commands' +complete -c wayle -n "__fish_wayle_needs_command" -f -a "media" -d 'Media player control commands' +complete -c wayle -n "__fish_wayle_needs_command" -f -a "notify" -d 'Notification control commands' +complete -c wayle -n "__fish_wayle_needs_command" -f -a "panel" -d 'Panel management commands' +complete -c wayle -n "__fish_wayle_needs_command" -f -a "power" -d 'Power profile commands' +complete -c wayle -n "__fish_wayle_needs_command" -f -a "systray" -d 'System tray commands' +complete -c wayle -n "__fish_wayle_needs_command" -f -a "wallpaper" -d 'Wallpaper control commands' +complete -c wayle -n "__fish_wayle_needs_command" -f -a "idle" -d 'Idle inhibit control commands' +complete -c wayle -n "__fish_wayle_needs_command" -f -a "shell" -d 'Run the desktop shell in the foreground' +complete -c wayle -n "__fish_wayle_needs_command" -f -a "completions" -d 'Generate shell completions' +complete -c wayle -n "__fish_wayle_needs_command" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' +complete -c wayle -n "__fish_wayle_using_subcommand audio; and not __fish_seen_subcommand_from output-volume output-mute input-volume input-mute sinks sources status help" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand audio; and not __fish_seen_subcommand_from output-volume output-mute input-volume input-mute sinks sources status help" -f -a "output-volume" -d 'Get or set output volume level' +complete -c wayle -n "__fish_wayle_using_subcommand audio; and not __fish_seen_subcommand_from output-volume output-mute input-volume input-mute sinks sources status help" -f -a "output-mute" -d 'Toggle output mute state' +complete -c wayle -n "__fish_wayle_using_subcommand audio; and not __fish_seen_subcommand_from output-volume output-mute input-volume input-mute sinks sources status help" -f -a "input-volume" -d 'Get or set input volume level' +complete -c wayle -n "__fish_wayle_using_subcommand audio; and not __fish_seen_subcommand_from output-volume output-mute input-volume input-mute sinks sources status help" -f -a "input-mute" -d 'Toggle input mute state' +complete -c wayle -n "__fish_wayle_using_subcommand audio; and not __fish_seen_subcommand_from output-volume output-mute input-volume input-mute sinks sources status help" -f -a "sinks" -d 'List available audio sinks (outputs)' +complete -c wayle -n "__fish_wayle_using_subcommand audio; and not __fish_seen_subcommand_from output-volume output-mute input-volume input-mute sinks sources status help" -f -a "sources" -d 'List available audio sources (inputs)' +complete -c wayle -n "__fish_wayle_using_subcommand audio; and not __fish_seen_subcommand_from output-volume output-mute input-volume input-mute sinks sources status help" -f -a "status" -d 'Show current audio status' +complete -c wayle -n "__fish_wayle_using_subcommand audio; and not __fish_seen_subcommand_from output-volume output-mute input-volume input-mute sinks sources status help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' +complete -c wayle -n "__fish_wayle_using_subcommand audio; and __fish_seen_subcommand_from output-volume" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand audio; and __fish_seen_subcommand_from output-mute" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand audio; and __fish_seen_subcommand_from input-volume" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand audio; and __fish_seen_subcommand_from input-mute" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand audio; and __fish_seen_subcommand_from sinks" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand audio; and __fish_seen_subcommand_from sources" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand audio; and __fish_seen_subcommand_from status" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand audio; and __fish_seen_subcommand_from help" -f -a "output-volume" -d 'Get or set output volume level' +complete -c wayle -n "__fish_wayle_using_subcommand audio; and __fish_seen_subcommand_from help" -f -a "output-mute" -d 'Toggle output mute state' +complete -c wayle -n "__fish_wayle_using_subcommand audio; and __fish_seen_subcommand_from help" -f -a "input-volume" -d 'Get or set input volume level' +complete -c wayle -n "__fish_wayle_using_subcommand audio; and __fish_seen_subcommand_from help" -f -a "input-mute" -d 'Toggle input mute state' +complete -c wayle -n "__fish_wayle_using_subcommand audio; and __fish_seen_subcommand_from help" -f -a "sinks" -d 'List available audio sinks (outputs)' +complete -c wayle -n "__fish_wayle_using_subcommand audio; and __fish_seen_subcommand_from help" -f -a "sources" -d 'List available audio sources (inputs)' +complete -c wayle -n "__fish_wayle_using_subcommand audio; and __fish_seen_subcommand_from help" -f -a "status" -d 'Show current audio status' +complete -c wayle -n "__fish_wayle_using_subcommand audio; and __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' +complete -c wayle -n "__fish_wayle_using_subcommand config; and not __fish_seen_subcommand_from get set reset schema default docs help" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand config; and not __fish_seen_subcommand_from get set reset schema default docs help" -f -a "get" -d 'Get the value of a configuration path' +complete -c wayle -n "__fish_wayle_using_subcommand config; and not __fish_seen_subcommand_from get set reset schema default docs help" -f -a "set" -d 'Set the value of a configuration path' +complete -c wayle -n "__fish_wayle_using_subcommand config; and not __fish_seen_subcommand_from get set reset schema default docs help" -f -a "reset" -d 'Reset a configuration path to its default value' +complete -c wayle -n "__fish_wayle_using_subcommand config; and not __fish_seen_subcommand_from get set reset schema default docs help" -f -a "schema" -d 'Output JSON Schema for the configuration (for editor intellisense)' +complete -c wayle -n "__fish_wayle_using_subcommand config; and not __fish_seen_subcommand_from get set reset schema default docs help" -f -a "default" -d 'Output the default configuration as TOML' +complete -c wayle -n "__fish_wayle_using_subcommand config; and not __fish_seen_subcommand_from get set reset schema default docs help" -f -a "docs" -d 'Generate markdown reference pages for every registered schema' +complete -c wayle -n "__fish_wayle_using_subcommand config; and not __fish_seen_subcommand_from get set reset schema default docs help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' +complete -c wayle -n "__fish_wayle_using_subcommand config; and __fish_seen_subcommand_from get" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand config; and __fish_seen_subcommand_from set" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand config; and __fish_seen_subcommand_from reset" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand config; and __fish_seen_subcommand_from schema" -l stdout -d 'Print to stdout instead of writing to config directory' +complete -c wayle -n "__fish_wayle_using_subcommand config; and __fish_seen_subcommand_from schema" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand config; and __fish_seen_subcommand_from default" -l stdout -d 'Print to stdout instead of writing config.toml.example' +complete -c wayle -n "__fish_wayle_using_subcommand config; and __fish_seen_subcommand_from default" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand config; and __fish_seen_subcommand_from docs" -l out -d 'Output directory for the generated pages' -r -F +complete -c wayle -n "__fish_wayle_using_subcommand config; and __fish_seen_subcommand_from docs" -l only -d 'Regenerate only the named module' -r +complete -c wayle -n "__fish_wayle_using_subcommand config; and __fish_seen_subcommand_from docs" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand config; and __fish_seen_subcommand_from help" -f -a "get" -d 'Get the value of a configuration path' +complete -c wayle -n "__fish_wayle_using_subcommand config; and __fish_seen_subcommand_from help" -f -a "set" -d 'Set the value of a configuration path' +complete -c wayle -n "__fish_wayle_using_subcommand config; and __fish_seen_subcommand_from help" -f -a "reset" -d 'Reset a configuration path to its default value' +complete -c wayle -n "__fish_wayle_using_subcommand config; and __fish_seen_subcommand_from help" -f -a "schema" -d 'Output JSON Schema for the configuration (for editor intellisense)' +complete -c wayle -n "__fish_wayle_using_subcommand config; and __fish_seen_subcommand_from help" -f -a "default" -d 'Output the default configuration as TOML' +complete -c wayle -n "__fish_wayle_using_subcommand config; and __fish_seen_subcommand_from help" -f -a "docs" -d 'Generate markdown reference pages for every registered schema' +complete -c wayle -n "__fish_wayle_using_subcommand config; and __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' +complete -c wayle -n "__fish_wayle_using_subcommand icons; and not __fish_seen_subcommand_from setup install import remove sources list open export help" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand icons; and not __fish_seen_subcommand_from setup install import remove sources list open export help" -f -a "setup" -d 'Install bundled icons required by Wayle components' +complete -c wayle -n "__fish_wayle_using_subcommand icons; and not __fish_seen_subcommand_from setup install import remove sources list open export help" -f -a "install" -d 'Install icons from a CDN source' +complete -c wayle -n "__fish_wayle_using_subcommand icons; and not __fish_seen_subcommand_from setup install import remove sources list open export help" -f -a "import" -d 'Import local SVG file(s) as icons' +complete -c wayle -n "__fish_wayle_using_subcommand icons; and not __fish_seen_subcommand_from setup install import remove sources list open export help" -f -a "remove" -d 'Remove installed icons' +complete -c wayle -n "__fish_wayle_using_subcommand icons; and not __fish_seen_subcommand_from setup install import remove sources list open export help" -f -a "sources" -d 'List available icon sources' +complete -c wayle -n "__fish_wayle_using_subcommand icons; and not __fish_seen_subcommand_from setup install import remove sources list open export help" -f -a "list" -d 'List installed icons' +complete -c wayle -n "__fish_wayle_using_subcommand icons; and not __fish_seen_subcommand_from setup install import remove sources list open export help" -f -a "open" -d 'Open the icons directory in file manager' +complete -c wayle -n "__fish_wayle_using_subcommand icons; and not __fish_seen_subcommand_from setup install import remove sources list open export help" -f -a "export" -d 'Export all installed icons to a directory' +complete -c wayle -n "__fish_wayle_using_subcommand icons; and not __fish_seen_subcommand_from setup install import remove sources list open export help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' +complete -c wayle -n "__fish_wayle_using_subcommand icons; and __fish_seen_subcommand_from setup" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand icons; and __fish_seen_subcommand_from install" -s h -l help -d 'Print help (see more with \'--help\')' +complete -c wayle -n "__fish_wayle_using_subcommand icons; and __fish_seen_subcommand_from import" -s h -l help -d 'Print help (see more with \'--help\')' +complete -c wayle -n "__fish_wayle_using_subcommand icons; and __fish_seen_subcommand_from remove" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand icons; and __fish_seen_subcommand_from sources" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand icons; and __fish_seen_subcommand_from list" -s s -l source -d 'Filter by source prefix (e.g., tb, si, md)' -r +complete -c wayle -n "__fish_wayle_using_subcommand icons; and __fish_seen_subcommand_from list" -s i -l interactive -d 'Interactive fuzzy search (requires fzf)' +complete -c wayle -n "__fish_wayle_using_subcommand icons; and __fish_seen_subcommand_from list" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand icons; and __fish_seen_subcommand_from open" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand icons; and __fish_seen_subcommand_from export" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand icons; and __fish_seen_subcommand_from help" -f -a "setup" -d 'Install bundled icons required by Wayle components' +complete -c wayle -n "__fish_wayle_using_subcommand icons; and __fish_seen_subcommand_from help" -f -a "install" -d 'Install icons from a CDN source' +complete -c wayle -n "__fish_wayle_using_subcommand icons; and __fish_seen_subcommand_from help" -f -a "import" -d 'Import local SVG file(s) as icons' +complete -c wayle -n "__fish_wayle_using_subcommand icons; and __fish_seen_subcommand_from help" -f -a "remove" -d 'Remove installed icons' +complete -c wayle -n "__fish_wayle_using_subcommand icons; and __fish_seen_subcommand_from help" -f -a "sources" -d 'List available icon sources' +complete -c wayle -n "__fish_wayle_using_subcommand icons; and __fish_seen_subcommand_from help" -f -a "list" -d 'List installed icons' +complete -c wayle -n "__fish_wayle_using_subcommand icons; and __fish_seen_subcommand_from help" -f -a "open" -d 'Open the icons directory in file manager' +complete -c wayle -n "__fish_wayle_using_subcommand icons; and __fish_seen_subcommand_from help" -f -a "export" -d 'Export all installed icons to a directory' +complete -c wayle -n "__fish_wayle_using_subcommand icons; and __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' +complete -c wayle -n "__fish_wayle_using_subcommand media; and not __fish_seen_subcommand_from list play-pause next previous shuffle loop active info help" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand media; and not __fish_seen_subcommand_from list play-pause next previous shuffle loop active info help" -f -a "list" -d 'List all available media players' +complete -c wayle -n "__fish_wayle_using_subcommand media; and not __fish_seen_subcommand_from list play-pause next previous shuffle loop active info help" -f -a "play-pause" -d 'Toggle play/pause for a media player' +complete -c wayle -n "__fish_wayle_using_subcommand media; and not __fish_seen_subcommand_from list play-pause next previous shuffle loop active info help" -f -a "next" -d 'Skip to next track' +complete -c wayle -n "__fish_wayle_using_subcommand media; and not __fish_seen_subcommand_from list play-pause next previous shuffle loop active info help" -f -a "previous" -d 'Go to previous track' +complete -c wayle -n "__fish_wayle_using_subcommand media; and not __fish_seen_subcommand_from list play-pause next previous shuffle loop active info help" -f -a "shuffle" -d 'Toggle or set shuffle mode' +complete -c wayle -n "__fish_wayle_using_subcommand media; and not __fish_seen_subcommand_from list play-pause next previous shuffle loop active info help" -f -a "loop" -d 'Set loop/repeat mode' +complete -c wayle -n "__fish_wayle_using_subcommand media; and not __fish_seen_subcommand_from list play-pause next previous shuffle loop active info help" -f -a "active" -d 'Get or set the active media player' +complete -c wayle -n "__fish_wayle_using_subcommand media; and not __fish_seen_subcommand_from list play-pause next previous shuffle loop active info help" -f -a "info" -d 'Display detailed information about a media player' +complete -c wayle -n "__fish_wayle_using_subcommand media; and not __fish_seen_subcommand_from list play-pause next previous shuffle loop active info help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' +complete -c wayle -n "__fish_wayle_using_subcommand media; and __fish_seen_subcommand_from list" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand media; and __fish_seen_subcommand_from play-pause" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand media; and __fish_seen_subcommand_from next" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand media; and __fish_seen_subcommand_from previous" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand media; and __fish_seen_subcommand_from shuffle" -s h -l help -d 'Print help (see more with \'--help\')' +complete -c wayle -n "__fish_wayle_using_subcommand media; and __fish_seen_subcommand_from loop" -s h -l help -d 'Print help (see more with \'--help\')' +complete -c wayle -n "__fish_wayle_using_subcommand media; and __fish_seen_subcommand_from active" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand media; and __fish_seen_subcommand_from info" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand media; and __fish_seen_subcommand_from help" -f -a "list" -d 'List all available media players' +complete -c wayle -n "__fish_wayle_using_subcommand media; and __fish_seen_subcommand_from help" -f -a "play-pause" -d 'Toggle play/pause for a media player' +complete -c wayle -n "__fish_wayle_using_subcommand media; and __fish_seen_subcommand_from help" -f -a "next" -d 'Skip to next track' +complete -c wayle -n "__fish_wayle_using_subcommand media; and __fish_seen_subcommand_from help" -f -a "previous" -d 'Go to previous track' +complete -c wayle -n "__fish_wayle_using_subcommand media; and __fish_seen_subcommand_from help" -f -a "shuffle" -d 'Toggle or set shuffle mode' +complete -c wayle -n "__fish_wayle_using_subcommand media; and __fish_seen_subcommand_from help" -f -a "loop" -d 'Set loop/repeat mode' +complete -c wayle -n "__fish_wayle_using_subcommand media; and __fish_seen_subcommand_from help" -f -a "active" -d 'Get or set the active media player' +complete -c wayle -n "__fish_wayle_using_subcommand media; and __fish_seen_subcommand_from help" -f -a "info" -d 'Display detailed information about a media player' +complete -c wayle -n "__fish_wayle_using_subcommand media; and __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' +complete -c wayle -n "__fish_wayle_using_subcommand notify; and not __fish_seen_subcommand_from list dismiss dismiss-all dnd status help" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand notify; and not __fish_seen_subcommand_from list dismiss dismiss-all dnd status help" -f -a "list" -d 'List all notifications' +complete -c wayle -n "__fish_wayle_using_subcommand notify; and not __fish_seen_subcommand_from list dismiss dismiss-all dnd status help" -f -a "dismiss" -d 'Dismiss a notification by ID' +complete -c wayle -n "__fish_wayle_using_subcommand notify; and not __fish_seen_subcommand_from list dismiss dismiss-all dnd status help" -f -a "dismiss-all" -d 'Dismiss all notifications' +complete -c wayle -n "__fish_wayle_using_subcommand notify; and not __fish_seen_subcommand_from list dismiss dismiss-all dnd status help" -f -a "dnd" -d 'Toggle Do Not Disturb mode' +complete -c wayle -n "__fish_wayle_using_subcommand notify; and not __fish_seen_subcommand_from list dismiss dismiss-all dnd status help" -f -a "status" -d 'Show notification status' +complete -c wayle -n "__fish_wayle_using_subcommand notify; and not __fish_seen_subcommand_from list dismiss dismiss-all dnd status help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' +complete -c wayle -n "__fish_wayle_using_subcommand notify; and __fish_seen_subcommand_from list" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand notify; and __fish_seen_subcommand_from dismiss" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand notify; and __fish_seen_subcommand_from dismiss-all" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand notify; and __fish_seen_subcommand_from dnd" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand notify; and __fish_seen_subcommand_from status" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand notify; and __fish_seen_subcommand_from help" -f -a "list" -d 'List all notifications' +complete -c wayle -n "__fish_wayle_using_subcommand notify; and __fish_seen_subcommand_from help" -f -a "dismiss" -d 'Dismiss a notification by ID' +complete -c wayle -n "__fish_wayle_using_subcommand notify; and __fish_seen_subcommand_from help" -f -a "dismiss-all" -d 'Dismiss all notifications' +complete -c wayle -n "__fish_wayle_using_subcommand notify; and __fish_seen_subcommand_from help" -f -a "dnd" -d 'Toggle Do Not Disturb mode' +complete -c wayle -n "__fish_wayle_using_subcommand notify; and __fish_seen_subcommand_from help" -f -a "status" -d 'Show notification status' +complete -c wayle -n "__fish_wayle_using_subcommand notify; and __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' +complete -c wayle -n "__fish_wayle_using_subcommand panel; and not __fish_seen_subcommand_from start stop restart status settings inspect hide show toggle help" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand panel; and not __fish_seen_subcommand_from start stop restart status settings inspect hide show toggle help" -f -a "start" -d 'Start the panel daemon' +complete -c wayle -n "__fish_wayle_using_subcommand panel; and not __fish_seen_subcommand_from start stop restart status settings inspect hide show toggle help" -f -a "stop" -d 'Stop the panel daemon' +complete -c wayle -n "__fish_wayle_using_subcommand panel; and not __fish_seen_subcommand_from start stop restart status settings inspect hide show toggle help" -f -a "restart" -d 'Restart the panel daemon' +complete -c wayle -n "__fish_wayle_using_subcommand panel; and not __fish_seen_subcommand_from start stop restart status settings inspect hide show toggle help" -f -a "status" -d 'Check panel status' +complete -c wayle -n "__fish_wayle_using_subcommand panel; and not __fish_seen_subcommand_from start stop restart status settings inspect hide show toggle help" -f -a "settings" -d 'Open panel settings' +complete -c wayle -n "__fish_wayle_using_subcommand panel; and not __fish_seen_subcommand_from start stop restart status settings inspect hide show toggle help" -f -a "inspect" -d 'Open GTK Inspector for debugging' +complete -c wayle -n "__fish_wayle_using_subcommand panel; and not __fish_seen_subcommand_from start stop restart status settings inspect hide show toggle help" -f -a "hide" -d 'Hide the bar on a monitor' +complete -c wayle -n "__fish_wayle_using_subcommand panel; and not __fish_seen_subcommand_from start stop restart status settings inspect hide show toggle help" -f -a "show" -d 'Show the bar on a monitor' +complete -c wayle -n "__fish_wayle_using_subcommand panel; and not __fish_seen_subcommand_from start stop restart status settings inspect hide show toggle help" -f -a "toggle" -d 'Toggle bar visibility on a monitor' +complete -c wayle -n "__fish_wayle_using_subcommand panel; and not __fish_seen_subcommand_from start stop restart status settings inspect hide show toggle help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' +complete -c wayle -n "__fish_wayle_using_subcommand panel; and __fish_seen_subcommand_from start" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand panel; and __fish_seen_subcommand_from stop" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand panel; and __fish_seen_subcommand_from restart" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand panel; and __fish_seen_subcommand_from status" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand panel; and __fish_seen_subcommand_from settings" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand panel; and __fish_seen_subcommand_from inspect" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand panel; and __fish_seen_subcommand_from hide" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand panel; and __fish_seen_subcommand_from show" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand panel; and __fish_seen_subcommand_from toggle" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand panel; and __fish_seen_subcommand_from help" -f -a "start" -d 'Start the panel daemon' +complete -c wayle -n "__fish_wayle_using_subcommand panel; and __fish_seen_subcommand_from help" -f -a "stop" -d 'Stop the panel daemon' +complete -c wayle -n "__fish_wayle_using_subcommand panel; and __fish_seen_subcommand_from help" -f -a "restart" -d 'Restart the panel daemon' +complete -c wayle -n "__fish_wayle_using_subcommand panel; and __fish_seen_subcommand_from help" -f -a "status" -d 'Check panel status' +complete -c wayle -n "__fish_wayle_using_subcommand panel; and __fish_seen_subcommand_from help" -f -a "settings" -d 'Open panel settings' +complete -c wayle -n "__fish_wayle_using_subcommand panel; and __fish_seen_subcommand_from help" -f -a "inspect" -d 'Open GTK Inspector for debugging' +complete -c wayle -n "__fish_wayle_using_subcommand panel; and __fish_seen_subcommand_from help" -f -a "hide" -d 'Hide the bar on a monitor' +complete -c wayle -n "__fish_wayle_using_subcommand panel; and __fish_seen_subcommand_from help" -f -a "show" -d 'Show the bar on a monitor' +complete -c wayle -n "__fish_wayle_using_subcommand panel; and __fish_seen_subcommand_from help" -f -a "toggle" -d 'Toggle bar visibility on a monitor' +complete -c wayle -n "__fish_wayle_using_subcommand panel; and __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' +complete -c wayle -n "__fish_wayle_using_subcommand power; and not __fish_seen_subcommand_from status set cycle list help" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand power; and not __fish_seen_subcommand_from status set cycle list help" -f -a "status" -d 'Show current power profile' +complete -c wayle -n "__fish_wayle_using_subcommand power; and not __fish_seen_subcommand_from status set cycle list help" -f -a "set" -d 'Set power profile' +complete -c wayle -n "__fish_wayle_using_subcommand power; and not __fish_seen_subcommand_from status set cycle list help" -f -a "cycle" -d 'Cycle to next power profile' +complete -c wayle -n "__fish_wayle_using_subcommand power; and not __fish_seen_subcommand_from status set cycle list help" -f -a "list" -d 'List available power profiles' +complete -c wayle -n "__fish_wayle_using_subcommand power; and not __fish_seen_subcommand_from status set cycle list help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' +complete -c wayle -n "__fish_wayle_using_subcommand power; and __fish_seen_subcommand_from status" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand power; and __fish_seen_subcommand_from set" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand power; and __fish_seen_subcommand_from cycle" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand power; and __fish_seen_subcommand_from list" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand power; and __fish_seen_subcommand_from help" -f -a "status" -d 'Show current power profile' +complete -c wayle -n "__fish_wayle_using_subcommand power; and __fish_seen_subcommand_from help" -f -a "set" -d 'Set power profile' +complete -c wayle -n "__fish_wayle_using_subcommand power; and __fish_seen_subcommand_from help" -f -a "cycle" -d 'Cycle to next power profile' +complete -c wayle -n "__fish_wayle_using_subcommand power; and __fish_seen_subcommand_from help" -f -a "list" -d 'List available power profiles' +complete -c wayle -n "__fish_wayle_using_subcommand power; and __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' +complete -c wayle -n "__fish_wayle_using_subcommand systray; and not __fish_seen_subcommand_from list activate status help" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand systray; and not __fish_seen_subcommand_from list activate status help" -f -a "list" -d 'List all system tray items' +complete -c wayle -n "__fish_wayle_using_subcommand systray; and not __fish_seen_subcommand_from list activate status help" -f -a "activate" -d 'Activate a tray item by ID' +complete -c wayle -n "__fish_wayle_using_subcommand systray; and not __fish_seen_subcommand_from list activate status help" -f -a "status" -d 'Show system tray status' +complete -c wayle -n "__fish_wayle_using_subcommand systray; and not __fish_seen_subcommand_from list activate status help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' +complete -c wayle -n "__fish_wayle_using_subcommand systray; and __fish_seen_subcommand_from list" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand systray; and __fish_seen_subcommand_from activate" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand systray; and __fish_seen_subcommand_from status" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand systray; and __fish_seen_subcommand_from help" -f -a "list" -d 'List all system tray items' +complete -c wayle -n "__fish_wayle_using_subcommand systray; and __fish_seen_subcommand_from help" -f -a "activate" -d 'Activate a tray item by ID' +complete -c wayle -n "__fish_wayle_using_subcommand systray; and __fish_seen_subcommand_from help" -f -a "status" -d 'Show system tray status' +complete -c wayle -n "__fish_wayle_using_subcommand systray; and __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' +complete -c wayle -n "__fish_wayle_using_subcommand wallpaper; and not __fish_seen_subcommand_from set cycle stop next previous info theming-monitor help" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand wallpaper; and not __fish_seen_subcommand_from set cycle stop next previous info theming-monitor help" -f -a "set" -d 'Set wallpaper from an image file' +complete -c wayle -n "__fish_wayle_using_subcommand wallpaper; and not __fish_seen_subcommand_from set cycle stop next previous info theming-monitor help" -f -a "cycle" -d 'Start cycling wallpapers from a directory' +complete -c wayle -n "__fish_wayle_using_subcommand wallpaper; and not __fish_seen_subcommand_from set cycle stop next previous info theming-monitor help" -f -a "stop" -d 'Stop wallpaper cycling' +complete -c wayle -n "__fish_wayle_using_subcommand wallpaper; and not __fish_seen_subcommand_from set cycle stop next previous info theming-monitor help" -f -a "next" -d 'Skip to next wallpaper' +complete -c wayle -n "__fish_wayle_using_subcommand wallpaper; and not __fish_seen_subcommand_from set cycle stop next previous info theming-monitor help" -f -a "previous" -d 'Go back to previous wallpaper' +complete -c wayle -n "__fish_wayle_using_subcommand wallpaper; and not __fish_seen_subcommand_from set cycle stop next previous info theming-monitor help" -f -a "info" -d 'Display current wallpaper information' +complete -c wayle -n "__fish_wayle_using_subcommand wallpaper; and not __fish_seen_subcommand_from set cycle stop next previous info theming-monitor help" -f -a "theming-monitor" -d 'Set which monitor to use for color extraction' +complete -c wayle -n "__fish_wayle_using_subcommand wallpaper; and not __fish_seen_subcommand_from set cycle stop next previous info theming-monitor help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' +complete -c wayle -n "__fish_wayle_using_subcommand wallpaper; and __fish_seen_subcommand_from set" -s f -l fit -d 'Image fit mode' -r -f -a "fill\t'Scale to cover entire display' +fit\t'Scale to fit within display' +center\t'Display at original size, centered' +tile\t'Tile the image' +stretch\t'Stretch to fill'" +complete -c wayle -n "__fish_wayle_using_subcommand wallpaper; and __fish_seen_subcommand_from set" -l monitor -d 'Target monitor (e.g., DP-1, HDMI-A-1). If omitted, applies to all monitors' -r +complete -c wayle -n "__fish_wayle_using_subcommand wallpaper; and __fish_seen_subcommand_from set" -s h -l help -d 'Print help (see more with \'--help\')' +complete -c wayle -n "__fish_wayle_using_subcommand wallpaper; and __fish_seen_subcommand_from cycle" -s i -l interval -d 'Interval in seconds between changes' -r +complete -c wayle -n "__fish_wayle_using_subcommand wallpaper; and __fish_seen_subcommand_from cycle" -s m -l mode -d 'Cycling mode' -r -f -a "sequential\t'Cycle in alphabetical order' +shuffle\t'Cycle in random order'" +complete -c wayle -n "__fish_wayle_using_subcommand wallpaper; and __fish_seen_subcommand_from cycle" -s h -l help -d 'Print help (see more with \'--help\')' +complete -c wayle -n "__fish_wayle_using_subcommand wallpaper; and __fish_seen_subcommand_from stop" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand wallpaper; and __fish_seen_subcommand_from next" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand wallpaper; and __fish_seen_subcommand_from previous" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand wallpaper; and __fish_seen_subcommand_from info" -l monitor -d 'Target monitor (e.g., DP-1, HDMI-A-1). If omitted, shows global state' -r +complete -c wayle -n "__fish_wayle_using_subcommand wallpaper; and __fish_seen_subcommand_from info" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand wallpaper; and __fish_seen_subcommand_from theming-monitor" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand wallpaper; and __fish_seen_subcommand_from help" -f -a "set" -d 'Set wallpaper from an image file' +complete -c wayle -n "__fish_wayle_using_subcommand wallpaper; and __fish_seen_subcommand_from help" -f -a "cycle" -d 'Start cycling wallpapers from a directory' +complete -c wayle -n "__fish_wayle_using_subcommand wallpaper; and __fish_seen_subcommand_from help" -f -a "stop" -d 'Stop wallpaper cycling' +complete -c wayle -n "__fish_wayle_using_subcommand wallpaper; and __fish_seen_subcommand_from help" -f -a "next" -d 'Skip to next wallpaper' +complete -c wayle -n "__fish_wayle_using_subcommand wallpaper; and __fish_seen_subcommand_from help" -f -a "previous" -d 'Go back to previous wallpaper' +complete -c wayle -n "__fish_wayle_using_subcommand wallpaper; and __fish_seen_subcommand_from help" -f -a "info" -d 'Display current wallpaper information' +complete -c wayle -n "__fish_wayle_using_subcommand wallpaper; and __fish_seen_subcommand_from help" -f -a "theming-monitor" -d 'Set which monitor to use for color extraction' +complete -c wayle -n "__fish_wayle_using_subcommand wallpaper; and __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' +complete -c wayle -n "__fish_wayle_using_subcommand idle; and not __fish_seen_subcommand_from on off duration remaining status toggle help" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand idle; and not __fish_seen_subcommand_from on off duration remaining status toggle help" -f -a "on" -d 'Enable idle inhibition' +complete -c wayle -n "__fish_wayle_using_subcommand idle; and not __fish_seen_subcommand_from on off duration remaining status toggle help" -f -a "off" -d 'Disable idle inhibition' +complete -c wayle -n "__fish_wayle_using_subcommand idle; and not __fish_seen_subcommand_from on off duration remaining status toggle help" -f -a "duration" -d 'Adjust timer duration (upper limit)' +complete -c wayle -n "__fish_wayle_using_subcommand idle; and not __fish_seen_subcommand_from on off duration remaining status toggle help" -f -a "remaining" -d 'Adjust remaining time on active timer' +complete -c wayle -n "__fish_wayle_using_subcommand idle; and not __fish_seen_subcommand_from on off duration remaining status toggle help" -f -a "status" -d 'Show current idle inhibit status' +complete -c wayle -n "__fish_wayle_using_subcommand idle; and not __fish_seen_subcommand_from on off duration remaining status toggle help" -f -a "toggle" -d 'Toggle idle inhibition on/off' +complete -c wayle -n "__fish_wayle_using_subcommand idle; and not __fish_seen_subcommand_from on off duration remaining status toggle help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' +complete -c wayle -n "__fish_wayle_using_subcommand idle; and __fish_seen_subcommand_from on" -s i -l indefinite -d 'Force indefinite mode (ignore default duration)' +complete -c wayle -n "__fish_wayle_using_subcommand idle; and __fish_seen_subcommand_from on" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand idle; and __fish_seen_subcommand_from off" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand idle; and __fish_seen_subcommand_from duration" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand idle; and __fish_seen_subcommand_from remaining" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand idle; and __fish_seen_subcommand_from status" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand idle; and __fish_seen_subcommand_from toggle" -s i -l indefinite -d 'Use indefinite mode when enabling' +complete -c wayle -n "__fish_wayle_using_subcommand idle; and __fish_seen_subcommand_from toggle" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand idle; and __fish_seen_subcommand_from help" -f -a "on" -d 'Enable idle inhibition' +complete -c wayle -n "__fish_wayle_using_subcommand idle; and __fish_seen_subcommand_from help" -f -a "off" -d 'Disable idle inhibition' +complete -c wayle -n "__fish_wayle_using_subcommand idle; and __fish_seen_subcommand_from help" -f -a "duration" -d 'Adjust timer duration (upper limit)' +complete -c wayle -n "__fish_wayle_using_subcommand idle; and __fish_seen_subcommand_from help" -f -a "remaining" -d 'Adjust remaining time on active timer' +complete -c wayle -n "__fish_wayle_using_subcommand idle; and __fish_seen_subcommand_from help" -f -a "status" -d 'Show current idle inhibit status' +complete -c wayle -n "__fish_wayle_using_subcommand idle; and __fish_seen_subcommand_from help" -f -a "toggle" -d 'Toggle idle inhibition on/off' +complete -c wayle -n "__fish_wayle_using_subcommand idle; and __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' +complete -c wayle -n "__fish_wayle_using_subcommand shell" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand completions" -s h -l help -d 'Print help' +complete -c wayle -n "__fish_wayle_using_subcommand help; and not __fish_seen_subcommand_from audio config icons media notify panel power systray wallpaper idle shell completions help" -f -a "audio" -d 'Audio control commands' +complete -c wayle -n "__fish_wayle_using_subcommand help; and not __fish_seen_subcommand_from audio config icons media notify panel power systray wallpaper idle shell completions help" -f -a "config" -d 'Configuration management commands' +complete -c wayle -n "__fish_wayle_using_subcommand help; and not __fish_seen_subcommand_from audio config icons media notify panel power systray wallpaper idle shell completions help" -f -a "icons" -d 'Icon management commands' +complete -c wayle -n "__fish_wayle_using_subcommand help; and not __fish_seen_subcommand_from audio config icons media notify panel power systray wallpaper idle shell completions help" -f -a "media" -d 'Media player control commands' +complete -c wayle -n "__fish_wayle_using_subcommand help; and not __fish_seen_subcommand_from audio config icons media notify panel power systray wallpaper idle shell completions help" -f -a "notify" -d 'Notification control commands' +complete -c wayle -n "__fish_wayle_using_subcommand help; and not __fish_seen_subcommand_from audio config icons media notify panel power systray wallpaper idle shell completions help" -f -a "panel" -d 'Panel management commands' +complete -c wayle -n "__fish_wayle_using_subcommand help; and not __fish_seen_subcommand_from audio config icons media notify panel power systray wallpaper idle shell completions help" -f -a "power" -d 'Power profile commands' +complete -c wayle -n "__fish_wayle_using_subcommand help; and not __fish_seen_subcommand_from audio config icons media notify panel power systray wallpaper idle shell completions help" -f -a "systray" -d 'System tray commands' +complete -c wayle -n "__fish_wayle_using_subcommand help; and not __fish_seen_subcommand_from audio config icons media notify panel power systray wallpaper idle shell completions help" -f -a "wallpaper" -d 'Wallpaper control commands' +complete -c wayle -n "__fish_wayle_using_subcommand help; and not __fish_seen_subcommand_from audio config icons media notify panel power systray wallpaper idle shell completions help" -f -a "idle" -d 'Idle inhibit control commands' +complete -c wayle -n "__fish_wayle_using_subcommand help; and not __fish_seen_subcommand_from audio config icons media notify panel power systray wallpaper idle shell completions help" -f -a "shell" -d 'Run the desktop shell in the foreground' +complete -c wayle -n "__fish_wayle_using_subcommand help; and not __fish_seen_subcommand_from audio config icons media notify panel power systray wallpaper idle shell completions help" -f -a "completions" -d 'Generate shell completions' +complete -c wayle -n "__fish_wayle_using_subcommand help; and not __fish_seen_subcommand_from audio config icons media notify panel power systray wallpaper idle shell completions help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from audio" -f -a "output-volume" -d 'Get or set output volume level' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from audio" -f -a "output-mute" -d 'Toggle output mute state' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from audio" -f -a "input-volume" -d 'Get or set input volume level' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from audio" -f -a "input-mute" -d 'Toggle input mute state' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from audio" -f -a "sinks" -d 'List available audio sinks (outputs)' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from audio" -f -a "sources" -d 'List available audio sources (inputs)' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from audio" -f -a "status" -d 'Show current audio status' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from config" -f -a "get" -d 'Get the value of a configuration path' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from config" -f -a "set" -d 'Set the value of a configuration path' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from config" -f -a "reset" -d 'Reset a configuration path to its default value' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from config" -f -a "schema" -d 'Output JSON Schema for the configuration (for editor intellisense)' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from config" -f -a "default" -d 'Output the default configuration as TOML' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from config" -f -a "docs" -d 'Generate markdown reference pages for every registered schema' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from icons" -f -a "setup" -d 'Install bundled icons required by Wayle components' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from icons" -f -a "install" -d 'Install icons from a CDN source' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from icons" -f -a "import" -d 'Import local SVG file(s) as icons' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from icons" -f -a "remove" -d 'Remove installed icons' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from icons" -f -a "sources" -d 'List available icon sources' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from icons" -f -a "list" -d 'List installed icons' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from icons" -f -a "open" -d 'Open the icons directory in file manager' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from icons" -f -a "export" -d 'Export all installed icons to a directory' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from media" -f -a "list" -d 'List all available media players' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from media" -f -a "play-pause" -d 'Toggle play/pause for a media player' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from media" -f -a "next" -d 'Skip to next track' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from media" -f -a "previous" -d 'Go to previous track' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from media" -f -a "shuffle" -d 'Toggle or set shuffle mode' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from media" -f -a "loop" -d 'Set loop/repeat mode' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from media" -f -a "active" -d 'Get or set the active media player' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from media" -f -a "info" -d 'Display detailed information about a media player' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from notify" -f -a "list" -d 'List all notifications' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from notify" -f -a "dismiss" -d 'Dismiss a notification by ID' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from notify" -f -a "dismiss-all" -d 'Dismiss all notifications' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from notify" -f -a "dnd" -d 'Toggle Do Not Disturb mode' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from notify" -f -a "status" -d 'Show notification status' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from panel" -f -a "start" -d 'Start the panel daemon' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from panel" -f -a "stop" -d 'Stop the panel daemon' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from panel" -f -a "restart" -d 'Restart the panel daemon' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from panel" -f -a "status" -d 'Check panel status' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from panel" -f -a "settings" -d 'Open panel settings' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from panel" -f -a "inspect" -d 'Open GTK Inspector for debugging' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from panel" -f -a "hide" -d 'Hide the bar on a monitor' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from panel" -f -a "show" -d 'Show the bar on a monitor' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from panel" -f -a "toggle" -d 'Toggle bar visibility on a monitor' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from power" -f -a "status" -d 'Show current power profile' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from power" -f -a "set" -d 'Set power profile' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from power" -f -a "cycle" -d 'Cycle to next power profile' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from power" -f -a "list" -d 'List available power profiles' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from systray" -f -a "list" -d 'List all system tray items' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from systray" -f -a "activate" -d 'Activate a tray item by ID' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from systray" -f -a "status" -d 'Show system tray status' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from wallpaper" -f -a "set" -d 'Set wallpaper from an image file' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from wallpaper" -f -a "cycle" -d 'Start cycling wallpapers from a directory' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from wallpaper" -f -a "stop" -d 'Stop wallpaper cycling' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from wallpaper" -f -a "next" -d 'Skip to next wallpaper' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from wallpaper" -f -a "previous" -d 'Go back to previous wallpaper' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from wallpaper" -f -a "info" -d 'Display current wallpaper information' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from wallpaper" -f -a "theming-monitor" -d 'Set which monitor to use for color extraction' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from idle" -f -a "on" -d 'Enable idle inhibition' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from idle" -f -a "off" -d 'Disable idle inhibition' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from idle" -f -a "duration" -d 'Adjust timer duration (upper limit)' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from idle" -f -a "remaining" -d 'Adjust remaining time on active timer' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from idle" -f -a "status" -d 'Show current idle inhibit status' +complete -c wayle -n "__fish_wayle_using_subcommand help; and __fish_seen_subcommand_from idle" -f -a "toggle" -d 'Toggle idle inhibition on/off' diff --git a/srcpkgs/wayle/template b/srcpkgs/wayle/template new file mode 100644 index 00000000000000..530d96d33c21e5 --- /dev/null +++ b/srcpkgs/wayle/template @@ -0,0 +1,44 @@ +# Template file for 'wayle' +pkgname=wayle +version=0.5.0 +revision=1 +#archs="i686 x86_64" +#build_wrksrc= +build_style=cargo +#configure_args="" +#make_build_args="" +#make_install_args="" +#conf_files="" +#make_dirs="/var/log/dir 0755 root root" +hostmakedepends="cargo clang cmake gcc git pkg-config" +makedepends="gtk4-devel gtk4-layer-shell-devel gtksourceview5-devel NetworkManager-devel pulseaudio-devel fftw-devel pipewire-devel eudev-libudev-devel" +depends="cava glibc pulseaudio upower bluez" +short_desc="Wayland desktop shell written in Rust with GTK4 and Relm4." +maintainer="Daniel Azevedo " +license="MIT" +homepage="https://wayle.app" +changelog="https://github.com/wayle-rs/wayle/releases" +distfiles="https://github.com/wayle-rs/${pkgname}/archive/refs/tags/v${version}.tar.gz" +checksum=56ba3a56da88de9a63e25f7bab7dd8e90d32ab969b5469eba1ad1f9d5cf63474 +repository=d77 + +do_build() { + cargo install --path wayle + cargo install --path crates/wayle-settings +} + +do_install() { + vbin target/release/${pkgname} + vbin target/release/${pkgname}-settings + + vmkdir /usr/share/${pkgname}/icons + vcopy resources/icons/hicolor /usr/share/${pkgname}/icons/ + + vinstall resources/wayle-settings.svg 644 usr/share/icons/hicolor/scalable/apps + vinstall resources/com.wayle.settings.desktop 644 usr/share/applications + vlicense LICENSE + + vcompletion ${FILESDIR}/completions.bash bash + vcompletion ${FILESDIR}/_wayle zsh + vcompletion ${FILESDIR}/wayle.fish fish +}