You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| alpha | Set transparency value |`%% color1.hex alpha=0.5 %%`|
113
121
114
122
## JSON
115
123
116
-
You can use ``--json``argument to suppress any other output and write colors to ``stdout`` in json format. It's easy to do something with it with ``jq`` later. For example:
124
+
You can use the `--json` argument to suppress any other output and write colors to `stdout` in JSON format.
125
+
You can then manipulate the output with `jq`. For example:
117
126
118
127
```sh
119
128
hellwal -i [wallpaper] --json | jq '.'
120
129
```
121
130
122
131
## Themes
123
132
124
-
You can set your own theme, re-run it anytime and apply to your config or other programs!
125
-
It can be previously generated palette from image, gruvbox, tokyonight or anything you want!
126
-
For example gruvbox theme:
133
+
You can set your own theme, re-run it anytime and apply it to your config or other programs!
134
+
It can be a previously generated palette from an image,
Save text above as file or take from this repo [gruvbox](./themes/gruvbox.hellwal) and just run hellwal:
158
+
Save the text above as a file or copy [gruvbox](./themes/gruvbox.hellwal) from this repo and
159
+
just run hellwal:
148
160
149
161
```sh
150
162
hellwal --theme ./themes/gruvbox.hellwal
151
163
```
152
164
153
-
I recommend to put all themes to ``~/.config/hellwal/themes folder``, because from there you can just provide theme name, and it will pick it up automatically, without specifying path. Of course if you want, you can also set different theme-folder path. For example:
165
+
I recommend putting all themes in the default theme folder `~/.config/hellwal/themes`.
166
+
This way, you can provide the theme name without specifying the path, and hellwal will pick it
167
+
up automatically. Of course if you want, you can also set a different theme folder.
Neon mode boosts colors to make them look more neon-like, sometimes it's pain in the EYE, but usually it looks better. Turned **off** by default.
176
+
Neon mode boosts colors to make them look more vibrant and bold. Sometimes it's a pain in the EYE,
177
+
but it often looks better. Turned **off** by default.
162
178
163
179
```sh
164
180
hellwal -i [wallpaper] --neon-mode
165
181
```
166
182
167
183
## Modes
168
184
169
-
You can select ``-d`` and ``--dark`` or ``-l`` and ``--light`` mode on every given image, theme etc, no matter if it's generated from image or from theme file. Also there is ``--color`` mode.
185
+
You can select `-d`/`--dark` or `-l`/`--light` mode on any given image, theme, etc., no
186
+
matter if it's generated from an image or from a theme file. There is also `--color` mode.
The best thing about it is that you are able to combine all of them together. Usually it's not a good idea, but sometimes you can achieve some crazy combination of colors!
206
+
The best thing about it is that you are able to combine all of these together. Usually it's
207
+
not a good idea, but sometimes you can achieve some crazy color combinations!
190
208
191
209
```sh
192
210
hellwal -i [wallpaper] --color --light --dark
193
211
```
194
212
195
213
---
196
214
197
-
Also you have couple of cool arguments to manipulate how colors will be computed:
215
+
Also, you have a couple of cool arguments to manipulate how colors will be computed:
198
216
199
-
- you can make all colors in palette darker by specifying ``--dark-offset`` from 0-1:
217
+
- you can darken all colors by specifying `--dark-offset` from 0-1 (the higher the value, the darker the colors):
200
218
201
219
```sh
202
220
hellwal -i [wallpaper] --light --dark-offset 0.5
203
221
```
204
222
205
-
- same with ``--bright-offset``:
223
+
- same with `--bright-offset` (the higher the value, the brighter the colors):
206
224
207
225
```sh
208
226
hellwal -i [wallpaper] --bright-offset 0.5
209
227
```
210
228
211
-
- invert colors ``--invert``:
229
+
- invert colors with `--invert`:
212
230
213
231
```sh
214
232
hellwal -i [wallpaper] --light --invert
215
233
```
216
234
217
-
- specify gray scale, if you want monochromatic colors``--gray-scale``:
235
+
- specify grayscale, if you want monochromatic colors, with `--gray-scale`:
218
236
219
237
```sh
220
238
hellwal -i [wallpaper] --color --gray-scale 0.8
221
239
```
222
240
223
241
## Scripts
224
242
225
-
With ``--script`` or ``-s`` you can run script(or any shell command) after hellwal.
226
-
**Note**: it will only run if hellwal will not encounter any errors.
243
+
With `--script` or `-s` you can run a script (or any shell command) after hellwal.
244
+
245
+
**Note**: it will only run if hellwal does not encounter any errors.
227
246
228
247
### On a side note:
229
248
230
-
If you want your new terminals to open with previusly generated or specified color palette, add this templates to your ``~/.config/hellwal/templates/`` folder:
249
+
If you want your new terminals to open with a previously generated or specified color palette,
250
+
add these templates to your `~/.config/hellwal/templates/` folder:
231
251
232
-
- variables.sh
233
-
- terminal.sh
252
+
-[variables.sh](./templates/variables.sh)
253
+
-[terminal.sh](./templates/terminal.sh)
234
254
235
-
then in ``.bash.rc`` add following lines:
255
+
Then in `.bashrc`, add following lines:
236
256
237
257
```sh
238
258
source~/.cache/hellwal/variables.sh
239
259
sh ~/.cache/hellwal/terminal.sh
240
260
```
241
261
242
-
### Alternatively if you use fish add these to fish config:

251
277
252
278
# Special thanks:
253
-
-[dylanaraps](https://github.com/dylanaraps) - for [https://github.com/dylanaraps/pywal](pywal) and other amazing stuff he created.
279
+
280
+
-[dylanaraps](https://github.com/dylanaraps) - for [pywal](https://github.com/dylanaraps/pywal) and other amazing stuff he created.
0 commit comments