feat(config): add color block configuration
Swadhin Biswas committed 7 months ago
c5294b9
1 parent a001cee
commit c5294b9
1 file changed
+70 -0
Showing 1 changed file+70-0
▼src/config/mod.rs
+70-0
| @@ -418,3 +418,73 @@ image_source = "auto" | ||
418 | 418 | # Which distro's ASCII art to display (when using ASCII backend) |
419 | 419 | # Values: "auto", "arch", "ubuntu", "debian", "fedora", "gentoo", "nixos", |
420 | 420 | # "manjaro", "void", "pop", "cachyos", "endeavouros", "artix", "kali", |
421 | +# "opensuse", "linuxmint", "alpine", "garuda", "zorin", "elementary", | |
422 | +# "rocky", "alma", "slackware", "centos", "solus", "deepin", "mx", | |
423 | +# "raspbian", "freebsd", "openbsd", "macos", "windows", "android" | |
424 | +ascii_distro = "auto" | |
425 | + | |
426 | +# Path to a custom ASCII art file (overrides ascii_distro when set) | |
427 | +# The file can use {c1}..{c6} color placeholders, one line per line of art. | |
428 | +# Example: ascii_file = "/home/user/.config/fetchx/my_logo.txt" | |
429 | +# ascii_file = null | |
430 | + | |
431 | +# Colors for ASCII art: "distro" or explicit color numbers | |
432 | +# Examples: | |
433 | +# ascii_colors = "distro" # use distro's default colors | |
434 | +# ascii_colors = [4, 6, 1] # custom colors for {c1}, {c2}, {c3} | |
435 | +ascii_colors = "distro" | |
436 | + | |
437 | +# Bold the ASCII art | |
438 | +# ascii_bold = true | |
439 | + | |
440 | + | |
441 | +# ─── Image Options (for kitty/sixel/chafa backends) ────────────────────────── | |
442 | + | |
443 | +# Path to a custom image file | |
444 | +# custom_image = "/path/to/image.png" | |
445 | + | |
446 | +# Image size: "auto", "none", or dimensions like "300px", "50%" | |
447 | +# image_size = "auto" | |
448 | + | |
449 | +# Crop mode: "normal", "fit", "fill" | |
450 | +# crop_mode = "normal" | |
451 | + | |
452 | +# Crop offset: "center", "north", "south", "east", "west", | |
453 | +# "northwest", "northeast", "southwest", "southeast" | |
454 | +# crop_offset = "center" | |
455 | + | |
456 | + | |
457 | +# ─── Extra Features ────────────────────────────────────────────────────────── | |
458 | + | |
459 | +# Use emoji art instead of ASCII art | |
460 | +# emoji_mode = false | |
461 | + | |
462 | +# Use Nerd Font icons for info labels (requires a Nerd Font terminal font) | |
463 | +# nerd_font = false | |
464 | + | |
465 | + | |
466 | +# ─── Layout ────────────────────────────────────────────────────────────────── | |
467 | + | |
468 | +# Gap between logo/image and info text (characters) | |
469 | +# gap = 3 | |
470 | + | |
471 | +# Show only the logo, hide system info | |
472 | +# logo_only = false | |
473 | + | |
474 | + | |
475 | +# ─── Info Fields ───────────────────────────────────────────────────────────── | |
476 | +# Toggle which info lines to display | |
477 | + | |
478 | +show_title = true | |
479 | +show_underline = true | |
480 | +show_os = true | |
481 | +show_host = true | |
482 | +show_kernel = true | |
483 | +show_uptime = true | |
484 | +show_packages = true | |
485 | +show_shell = true | |
486 | +show_resolution = true | |
487 | +show_de = true | |
488 | +show_wm = true | |
489 | +show_wm_theme = true | |
490 | +show_theme = true | |
421 | 491 | |