#compdef wallust

autoload -U is-at-least

_wallust() {
    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[@]}" : \
'(-s --skip-sequences)*-I+[Won'\''t send these colors sequences]:IGNORE_SEQUENCE:(background foreground cursor color0 color1 color2 color3 color4 color5 color6 color7 color8 color9 color10 color11 color12 color13 color14 color15)' \
'(-s --skip-sequences)*--ignore-sequence=[Won'\''t send these colors sequences]:IGNORE_SEQUENCE:(background foreground cursor color0 color1 color2 color3 color4 color5 color6 color7 color8 color9 color10 color11 color12 color13 color14 color15)' \
'(-d --config-dir)-C+[Use CONFIG_FILE as the config file]:CONFIG_FILE:_files' \
'(-d --config-dir)--config-file=[Use CONFIG_FILE as the config file]:CONFIG_FILE:_files' \
'(-C --config-file --templates-dir)-d+[Uses CONFIG_DIR as the config directory, which holds both \`wallust.toml\` and the templates files (if existent)]:CONFIG_DIR:_files' \
'(-C --config-file --templates-dir)--config-dir=[Uses CONFIG_DIR as the config directory, which holds both \`wallust.toml\` and the templates files (if existent)]:CONFIG_DIR:_files' \
'(-d --config-dir)--templates-dir=[Uses TEMPLATE_DIR as the template directory]:TEMPLATES_DIR:_files' \
'-q[Don'\''t print anything]' \
'--quiet[Don'\''t print anything]' \
'(-u --update-current -I --ignore-sequence)-s[Skip setting terminal sequences]' \
'(-u --update-current -I --ignore-sequence)--skip-sequences[Skip setting terminal sequences]' \
'-T[Skip templating process]' \
'--skip-templates[Skip templating process]' \
'(-s --skip-sequences)-u[Only update the current terminal]' \
'(-s --skip-sequences)--update-current[Only update the current terminal]' \
'(-C --config-file -d --config-dir)-N[Won'\''t read the config and avoids creating it'\''s config path]' \
'(-C --config-file -d --config-dir)--no-config[Won'\''t read the config and avoids creating it'\''s config path]' \
'--no-hooks[Ignore all hooks]' \
'--no-templated-hooks[Ignore templated hooks]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
":: :_wallust_commands" \
"*::: :->wallust" \
&& ret=0
    case $state in
    (wallust)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:wallust-command-$line[1]:"
        case $line[1] in
            (run)
