wallust.toml (8159B)
1 # wallust 2.9.* 2 # -- global space -- # 3 # values below can be overwritten by command line flags 4 5 # How the image is parse, in order to get the colors: 6 # * full - Read and return the whole image pixels (more precision, slower) 7 # * resized - Resizes the image before parsing, mantaining it's aspect ratio 8 # * wal - Uses image magick `convert` to generate the colors, like pywal 9 # * thumb - Faster algo hardcoded to 512x512 (no ratio respected) 10 # * fastresize - A much faster resize algo that uses SIMD. For some reason it 11 # fails on some images where `resized` doesn't, for this reason 12 # it does not *replace* but rather it's a new option. 13 backend = "fastresize" 14 15 # What color space to use to produce and select the most prominent colors: 16 # * lab - Uses Cie L*a*b color space 17 # * labmixed - Variant of `lab` that mixes the colors gathered, if not enough 18 # colors it fallbacks to usual lab (not recommended in small images) 19 # * labfast - Variant of `lab` that avoids floating arithmetic, thus, faster 20 # operations but not that much precise result. Images that work on 21 # lab/labmixed could not have "enough colors" for labfast. 22 color_space = "lab" 23 24 # Difference between similar colors, used by the colorspace: 25 # 1 Not perceptible by human eyes. 26 # 1 - 2 Perceptible through close observation. 27 # 2 - 10 Perceptible at a glance. 28 # 11 - 49 Colors are more similar than opposite 29 # 100 Colors are exact opposite 30 threshold = 12 31 32 # NOTE: All filters will fill 16 colors (from color0 to color15), 16 color 33 # variations are the 'ilusion' of more colors by opaquing color1 to color5. 34 # Use the most prominent colors in a way that makes sense, a scheme: 35 # * dark - 8 dark colors, dark background and light contrast 36 # * dark16 - Same as `dark` but uses the 16 colors trick 37 # * harddark - Same as `dark` with hard hue colors 38 # * harddark16 - Harddark with 16 color variation 39 # * light - Light bg, dark fg 40 # * light16 - Same as `light` but uses the 16 color trick 41 # * softdark - Variant of softlight, uses the lightest colors and a dark 42 # background (could be interpreted as `dark` inversed) 43 # * softdark16 - softdark with 16 color variation 44 # * softlight - Light with soft pastel colors, counterpart of `harddark` 45 # * softlight16 - softlight with 16 color variation 46 filter = "harddark16" 47 48 # Ensures a "readable contrast" (OPTIONAL, disabled by default) 49 # Should only be enables when you notice an unreadable contrast frequently happening 50 # with your images. The reference color for the contrast is the background color. 51 #check_contrast = true 52 53 # Color saturation, between [1% and 100%] (OPTIONAL, disabled by default) 54 # usually something higher than 50 increases the saturation and below 55 # decreases it (on a scheme with strong and vivid colors) 56 #saturation = 35 57 58 # Alpha value for templating, by default 100 (no other use whatsoever) 59 #alpha = 100 60 61 # -- templating -- # (OPTIONAL) 62 # An `entry` requires two files: 63 # 1. template: A relative path that points to a file where wallust.toml is located, usually at `~/.config/wallust/` 64 # 2. target: Absolute path in which to place a file with generated templated values 65 66 # OPTIONALLY It can accept `new_engine = true`: This "new engine" difers by using double brackets like `{{variable}}` 67 # instead of one like usual, which helps with file formats that use brackets like json. With the `new_engine` enabled 68 # you can escape and produce a literal `{{` by `{{{{}}`, and for `}}` you escape it with `{{}}}}`. 69 70 # This is the most common way of integrating `wallust` generated palette to some program. 71 # Below a simple example that searches for `config-path/zathurarc` and puts the 72 # newly created file to `~/.config/zathura/zathurarc` and it uses the `new_engine` flag for double brackets. 73 # zathura = { template = 'zathura', target = '~/.config/zathura/zathurarc' } 74 75 [templates] 76 # oneline format (?) 77 #xresources = { template = 'colors.Xresources',target = "~/.config/X11/Xresources" } 78 #kitty = { template = "colors-kitty.conf", target = "~/.config/kitty/colors-kitty.conf" } 79 #vim = { template = "colors-wal.vim", target = "~/.config/nvim/colors/colors-wal.vim" } 80 #dunstrc = { template = "dunstrc", target = "~/.config/dunst/dunstrc"} 81 #discord = { template = "wallust-discord.css", target = "~/.config/VencordDesktop/theme.css", new_engine = true } 82 #lessfile = { template = "colors.less", target = "~/.var/app/sh.cider.Cider/config/Cider/Themes/gh_495921395/colors.less" } 83 #hyprland = { template = "hypr.conf", target = "~/.config/hypr/hyprland-colors.conf" } 84 #joplin-userchrome = { template = "joplin-userchrome.css", target = "~/.config/joplin-desktop/userchrome.css" } 85 #joplin-userstyle = { template = "joplin-userstyle.css", target = "~/.config/joplin-desktop/userstyle.css" } 86 87 #--- new template format ---# 88 89 fuzzel.template = "fuzzel.ini" 90 fuzzel.target = "~/.config/fuzzel/colors.ini" 91 92 mango.template = "mango-theme.conf" 93 mango.target = "~/.config/mango/theme.conf" 94 95 havoc.template = "havoc.cfg" 96 havoc.target = "~/.config/havoc.cfg" 97 98 vconsole.template = "vconsole.conf" 99 vconsole.target = "~/.cache/vconsole.custom.conf" 100 101 xresources.template = "colors.Xresources" 102 xresources.target = "~/.config/X11/Xresources" 103 104 kitty.template = "colors-kitty.conf" 105 kitty.target = "~/.config/kitty/colors-kitty.conf" 106 107 vim.template = "colors-wal.vim" 108 vim.target = "~/.config/nvim/colors/colors-wal.vim" 109 110 dunst.template = "dunstrc" 111 dunst.target = "~/.config/dunst/dunstrc" 112 113 discord.template = "wallust-discord.css" 114 discord.target = "~/.config/VencordDesktop/theme.css" 115 116 less.template = "colors.less" 117 less.target = "~/.var/app/sh.cider.Cider/config/Cider/Themes/gh_495921395/colors.less" 118 119 hyprland.template = "hypr.conf" 120 hyprland.target = "~/.config/hypr/hyprland-colors.conf" 121 122 jchrome.template = "joplin-userchrome.css" 123 jchrome.target = "~/.config/joplin-desktop/userchrome.css" 124 125 juser.template = "joplin-userstyle.css" 126 juser.target = "~/.config/joplin-desktop/userstyle.css" 127 128 vencord.template = "wallust-discord.css" 129 vencord.target = "~/.var/app/dev.vencord.Vesktop/config/vesktop/themes/wallust-discord.css" 130 131 spicetify.template = "spicetify.ini" 132 spicetify.target = "~/.config/spicetify/Themes/wallust/colors.ini" 133 134 waybar.template = "waybar-colors.css" 135 waybar.target = "~/.config/waybar/theme.css" 136 #--- old template format ---# 137 #[[entry]] 138 #template = "colors.Xresources" 139 #target = "~/.config/X11/Xresources" 140 141 #[[entry]] 142 #template = "colors-kitty.conf" 143 #target = "~/.config/kitty/colors-kitty.conf" 144 145 #[[entry]] 146 #template = "colors-wal.vim" 147 #target = "~/.config/nvim/colors/colors-wal.vim" 148 149 #[[entry]] 150 #template = "dunstrc" 151 #target = "~/.config/dunst/dunstrc" 152 153 #[[entry]] 154 #template = "wallust-discord.css" 155 #target = "~/.config/VencordDesktop/theme.css" 156 #new_engine = true 157 158 #[[entry]] 159 #template = "colors.less" 160 #target = "~/.var/app/sh.cider.Cider/config/Cider/Themes/gh_495921395/colors.less" 161 162 #[[entry]] 163 #template = "hypr.conf" 164 #target = "~/.config/hypr/hyprland-colors.conf" 165 166 #[[entry]] 167 #template = "joplin-userchrome.css" 168 #target = "~/.config/joplin-desktop/userchrome.css" 169 170 #[[entry]] 171 #template = "joplin-userstyle.css" 172 #target = "~/.config/joplin-desktop/userstyle.css" 173 174 # REMINDER Variables and methods that can be used with templating: 175 # wallpaper: The full path to the current wallpaper. 176 # backend: Current **backend** being used. 177 # colorspace: Current **colorspace** being used. 178 # filter: Current **filter** being used. 179 # alpha: Default to 100, can be modified in the config file or with `--alpha`/`-a`. 180 # alpha_dec: Instead of [0..=100], displays it from 0.00 to 1.00. 181 # var: Output the color in `hex`. 182 # var.rgb: Output the color in `rgb`. 183 # var.rgba: Output the color in `rgba`. 184 # var.xrgba: Output the color in `xrgb`. 185 # var.strip: Output the color in `hex` (without a `#`). 186 # var.red: Output the red value. 187 # var.green: Output the green value. 188 # var.blue: Output the blue value. 189 # 190 # Where `var` can be colors from `color0` to `color15`, `background`, `foreground` and `cursor`.