_arguments "${_arguments_options[@]}" : \
'-a+[Alpha *template variable* value, used only for templating (default is 100)]:ALPHA:_default' \
'--alpha=[Alpha *template variable* value, used only for templating (default is 100)]:ALPHA:_default' \
'-b+[Choose which backend to use (overwrites config)]:BACKEND:((full\:"Read and return the whole image pixels (more precision, slower)"
resized\:"Resizes the image before parsing, mantaining it'\''s aspect ratio"
wal\:"Uses image magick \`convert\` to generate the colors, like pywal"
thumb\:"Faster algo hardcoded to 512x512 (no ratio respected)"
fastresize\:"A much faster resize algo that uses SIMD. For some reason it fails on some images where \`resized\` doesn'\''t, for this reason it doesn'\''t *replace* but rather it'\''s a new option"))' \
'--backend=[Choose which backend to use (overwrites config)]:BACKEND:((full\:"Read and return the whole image pixels (more precision, slower)"
resized\:"Resizes the image before parsing, mantaining it'\''s aspect ratio"
wal\:"Uses image magick \`convert\` to generate the colors, like pywal"
thumb\:"Faster algo hardcoded to 512x512 (no ratio respected)"
fastresize\:"A much faster resize algo that uses SIMD. For some reason it fails on some images where \`resized\` doesn'\''t, for this reason it doesn'\''t *replace* but rather it'\''s a new option"))' \
'-p+[Choose which palette to use (overwrites config)]:PALETTE:((salience\:"salience-based histogram palette (default). Perceptual salience picks the most visually prominent colors from the image"
ansi\:"ANSI terminal color palette. Orders colors to follow the classic TTY convention\: color0 → black, color1 → red-ish, color2 → green-ish, and so on"
kmeans\:"k-means clustering palette. Groups pixels into clusters in Lab color space and uses the centroids as colors"))' \
'--palette=[Choose which palette to use (overwrites config)]:PALETTE:((salience\:"salience-based histogram palette (default). Perceptual salience picks the most visually prominent colors from the image"
ansi\:"ANSI terminal color palette. Orders colors to follow the classic TTY convention\: color0 → black, color1 → red-ish, color2 → green-ish, and so on"
kmeans\:"k-means clustering palette. Groups pixels into clusters in Lab color space and uses the centroids as colors"))' \
'--saturation=[Add saturation from 1% to 100% (overwrites config)]:SATURATION:_default' \
'-t+[Choose a custom threshold, between 1 and 100 (overwrites config)]:THRESHOLD:_default' \
'--threshold=[Choose a custom threshold, between 1 and 100 (overwrites config)]:THRESHOLD:_default' \
'(-s --skip-sequences)*-I+[Won'\''t send these colors sequences]:IGNORE_SEQUENCE:(background foreground cursor color0 color1 color2 color3 color4 color5 color6 color7 color8 color9 color10 color11 color12 color13 color14 color15)' \
'(-s --skip-sequences)*--ignore-sequence=[Won'\''t send these colors sequences]:IGNORE_SEQUENCE:(background foreground cursor color0 color1 color2 color3 color4 color5 color6 color7 color8 color9 color10 color11 color12 color13 color14 color15)' \
'(-d --config-dir)-C+[Use CONFIG_FILE as the config file]:CONFIG_FILE:_files' \
'(-d --config-dir)--config-file=[Use CONFIG_FILE as the config file]:CONFIG_FILE:_files' \
'(-C --config-file --templates-dir)-d+[Uses CONFIG_DIR as the config directory, which holds both \`wallust.toml\` and the templates files (if existent)]:CONFIG_DIR:_files' \
'(-C --config-file --templates-dir)--config-dir=[Uses CONFIG_DIR as the config directory, which holds both \`wallust.toml\` and the templates files (if existent)]:CONFIG_DIR:_files' \
'(-d --config-dir)--templates-dir=[Uses TEMPLATE_DIR as the template directory]:TEMPLATES_DIR:_files' \
'-k[Ensure a readable contrast by checking colors in reference to the background (overwrites config)]' \
'--check-contrast[Ensure a readable contrast by checking colors in reference to the background (overwrites config)]' \
'-n[Don'\''t cache the results]' \
'--no-cache[Don'\''t cache the results]' \
'(-t --threshold)--dynamic-threshold[Dynamically changes the threshold to be best fit]' \
'-w[Generates colors even if there is a cache version of it]' \
'--overwrite-cache[Generates colors even if there is a cache version of it]' \
'--save-scheme[Save the generated scheme inside the colorscheme dir]' \
'--print-scheme[Output the palette from color 0 to 15 separated by a new line. (Useful for scripting)]' \
'-q[Don'\''t print anything]' \
'--quiet[Don'\''t print anything]' \
'(-u --update-current -I --ignore-sequence)-s[Skip setting terminal sequences]' \
'(-u --update-current -I --ignore-sequence)--skip-sequences[Skip setting terminal sequences]' \
'-T[Skip templating process]' \
'--skip-templates[Skip templating process]' \
'(-s --skip-sequences)-u[Only update the current terminal]' \
'(-s --skip-sequences)--update-current[Only update the current terminal]' \
'(-C --config-file -d --config-dir)-N[Won'\''t read the config and avoids creating it'\''s config path]' \
'(-C --config-file -d --config-dir)--no-config[Won'\''t read the config and avoids creating it'\''s config path]' \
'--no-hooks[Ignore all hooks]' \
'--no-templated-hooks[Ignore templated hooks]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':file -- Path to the image to use:_files' \
&& ret=0
;;
(cs)
_arguments "${_arguments_options[@]}" : \
'-f+[Specify a custom format. Without this option, wallust will sequentially try to decode it by trying one by one]:FORMAT:((pywal\:"uses the wal colorscheme format, see <https\://github.com/dylanaraps/pywal/tree/master/pywal/colorschemes>"
terminal-sexy\:"uses <https\://terminal.sexy> JSON export"
wallust\:"cached wallust files"))' \
'--format=[Specify a custom format. Without this option, wallust will sequentially try to decode it by trying one by one]:FORMAT:((pywal\:"uses the wal colorscheme format, see <https\://github.com/dylanaraps/pywal/tree/master/pywal/colorschemes>"
terminal-sexy\:"uses <https\://terminal.sexy> JSON export"
wallust\:"cached wallust files"))' \
'(-s --skip-sequences)*-I+[Won'\''t send these colors sequences]:IGNORE_SEQUENCE:(background foreground cursor color0 color1 color2 color3 color4 color5 color6 color7 color8 color9 color10 color11 color12 color13 color14 color15)' \
'(-s --skip-sequences)*--ignore-sequence=[Won'\''t send these colors sequences]:IGNORE_SEQUENCE:(background foreground cursor color0 color1 color2 color3 color4 color5 color6 color7 color8 color9 color10 color11 color12 color13 color14 color15)' \
'(-d --config-dir)-C+[Use CONFIG_FILE as the config file]:CONFIG_FILE:_files' \
'(-d --config-dir)--config-file=[Use CONFIG_FILE as the config file]:CONFIG_FILE:_files' \
'(-C --config-file --templates-dir)-d+[Uses CONFIG_DIR as the config directory, which holds both \`wallust.toml\` and the templates files (if existent)]:CONFIG_DIR:_files' \
'(-C --config-file --templates-dir)--config-dir=[Uses CONFIG_DIR as the config directory, which holds both \`wallust.toml\` and the templates files (if existent)]:CONFIG_DIR:_files' \
'(-d --config-dir)--templates-dir=[Uses TEMPLATE_DIR as the template directory]:TEMPLATES_DIR:_files' \
'-q[Don'\''t print anything]' \
'--quiet[Don'\''t print anything]' \
'(-u --update-current -I --ignore-sequence)-s[Skip setting terminal sequences]' \
'(-u --update-current -I --ignore-sequence)--skip-sequences[Skip setting terminal sequences]' \
'-T[Skip templating process]' \
'--skip-templates[Skip templating process]' \
'(-s --skip-sequences)-u[Only update the current terminal]' \
'(-s --skip-sequences)--update-current[Only update the current terminal]' \
'(-C --config-file -d --config-dir)-N[Won'\''t read the config and avoids creating it'\''s config path]' \
'(-C --config-file -d --config-dir)--no-config[Won'\''t read the config and avoids creating it'\''s config path]' \
'--no-hooks[Ignore all hooks]' \
'--no-templated-hooks[Ignore templated hooks]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':colorscheme -- Name of the scheme inside `wallust/colorschemes` directory or the name of a theme:_default' \
&& ret=0
;;
(theme)
_arguments "${_arguments_options[@]}" : \
'(-s --skip-sequences)*-I+[Won'\''t send these colors sequences]:IGNORE_SEQUENCE:(background foreground cursor color0 color1 color2 color3 color4 color5 color6 color7 color8 color9 color10 color11 color12 color13 color14 color15)' \
'(-s --skip-sequences)*--ignore-sequence=[Won'\''t send these colors sequences]:IGNORE_SEQUENCE:(background foreground cursor color0 color1 color2 color3 color4 color5 color6 color7 color8 color9 color10 color11 color12 color13 color14 color15)' \
'(-d --config-dir)-C+[Use CONFIG_FILE as the config file]:CONFIG_FILE:_files' \
'(-d --config-dir)--config-file=[Use CONFIG_FILE as the config file]:CONFIG_FILE:_files' \
'(-C --config-file --templates-dir)-d+[Uses CONFIG_DIR as the config directory, which holds both \`wallust.toml\` and the templates files (if existent)]:CONFIG_DIR:_files' \
'(-C --config-file --templates-dir)--config-dir=[Uses CONFIG_DIR as the config directory, which holds both \`wallust.toml\` and the templates files (if existent)]:CONFIG_DIR:_files' \
'(-d --config-dir)--templates-dir=[Uses TEMPLATE_DIR as the template directory]:TEMPLATES_DIR:_files' \
'-p[Only preview the selected theme]' \
'--preview[Only preview the selected theme]' \
'-q[Don'\''t print anything]' \
'--quiet[Don'\''t print anything]' \
'(-u --update-current -I --ignore-sequence)-s[Skip setting terminal sequences]' \
'(-u --update-current -I --ignore-sequence)--skip-sequences[Skip setting terminal sequences]' \
'-T[Skip templating process]' \
'--skip-templates[Skip templating process]' \
'(-s --skip-sequences)-u[Only update the current terminal]' \
'(-s --skip-sequences)--update-current[Only update the current terminal]' \
'(-C --config-file -d --config-dir)-N[Won'\''t read the config and avoids creating it'\''s config path]' \
'(-C --config-file -d --config-dir)--no-config[Won'\''t read the config and avoids creating it'\''s config path]' \
'--no-hooks[Ignore all hooks]' \
'--no-templated-hooks[Ignore templated hooks]' \
'-h[Print help]' \
'--help[Print help]' \
':theme -- A custom built in theme to choose from:(3024-Day 3024-Night Aci Acme Aco Adventure-Time Afterglow Alien-Blood Apprentice Argonaut Arthur Astrodark Atelier-Cave Atelier-Dune Atelier-Estuary Atelier-Forest Atelier-Heath Atelier-Lakeside Atelier-Plateau Atelier-Savanna Atelier-Seaside Atelier-Sulphurpool Atom Aura Ayaka Ayu-Dark Ayu-Light Ayu-Mirage Azu Base2Tone-Cave Base2Tone-Desert Base2Tone-Drawbridge Base2Tone-Earth Base2Tone-Evening Base2Tone-Field Base2Tone-Forest Base2Tone-Garden Base2Tone-Heath Base2Tone-Lake Base2Tone-Lavender Base2Tone-Mall Base2Tone-Meadow Base2Tone-Morning Base2Tone-Motel Base2Tone-Pool Base2Tone-Porch Base2Tone-Sea Base2Tone-Space Base2Tone-Suburb Base4Tone-Classic-A Base4Tone-Classic-B Base4Tone-Classic-C Base4Tone-Classic-D Base4Tone-Classic-E Base4Tone-Classic-F Base4Tone-Classic-I Base4Tone-Classic-L Base4Tone-Classic-O Base4Tone-Classic-P Base4Tone-Classic-Q Base4Tone-Classic-R Base4Tone-Classic-S Base4Tone-Classic-T Base4Tone-Classic-U Base4Tone-Classic-W Base4Tone-Modern-C Base4Tone-Modern-N Base4Tone-Modern-W Belafonte-Day Belafonte-Night Bim Birds-Of-Paradise Blazer Blue-Dolphin Blue-Moon Blue-Moon-Light Bluloco-Light Bluloco-Zsh-Light Borland Breadog Breath Breath-Darker Breath-Light Breath-Silverfox Breeze Broadcast Brogrammer Butrin C64 Cai Campbell Catppuccin-Frappé Catppuccin-Latte Catppuccin-Macchiato Catppuccin-Mocha Chalk Chalkboard Chameleon Ciapre City-Lights Clone-Of-Ubuntu Clrs Cobalt-2 Cobalt-Neon Colorcli Crayon-Pony-Fish Dark-Pastel Darkside Dehydration Desert Dimmed-Monokai Dissonance Doom-One Dracula Earthsong Elemental Elementary Elic Elio Espresso Espresso-Libre Everblush Everforest-Dark-Hard Everforest-Dark-Medium Everforest-Dark-Soft Everforest-Light-Hard Everforest-Light-Medium Everforest-Light-Soft Fairy-Floss Fairy-Floss-Dark Fishtank Flat Flat-Remix Flatland Flexoki-Dark Flexoki-Light Foxnightly Freya Frontend-Delight Frontend-Fun-Forrest Frontend-Galaxy Geohot Github-Dark Github-Light Gogh Gooey Google-Dark Google-Light Gotham Grape Grass Gruvbox Gruvbox-Dark Gruvbox-Material-Dark Gruvbox-Material-Light Hardcore Harper Hemisu-Dark Hemisu-Light Highway Hipster-Green Homebrew Homebrew-Light Homebrew-Ocean Horizon-Bright Horizon-Dark Hurtado Hybrid Ibm-3270-High-Contrast Ibm3270 Ic-Green-Ppl Ic-Orange-Ppl Iceberg Idle-Toes Ir-Black Jackie-Brown Japanesque Jellybeans Jup Kanagawa-Dragon Kanagawa-Lotus Kanagawa-Wave Kibble Kokuban Laserwave Later-This-Evening Lavandula Liquid-Carbon Liquid-Carbon-Transparent Lunaria-Dark Lunaria-Eclipse Lunaria-Light Maia Man-Page Mar Material Mathias Medallion Minimalist-Dark Miramare Misterioso Modus-Operandi Modus-Operandi-Tinted Modus-Vivendi Modus-Vivendi-Tinted Molokai Mona-Lisa Mono-Amber Mono-Cyan Mono-Green Mono-Red Mono-White Mono-Yellow Monokai-Dark Monokai-Pro Monokai-Pro-Ristretto Monokai-Soda Moonfly Morada N0Tch2K Nanosecond Neon-Night Neopolitan Nep Neutron Night-Owl Nightfly Nightlion-V1 Nightlion-V2 Nighty Nord Nord-Light Novel Obsidian Ocean-Dark Oceanic-Next Ollie Omni One-Dark One-Half-Black One-Light Oxocarbon-Dark Palenight Pali Panda Paper Papercolor-Dark Papercolor-Light Paraiso-Dark Paul-Millr Pencil-Dark Pencil-Light Peppermint Pixiefloss Pnevma Powershell Predawn Pro Purple-People-Eater Quiet Red-Alert Red-Sands Relaxed Rippedcasts Rosé-Pine Rosé-Pine-Dawn Rosé-Pine-Moon Royal Sat Sea-Shells Seafoam-Pastel Selenized-Black Selenized-Dark Selenized-Light Selenized-White Seoul256 Seoul256-Light Seti Shaman Shel Slate Smyck Snazzy Soft-Server Solarized-Darcula Solarized-Dark Solarized-Dark-Higher-Contrast Solarized-Light Sonokai Spacedust Spacegray Spacegray-Eighties Spacegray-Eighties-Dull Sparky Spring Square Srcery Summer-Pop Sundried Sweet-Eliverlara Sweet-Terminal Symphonic Synthwave Synthwave-Alpha Teerb Tempus-Autumn Tempus-Classic Tempus-Dawn Tempus-Day Tempus-Dusk Tempus-Fugit Tempus-Future Tempus-Night Tempus-Past Tempus-Rift Tempus-Spring Tempus-Summer Tempus-Tempest Tempus-Totus Tempus-Warp Tempus-Winter Tender Terminal-Basic Terminix-Dark Thayer-Bright Tin Tokyo-Night Tokyo-Night-Light Tokyo-Night-Storm Tomorrow Tomorrow-Night Tomorrow-Night-Blue Tomorrow-Night-Bright Tomorrow-Night-Eighties Toy-Chest Treehouse Twilight Ura Urple Vag Vaombe Vaughn Vibrant-Ink Vs-Code-Dark+ Vs-Code-Light+ Warm-Neon Website Wez Wild-Cherry Wombat Wryan Wzoreck Zenburn 3024-dark 3024-light ashes-dark ashes-light base16-3024 base16-apathy base16-ashes base16-atelier-cave-dark base16-atelier-cave-light base16-atelier-dune-dark base16-atelier-dune-light base16-atelier-estuary-dark base16-atelier-estuary-light base16-atelier-forest-dark base16-atelier-forest-light base16-atelier-heath-dark base16-atelier-heath-light base16-atelier-lakeside-dark base16-atelier-lakeside-light base16-atelier-plateau-dark base16-atelier-plateau-light base16-atelier-savanna-dark base16-atelier-savanna-light base16-atelier-seaside-dark base16-atelier-seaside-light base16-atelier-sulphurpool-dark base16-atelier-sulphurpool-light base16-bespin base16-black-metal-bathory base16-black-metal-burzum base16-black-metal-funeral base16-black-metal-gorgoroth base16-black-metal-immortal base16-black-metal-khold base16-black-metal-marduk base16-black-metal-mayhem base16-black-metal-nile base16-black-metal-venom base16-black-metal base16-brewer base16-bright base16-brushtrees base16-chalk base16-circus base16-classic-dark base16-classic-light base16-codeschool base16-cupcake base16-cupertino base16-default-dark base16-default-light base16-dracula base16-eighties base16-embers base16-flat base16-github base16-google-dark base16-google-light base16-grayscale-dark base16-grayscale-light base16-greenscreen base16-gruvbox-hard-dark base16-gruvbox-hard-light base16-gruvbox-medium-dark base16-gruvbox-medium-light base16-gruvbox-pale base16-gruvbox-soft-dark base16-gruvbox-soft-light base16-harmonic-dark base16-harmonic-light base16-hopscotch base16-icy base16-irblack base16-isotope base16-macintosh base16-marrakesh base16-materia base16-material-palenight base16-material base16-materialer-dark base16-materialer-light base16-mellow-purple base16-mexico base16-mocha base16-monokai base16-nord base16-ocean base16-oceanicnext base16-one base16-onedark base16-outrun base16-paraiso base16-phd base16-pico base16-pop base16-porple base16-railscasts base16-rebecca base16-seti base16-shapeshifter base16-snazzy base16-solarflare base16-solarized-dark base16-solarized-light base16-spacemacs base16-summerfruit-dark base16-summerfruit-light base16-tomorrow-night base16-tomorrow base16-tube base16-twilight base16-unikitty-dark base16-unikitty-light base16-woodland base16-xcode-dusk base16-zenburn base16tooth darktooth dkeg-5725 dkeg-amiox dkeg-bark dkeg-blend dkeg-blok dkeg-bluetype dkeg-blumune dkeg-book dkeg-branch dkeg-brownstone dkeg-bulb dkeg-chaires dkeg-coco dkeg-corduroy dkeg-depth dkeg-designr dkeg-diner dkeg-escen dkeg-fendr dkeg-flapr dkeg-forst dkeg-fury dkeg-harbing dkeg-kit dkeg-leaf dkeg-link dkeg-mattd dkeg-novmbr dkeg-owl dkeg-paints dkeg-parkd dkeg-pastely dkeg-petal dkeg-poly dkeg-prevail dkeg-provrb dkeg-raild dkeg-relax dkeg-scag dkeg-scape dkeg-shade dkeg-simplicity dkeg-skigh dkeg-slate dkeg-soundwave dkeg-spire dkeg-sprout dkeg-squares dkeg-stv dkeg-subtle dkeg-sundr dkeg-tealights dkeg-traffic dkeg-transposet dkeg-urban dkeg-vans dkeg-victory dkeg-view dkeg-wintry github gruvbox hybrid-material monokai rose-pine-dawn rose-pine-moon rose-pine sexy-astromouse sexy-belge sexy-bitmute sexy-cloud sexy-colorfulcolors sexy-dawn sexy-deafened sexy-derp sexy-digerati sexy-doomicideocean sexy-dotshare sexy-dwmrob sexy-eqie6 sexy-euphrasia sexy-gjm sexy-gnometerm sexy-gotham sexy-gslob-nature-suede sexy-hund sexy-hybrid sexy-insignificato sexy-invisibone sexy-jasonwryan sexy-kasugano sexy-material sexy-mikado sexy-mikazuki sexy-monokai sexy-mostly-bright sexy-muse sexy-nancy sexy-navy-and-ivory sexy-neon sexy-numixdarkest sexy-orangish sexy-parker_brothers sexy-phrak1 sexy-pretty-and-pastel sexy-rasi sexy-rezza sexy-rydgel sexy-s3r0-modified sexy-sexcolors sexy-simple_rainbow sexy-splurge sexy-swayr sexy-sweetlove sexy-tango sexy-tangoesque sexy-tartan sexy-theme2 sexy-thwump sexy-tlh sexy-trim-yer-beard sexy-user-77-mashup-colors sexy-vacuous2 sexy-visibone-alt-2 sexy-visibone sexy-x-dotshare sexy-zenburn solarized-dark solarized-light srcery tempus_autumn tempus_dawn tempus_dusk tempus_fugit tempus_future tempus_past tempus_rift tempus_spring tempus_summer tempus_totus tempus_warp tempus_winter vscode zenburn random list list-fzf)' \
&& ret=0
;;
(migrate)
_arguments "${_arguments_options[@]}" : \
'(-s --skip-sequences)*-I+[Won'\''t send these colors sequences]:IGNORE_SEQUENCE:(background foreground cursor color0 color1 color2 color3 color4 color5 color6 color7 color8 color9 color10 color11 color12 color13 color14 color15)' \
'(-s --skip-sequences)*--ignore-sequence=[Won'\''t send these colors sequences]:IGNORE_SEQUENCE:(background foreground cursor color0 color1 color2 color3 color4 color5 color6 color7 color8 color9 color10 color11 color12 color13 color14 color15)' \
'(-d --config-dir)-C+[Use CONFIG_FILE as the config file]:CONFIG_FILE:_files' \
'(-d --config-dir)--config-file=[Use CONFIG_FILE as the config file]:CONFIG_FILE:_files' \
'(-C --config-file --templates-dir)-d+[Uses CONFIG_DIR as the config directory, which holds both \`wallust.toml\` and the templates files (if existent)]:CONFIG_DIR:_files' \
'(-C --config-file --templates-dir)--config-dir=[Uses CONFIG_DIR as the config directory, which holds both \`wallust.toml\` and the templates files (if existent)]:CONFIG_DIR:_files' \
'(-d --config-dir)--templates-dir=[Uses TEMPLATE_DIR as the template directory]:TEMPLATES_DIR:_files' \
'-q[Don'\''t print anything]' \
'--quiet[Don'\''t print anything]' \
'(-u --update-current -I --ignore-sequence)-s[Skip setting terminal sequences]' \
'(-u --update-current -I --ignore-sequence)--skip-sequences[Skip setting terminal sequences]' \
'-T[Skip templating process]' \
'--skip-templates[Skip templating process]' \
'(-s --skip-sequences)-u[Only update the current terminal]' \
'(-s --skip-sequences)--update-current[Only update the current terminal]' \
'(-C --config-file -d --config-dir)-N[Won'\''t read the config and avoids creating it'\''s config path]' \
'(-C --config-file -d --config-dir)--no-config[Won'\''t read the config and avoids creating it'\''s config path]' \
'--no-hooks[Ignore all hooks]' \
'--no-templated-hooks[Ignore templated hooks]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(cache)
_arguments "${_arguments_options[@]}" : \
'(-s --skip-sequences)*-I+[Won'\''t send these colors sequences]:IGNORE_SEQUENCE:(background foreground cursor color0 color1 color2 color3 color4 color5 color6 color7 color8 color9 color10 color11 color12 color13 color14 color15)' \
'(-s --skip-sequences)*--ignore-sequence=[Won'\''t send these colors sequences]:IGNORE_SEQUENCE:(background foreground cursor color0 color1 color2 color3 color4 color5 color6 color7 color8 color9 color10 color11 color12 color13 color14 color15)' \
'(-d --config-dir)-C+[Use CONFIG_FILE as the config file]:CONFIG_FILE:_files' \
'(-d --config-dir)--config-file=[Use CONFIG_FILE as the config file]:CONFIG_FILE:_files' \
'(-C --config-file --templates-dir)-d+[Uses CONFIG_DIR as the config directory, which holds both \`wallust.toml\` and the templates files (if existent)]:CONFIG_DIR:_files' \
'(-C --config-file --templates-dir)--config-dir=[Uses CONFIG_DIR as the config directory, which holds both \`wallust.toml\` and the templates files (if existent)]:CONFIG_DIR:_files' \
'(-d --config-dir)--templates-dir=[Uses TEMPLATE_DIR as the template directory]:TEMPLATES_DIR:_files' \
'-q[Don'\''t print anything]' \
'--quiet[Don'\''t print anything]' \
'(-u --update-current -I --ignore-sequence)-s[Skip setting terminal sequences]' \
'(-u --update-current -I --ignore-sequence)--skip-sequences[Skip setting terminal sequences]' \
'-T[Skip templating process]' \
'--skip-templates[Skip templating process]' \
'(-s --skip-sequences)-u[Only update the current terminal]' \
'(-s --skip-sequences)--update-current[Only update the current terminal]' \
'(-C --config-file -d --config-dir)-N[Won'\''t read the config and avoids creating it'\''s config path]' \
'(-C --config-file -d --config-dir)--no-config[Won'\''t read the config and avoids creating it'\''s config path]' \
'--no-hooks[Ignore all hooks]' \
'--no-templated-hooks[Ignore templated hooks]' \
'-h[Print help]' \
'--help[Print help]' \
":: :_wallust__subcmd__cache_commands" \
"*::: :->cache" \
&& ret=0

    case $state in
    (cache)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:wallust-cache-command-$line[1]:"
        case $line[1] in
            (clean)
_arguments "${_arguments_options[@]}" : \
'(-s --skip-sequences)*-I+[Won'\''t send these colors sequences]:IGNORE_SEQUENCE:(background foreground cursor color0 color1 color2 color3 color4 color5 color6 color7 color8 color9 color10 color11 color12 color13 color14 color15)' \
'(-s --skip-sequences)*--ignore-sequence=[Won'\''t send these colors sequences]:IGNORE_SEQUENCE:(background foreground cursor color0 color1 color2 color3 color4 color5 color6 color7 color8 color9 color10 color11 color12 color13 color14 color15)' \
'(-d --config-dir)-C+[Use CONFIG_FILE as the config file]:CONFIG_FILE:_files' \
'(-d --config-dir)--config-file=[Use CONFIG_FILE as the config file]:CONFIG_FILE:_files' \
'(-C --config-file --templates-dir)-d+[Uses CONFIG_DIR as the config directory, which holds both \`wallust.toml\` and the templates files (if existent)]:CONFIG_DIR:_files' \
'(-C --config-file --templates-dir)--config-dir=[Uses CONFIG_DIR as the config directory, which holds both \`wallust.toml\` and the templates files (if existent)]:CONFIG_DIR:_files' \
'(-d --config-dir)--templates-dir=[Uses TEMPLATE_DIR as the template directory]:TEMPLATES_DIR:_files' \
'-q[Don'\''t print anything]' \
'--quiet[Don'\''t print anything]' \
'(-u --update-current -I --ignore-sequence)-s[Skip setting terminal sequences]' \
'(-u --update-current -I --ignore-sequence)--skip-sequences[Skip setting terminal sequences]' \
'-T[Skip templating process]' \
'--skip-templates[Skip templating process]' \
'(-s --skip-sequences)-u[Only update the current terminal]' \
'(-s --skip-sequences)--update-current[Only update the current terminal]' \
'(-C --config-file -d --config-dir)-N[Won'\''t read the config and avoids creating it'\''s config path]' \
'(-C --config-file -d --config-dir)--no-config[Won'\''t read the config and avoids creating it'\''s config path]' \
'--no-hooks[Ignore all hooks]' \
'--no-templated-hooks[Ignore templated hooks]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_wallust__subcmd__cache__subcmd__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:wallust-cache-help-command-$line[1]:"
        case $line[1] in
            (clean)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(debug)
_arguments "${_arguments_options[@]}" : \
'(-s --skip-sequences)*-I+[Won'\''t send these colors sequences]:IGNORE_SEQUENCE:(background foreground cursor color0 color1 color2 color3 color4 color5 color6 color7 color8 color9 color10 color11 color12 color13 color14 color15)' \
'(-s --skip-sequences)*--ignore-sequence=[Won'\''t send these colors sequences]:IGNORE_SEQUENCE:(background foreground cursor color0 color1 color2 color3 color4 color5 color6 color7 color8 color9 color10 color11 color12 color13 color14 color15)' \
'(-d --config-dir)-C+[Use CONFIG_FILE as the config file]:CONFIG_FILE:_files' \
'(-d --config-dir)--config-file=[Use CONFIG_FILE as the config file]:CONFIG_FILE:_files' \
'(-C --config-file --templates-dir)-d+[Uses CONFIG_DIR as the config directory, which holds both \`wallust.toml\` and the templates files (if existent)]:CONFIG_DIR:_files' \
'(-C --config-file --templates-dir)--config-dir=[Uses CONFIG_DIR as the config directory, which holds both \`wallust.toml\` and the templates files (if existent)]:CONFIG_DIR:_files' \
'(-d --config-dir)--templates-dir=[Uses TEMPLATE_DIR as the template directory]:TEMPLATES_DIR:_files' \
'-q[Don'\''t print anything]' \
'--quiet[Don'\''t print anything]' \
'(-u --update-current -I --ignore-sequence)-s[Skip setting terminal sequences]' \
'(-u --update-current -I --ignore-sequence)--skip-sequences[Skip setting terminal sequences]' \
'-T[Skip templating process]' \
'--skip-templates[Skip templating process]' \
'(-s --skip-sequences)-u[Only update the current terminal]' \
'(-s --skip-sequences)--update-current[Only update the current terminal]' \
'(-C --config-file -d --config-dir)-N[Won'\''t read the config and avoids creating it'\''s config path]' \
'(-C --config-file -d --config-dir)--no-config[Won'\''t read the config and avoids creating it'\''s config path]' \
'--no-hooks[Ignore all hooks]' \
'--no-templated-hooks[Ignore templated hooks]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(pywal)
_arguments "${_arguments_options[@]}" : \
'-a+[Set terminal background transparency. *Only works in URxvt*]:alpha:_default' \
'-b+[Custom background color to use]:background:_default' \
'--backend=[Which color backend to use]:[backend]:_default' \
'-f+[Which colorscheme file to use. Use '\''wal --theme'\'' to list builtin themes]:theme:_default' \
'--theme=[Which colorscheme file to use. Use '\''wal --theme'\'' to list builtin themes]:theme:_default' \
'--saturate=[Set the color saturation]:0.0 - 1.0:_default' \
'-i+[Which image or directory to use]:/path/to/img.jpg:_files' \
'-o+[External script to run after "wal"]:script_name:_default' \
'(-s --skip-sequences)*-I+[Won'\''t send these colors sequences]:IGNORE_SEQUENCE:(background foreground cursor color0 color1 color2 color3 color4 color5 color6 color7 color8 color9 color10 color11 color12 color13 color14 color15)' \
'(-s --skip-sequences)*--ignore-sequence=[Won'\''t send these colors sequences]:IGNORE_SEQUENCE:(background foreground cursor color0 color1 color2 color3 color4 color5 color6 color7 color8 color9 color10 color11 color12 color13 color14 color15)' \
'(-d --config-dir)-C+[Use CONFIG_FILE as the config file]:CONFIG_FILE:_files' \
'(-d --config-dir)--config-file=[Use CONFIG_FILE as the config file]:CONFIG_FILE:_files' \
'(-C --config-file --templates-dir)-d+[Uses CONFIG_DIR as the config directory, which holds both \`wallust.toml\` and the templates files (if existent)]:CONFIG_DIR:_files' \
'(-C --config-file --templates-dir)--config-dir=[Uses CONFIG_DIR as the config directory, which holds both \`wallust.toml\` and the templates files (if existent)]:CONFIG_DIR:_files' \
'(-d --config-dir)--templates-dir=[Uses TEMPLATE_DIR as the template directory]:TEMPLATES_DIR:_files' \
'--iterative[When pywal is given a directory as input and this flag is used\: Go through the images in order instead of shuffled]' \
'--preview[Print the current color palette]' \
'--vte[Fix text-artifacts printed in VTE terminals]' \
'-c[Delete all cached colorschemes]' \
'-l[Generate a light colorscheme]' \
'-n[Skip setting the wallpaper]' \
'-q[Quiet mode, don'\''t print anything]' \
'-r['\''wal -r'\'' is deprecated\: Use (cat ~/.cache/wal/sequences &) instead]' \
'-R[Restore previous colorscheme]' \
'-s[Skip changing colors in terminals]' \
'-t[Skip changing colors in tty]' \
'-v[Print "wal" version]' \
'-e[Skip reloading gtk/xrdb/i3/sway/polybar]' \
'-T[Skip templating process]' \
'--skip-templates[Skip templating process]' \
'(-s --skip-sequences)-u[Only update the current terminal]' \
'(-s --skip-sequences)--update-current[Only update the current terminal]' \
'(-C --config-file -d --config-dir)-N[Won'\''t read the config and avoids creating it'\''s config path]' \
'(-C --config-file -d --config-dir)--no-config[Won'\''t read the config and avoids creating it'\''s config path]' \
'--no-hooks[Ignore all hooks]' \
'--no-templated-hooks[Ignore templated hooks]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(pick)
_arguments "${_arguments_options[@]}" : \
'-c+[Number of dominant colors to extract from the image]:COLORS:_default' \
'--colors=[Number of dominant colors to extract from the image]:COLORS:_default' \
'-n+[Number of top themes to display]:TOP:_default' \
'--top=[Number of top themes to display]:TOP:_default' \
'(-s --skip-sequences)*-I+[Won'\''t send these colors sequences]:IGNORE_SEQUENCE:(background foreground cursor color0 color1 color2 color3 color4 color5 color6 color7 color8 color9 color10 color11 color12 color13 color14 color15)' \
'(-s --skip-sequences)*--ignore-sequence=[Won'\''t send these colors sequences]:IGNORE_SEQUENCE:(background foreground cursor color0 color1 color2 color3 color4 color5 color6 color7 color8 color9 color10 color11 color12 color13 color14 color15)' \
'(-d --config-dir)-C+[Use CONFIG_FILE as the config file]:CONFIG_FILE:_files' \
'(-d --config-dir)--config-file=[Use CONFIG_FILE as the config file]:CONFIG_FILE:_files' \
'(-C --config-file --templates-dir)-d+[Uses CONFIG_DIR as the config directory, which holds both \`wallust.toml\` and the templates files (if existent)]:CONFIG_DIR:_files' \
'(-C --config-file --templates-dir)--config-dir=[Uses CONFIG_DIR as the config directory, which holds both \`wallust.toml\` and the templates files (if existent)]:CONFIG_DIR:_files' \
'(-d --config-dir)--templates-dir=[Uses TEMPLATE_DIR as the template directory]:TEMPLATES_DIR:_files' \
'-i[Interactively pick and apply a theme]' \
'--interactive[Interactively pick and apply a theme]' \
'-l[Print the full two-row palette for each result]' \
'--long[Print the full two-row palette for each result]' \
'-b[Automatically apply the best matching theme]' \
'--best[Automatically apply the best matching theme]' \
'-q[Don'\''t print anything]' \
'--quiet[Don'\''t print anything]' \
'(-u --update-current -I --ignore-sequence)-s[Skip setting terminal sequences]' \
'(-u --update-current -I --ignore-sequence)--skip-sequences[Skip setting terminal sequences]' \
'-T[Skip templating process]' \
'--skip-templates[Skip templating process]' \
'(-s --skip-sequences)-u[Only update the current terminal]' \
'(-s --skip-sequences)--update-current[Only update the current terminal]' \
'(-C --config-file -d --config-dir)-N[Won'\''t read the config and avoids creating it'\''s config path]' \
'(-C --config-file -d --config-dir)--no-config[Won'\''t read the config and avoids creating it'\''s config path]' \
'--no-hooks[Ignore all hooks]' \
'--no-templated-hooks[Ignore templated hooks]' \
'-h[Print help]' \
'--help[Print help]' \
':file -- Path to the image to use:_files' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_wallust__subcmd__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:wallust-help-command-$line[1]:"
        case $line[1] in
            (run)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(cs)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(theme)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(migrate)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(cache)
_arguments "${_arguments_options[@]}" : \
":: :_wallust__subcmd__help__subcmd__cache_commands" \
"*::: :->cache" \
&& ret=0

    case $state in
    (cache)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:wallust-help-cache-command-$line[1]:"
        case $line[1] in
            (clean)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(debug)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(pywal)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(pick)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
}

(( $+functions[_wallust_commands] )) ||
_wallust_commands() {
    local commands; commands=(
'run:Generate a palette from an image' \
'cs:Apply a certain colorscheme' \
'theme:Apply a custom built in theme' \
'migrate:Migrate v2 or v3 config to the new v4-alpha (might lose comments)' \
'cache:Cache operations' \
'debug:Print information about the program and the enviroment it uses' \
'pywal:A drop-in cli replacement for pywal' \
'pick:Pick the best matching theme for an image' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'wallust commands' commands "$@"
}
(( $+functions[_wallust__subcmd__cache_commands] )) ||
_wallust__subcmd__cache_commands() {
    local commands; commands=(
'clean:Remove cache entries from older versions' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'wallust cache commands' commands "$@"
}
(( $+functions[_wallust__subcmd__cache__subcmd__clean_commands] )) ||
_wallust__subcmd__cache__subcmd__clean_commands() {
    local commands; commands=()
    _describe -t commands 'wallust cache clean commands' commands "$@"
}
(( $+functions[_wallust__subcmd__cache__subcmd__help_commands] )) ||
_wallust__subcmd__cache__subcmd__help_commands() {
    local commands; commands=(
'clean:Remove cache entries from older versions' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'wallust cache help commands' commands "$@"
}
(( $+functions[_wallust__subcmd__cache__subcmd__help__subcmd__clean_commands] )) ||
_wallust__subcmd__cache__subcmd__help__subcmd__clean_commands() {
    local commands; commands=()
    _describe -t commands 'wallust cache help clean commands' commands "$@"
}
(( $+functions[_wallust__subcmd__cache__subcmd__help__subcmd__help_commands] )) ||
_wallust__subcmd__cache__subcmd__help__subcmd__help_commands() {
    local commands; commands=()
    _describe -t commands 'wallust cache help help commands' commands "$@"
}
(( $+functions[_wallust__subcmd__cs_commands] )) ||
_wallust__subcmd__cs_commands() {
    local commands; commands=()
    _describe -t commands 'wallust cs commands' commands "$@"
}
(( $+functions[_wallust__subcmd__debug_commands] )) ||
_wallust__subcmd__debug_commands() {
    local commands; commands=()
    _describe -t commands 'wallust debug commands' commands "$@"
}
(( $+functions[_wallust__subcmd__help_commands] )) ||
_wallust__subcmd__help_commands() {
    local commands; commands=(
'run:Generate a palette from an image' \
'cs:Apply a certain colorscheme' \
'theme:Apply a custom built in theme' \
'migrate:Migrate v2 or v3 config to the new v4-alpha (might lose comments)' \
'cache:Cache operations' \
'debug:Print information about the program and the enviroment it uses' \
'pywal:A drop-in cli replacement for pywal' \
'pick:Pick the best matching theme for an image' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'wallust help commands' commands "$@"
}
(( $+functions[_wallust__subcmd__help__subcmd__cache_commands] )) ||
_wallust__subcmd__help__subcmd__cache_commands() {
    local commands; commands=(
'clean:Remove cache entries from older versions' \
    )
    _describe -t commands 'wallust help cache commands' commands "$@"
}
(( $+functions[_wallust__subcmd__help__subcmd__cache__subcmd__clean_commands] )) ||
_wallust__subcmd__help__subcmd__cache__subcmd__clean_commands() {
    local commands; commands=()
    _describe -t commands 'wallust help cache clean commands' commands "$@"
}
(( $+functions[_wallust__subcmd__help__subcmd__cs_commands] )) ||
_wallust__subcmd__help__subcmd__cs_commands() {
    local commands; commands=()
    _describe -t commands 'wallust help cs commands' commands "$@"
}
(( $+functions[_wallust__subcmd__help__subcmd__debug_commands] )) ||
_wallust__subcmd__help__subcmd__debug_commands() {
    local commands; commands=()
    _describe -t commands 'wallust help debug commands' commands "$@"
}
(( $+functions[_wallust__subcmd__help__subcmd__help_commands] )) ||
_wallust__subcmd__help__subcmd__help_commands() {
    local commands; commands=()
    _describe -t commands 'wallust help help commands' commands "$@"
}
(( $+functions[_wallust__subcmd__help__subcmd__migrate_commands] )) ||
_wallust__subcmd__help__subcmd__migrate_commands() {
    local commands; commands=()
    _describe -t commands 'wallust help migrate commands' commands "$@"
}
(( $+functions[_wallust__subcmd__help__subcmd__pick_commands] )) ||
_wallust__subcmd__help__subcmd__pick_commands() {
    local commands; commands=()
    _describe -t commands 'wallust help pick commands' commands "$@"
}
(( $+functions[_wallust__subcmd__help__subcmd__pywal_commands] )) ||
_wallust__subcmd__help__subcmd__pywal_commands() {
    local commands; commands=()
    _describe -t commands 'wallust help pywal commands' commands "$@"
}
(( $+functions[_wallust__subcmd__help__subcmd__run_commands] )) ||
_wallust__subcmd__help__subcmd__run_commands() {
    local commands; commands=()
    _describe -t commands 'wallust help run commands' commands "$@"
}
(( $+functions[_wallust__subcmd__help__subcmd__theme_commands] )) ||
_wallust__subcmd__help__subcmd__theme_commands() {
    local commands; commands=()
    _describe -t commands 'wallust help theme commands' commands "$@"
}
(( $+functions[_wallust__subcmd__migrate_commands] )) ||
_wallust__subcmd__migrate_commands() {
    local commands; commands=()
    _describe -t commands 'wallust migrate commands' commands "$@"
}
(( $+functions[_wallust__subcmd__pick_commands] )) ||
_wallust__subcmd__pick_commands() {
    local commands; commands=()
    _describe -t commands 'wallust pick commands' commands "$@"
}
(( $+functions[_wallust__subcmd__pywal_commands] )) ||
_wallust__subcmd__pywal_commands() {
    local commands; commands=()
    _describe -t commands 'wallust pywal commands' commands "$@"
}
(( $+functions[_wallust__subcmd__run_commands] )) ||
_wallust__subcmd__run_commands() {
    local commands; commands=()
    _describe -t commands 'wallust run commands' commands "$@"
}
(( $+functions[_wallust__subcmd__theme_commands] )) ||
_wallust__subcmd__theme_commands() {
    local commands; commands=()
    _describe -t commands 'wallust theme commands' commands "$@"
}

if [ "$funcstack[1]" = "_wallust" ]; then
    _wallust "$@"
else
    compdef _wallust wallust
fi
