arch-config/config/fastfetch/setts/examples/25.jsonc
nekochemist 6604f0b324 deleted: ../apps-list-zero.md
new file:   DankMaterialShell/.changelog-1.4
 	new file:   DankMaterialShell/.firstlaunch
 	new file:   DankMaterialShell/firefox.css
 	new file:   DankMaterialShell/plugins/cavaVisualizer
 	new file:   DankMaterialShell/plugins/dankAudioVisualizer
 	new file:   DankMaterialShell/plugins/desktopCommand
 	new file:   DankMaterialShell/settings.json
 	new file:   DankMaterialShell/themes/peaceAndQuiet/preview-blue-dark.svg
 	new file:   DankMaterialShell/themes/peaceAndQuiet/preview-blue-light.svg
 	new file:   DankMaterialShell/themes/peaceAndQuiet/preview-blue.svg
 	new file:   DankMaterialShell/themes/peaceAndQuiet/preview-cyan-dark.svg
 	new file:   DankMaterialShell/themes/peaceAndQuiet/preview-cyan-light.svg
 	new file:   DankMaterialShell/themes/peaceAndQuiet/preview-cyan.svg
 	new file:   DankMaterialShell/themes/peaceAndQuiet/preview-dark.svg
 	new file:   DankMaterialShell/themes/peaceAndQuiet/preview-lavender-dark.svg
 	new file:   DankMaterialShell/themes/peaceAndQuiet/preview-lavender-light.svg
 	new file:   DankMaterialShell/themes/peaceAndQuiet/preview-lavender.svg
 	new file:   DankMaterialShell/themes/peaceAndQuiet/preview-light.svg
 	new file:   DankMaterialShell/themes/peaceAndQuiet/preview-mint-dark.svg
 	new file:   DankMaterialShell/themes/peaceAndQuiet/preview-mint-light.svg
 	new file:   DankMaterialShell/themes/peaceAndQuiet/preview-mint.svg
 	new file:   DankMaterialShell/themes/peaceAndQuiet/preview-pink-dark.svg
 	new file:   DankMaterialShell/themes/peaceAndQuiet/preview-pink-light.svg
 	new file:   DankMaterialShell/themes/peaceAndQuiet/preview-pink.svg
 	new file:   DankMaterialShell/themes/peaceAndQuiet/preview-salmon-dark.svg
 	new file:   DankMaterialShell/themes/peaceAndQuiet/preview-salmon-light.svg
 	new file:   DankMaterialShell/themes/peaceAndQuiet/preview-salmon.svg
 	new file:   DankMaterialShell/themes/peaceAndQuiet/theme.json
 	new file:   DankMaterialShell/themes/zzz/theme.json
 	new file:   DankMaterialShell/themes/zzz/theme1.json
 	new file:   DankMaterialShell/zen.css
 	new file:   Kvantum/KvLibadwaitaDark#/KvLibadwaitaDark#.kvconfig
 	new file:   Kvantum/kvantum.kvconfig
 	new file:   aichat/config.yaml
 	modified:   btop/btop.conf
 	new file:   btop/themes/noctalia.theme
 	new file:   calcurse/conf
 	new file:   calcurse/keys
 	new file:   cava/config
 	new file:   cava/shaders/bar_spectrum.frag
 	new file:   cava/shaders/eye_of_phi.frag
 	new file:   cava/shaders/northern_lights.frag
 	new file:   cava/shaders/pass_through.vert
 	new file:   cava/shaders/spectrogram.frag
 	new file:   cava/shaders/winamp_line_style_spectrum.frag
 	new file:   cava/themes/solarized_dark
 	new file:   cava/themes/tricolor
 	new file:   fastfetch/0.01.jsonc
 	new file:   fastfetch/0.02.jsonc
 	new file:   fastfetch/color.jsonc
 	new file:   fastfetch/setts/all.jsonc
 	new file:   fastfetch/setts/archey.jsonc
 	new file:   fastfetch/setts/ci.jsonc
 	new file:   fastfetch/setts/examples/10.jsonc
 	new file:   fastfetch/setts/examples/11.jsonc
 	new file:   fastfetch/setts/examples/12.jsonc
 	new file:   fastfetch/setts/examples/13.jsonc
 	new file:   fastfetch/setts/examples/14.jsonc
 	new file:   fastfetch/setts/examples/15.jsonc
 	new file:   fastfetch/setts/examples/16.jsonc
 	new file:   fastfetch/setts/examples/17.jsonc
 	new file:   fastfetch/setts/examples/18.jsonc
 	new file:   fastfetch/setts/examples/19.jsonc
 	new file:   fastfetch/setts/examples/2.jsonc
 	new file:   fastfetch/setts/examples/20.jsonc
 	new file:   fastfetch/setts/examples/21.jsonc
 	new file:   fastfetch/setts/examples/22.jsonc
 	new file:   fastfetch/setts/examples/23.jsonc
 	new file:   fastfetch/setts/examples/24.jsonc
 	new file:   fastfetch/setts/examples/25.jsonc
 	new file:   fastfetch/setts/examples/26.jsonc
 	new file:   fastfetch/setts/examples/27.jsonc
 	new file:   fastfetch/setts/examples/28.jsonc
 	new file:   fastfetch/setts/examples/29.jsonc
 	new file:   fastfetch/setts/examples/3.jsonc
 	new file:   fastfetch/setts/examples/30.jsonc
 	new file:   fastfetch/setts/examples/4.jsonc
 	new file:   fastfetch/setts/examples/5.jsonc
 	new file:   fastfetch/setts/examples/6.jsonc
 	new file:   fastfetch/setts/examples/7.jsonc
 	new file:   fastfetch/setts/examples/8.jsonc
 	new file:   fastfetch/setts/examples/9.jsonc
 	new file:   fastfetch/setts/neofetch.jsonc
 	new file:   fastfetch/setts/paleofetch.jsonc
 	new file:   fastfetch/setts/screenfetch.jsonc
 	modified:   fish/config.fish
 	modified:   fish/fish_variables
 	new file:   fish/fish_variables2DWmNcGa9T
 	new file:   fish/functions/ffcolor.fish
 	modified:   fish/functions/fish_prompt.fish.bak
 	new file:   fish/functions/lt.fish
 	modified:   fish/functions/p.fish
 	new file:   fish/functions/tide/configure/icons.fish
 	new file:   fish/functions/vpn-debug.fish
 	modified:   fish/functions/vpn.fish
 	new file:   foot/dank-colors.ini
 	modified:   foot/foot.ini
 	new file:   fsel/config.toml
 	modified:   fuzzel/fuzzel.ini
 	modified:   hyprwave/config.conf
 	new file:   hyprwhspr/config.json
 	new file:   hyprwhspr/mic_osd.pid
 	new file:   i3/config
 	new file:   ironbar/config.json
 	new file:   ironbar/schema-v0.18.0.json
 	new file:   ironbar/scripts/pomo
 	new file:   ironbar/scripts/walker.sh
 	new file:   ironbar/style.css
 	new file:   keymap.xkb
 	new file:   kitty/dank-tabs.conf
 	new file:   kitty/dank-theme.conf
 	new file:   matugen/config.toml
 	new file:   matugen/custom3.json
 	modified:   mimeapps.list
 	modified:   mpDris2/mpDris2.conf
 	new file:   niri/animation.kdl
 	new file:   niri/bak.config.kdl
 	new file:   niri/binds.kdl
 	new file:   niri/caps
 	modified:   niri/config.kdl
 	new file:   niri/config.kdl.backup1776208575
 	new file:   niri/config.kdl.backup1776211503
 	new file:   niri/config.kdl.backup1776211623
 	new file:   niri/dms/alttab.kdl
 	new file:   niri/dms/binds.kdl
 	new file:   niri/dms/colors.kdl
 	new file:   niri/dms/cursor.kdl
 	new file:   niri/dms/layout.kdl
 	new file:   niri/dms/outputs.kdl
 	new file:   niri/dms/profiles/profile_1776211496314_g03e3q.kdl
 	new file:   niri/dms/windowrules.kdl
 	new file:   niri/dms/wpblur.kdl
 	new file:   niri/emoji.png
 	new file:   niri/executable_caps
 	new file:   niri/input.kdl
 	new file:   niri/ironbar-toggle.sh
 	new file:   niri/layer-rule.kdl
 	new file:   niri/layout.kdl
 	new file:   niri/lock.sh
 	new file:   niri/noctalia-toggle.sh
 	new file:   niri/output-pc.kdl
 	new file:   niri/spawn-at-startup.kdl
 	new file:   niri/window-rule.kdl
 	new file:   nix/nix.conf
 	modified:   nvim/lazy-lock.json
 	modified:   nvim/lazyvim.json
 	new file:   nvim/lua/plugins/dankcolors.lua
 	new file:   nvim/lua/plugins/gpanders-nvim-parinfer.lua
 	new file:   nvim/lua/plugins/tokyo-night.lua
 	new file:   nvim/lua/tokyonight.nvim
 	new file:   nwg-look/config
 	new file:   omarchy/current/background
 	new file:   omarchy/hooks/theme-set
 	new file:   omarchy/hooks/theme-set.d/00-fish.sh
 	new file:   omarchy/hooks/theme-set.d/00-fzf.sh
 	new file:   omarchy/hooks/theme-set.d/10-discord.sh
 	new file:   omarchy/hooks/theme-set.d/10-gtk.sh
 	new file:   omarchy/hooks/theme-set.d/10-qt6ct.sh
 	new file:   omarchy/hooks/theme-set.d/10-spotify.sh
 	new file:   omarchy/hooks/theme-set.d/10-superfile.sh
 	new file:   omarchy/hooks/theme-set.d/10-vicinae.sh
 	new file:   omarchy/hooks/theme-set.d/15-typora.sh
 	new file:   omarchy/hooks/theme-set.d/20-nwg-dock-hyprland.sh
 	new file:   omarchy/hooks/theme-set.d/20-zed.sh
 	new file:   omarchy/hooks/theme-set.d/30-cursor.sh
 	new file:   omarchy/hooks/theme-set.d/30-vscode.sh
 	new file:   omarchy/hooks/theme-set.d/30-windsurf.sh
 	new file:   omarchy/hooks/theme-set.d/40-cava.sh
 	new file:   omarchy/hooks/theme-set.d/40-firefox.sh
 	new file:   omarchy/hooks/theme-set.d/40-steam.sh
 	new file:   omarchy/hooks/theme-set.d/40-zen.sh
 	new file:   omarchy/hooks/theme-set.d/50-heroic.sh
 	new file:   omarchy/themes/aether
 	new file:   pomo/config.json
 	new file:   scripts/niri/caps
 	new file:   scripts/niri/ru.png
 	new file:   scripts/niri/us.png
 	new file:   starship.toml
 	modified:   swaync/config.json
 	new file:   swaync/config_1.json
 	modified:   swaync/style.css
 	new file:   swaync/style_1.css
 	new file:   systemd/user/default.target.wants/mpDris2.service
 	new file:   systemd/user/default.target.wants/mpd.service
 	new file:   systemd/user/default.target.wants/mpris-proxy.service
 	new file:   systemd/user/default.target.wants/openrazer-daemon.service
 	new file:   systemd/user/default.target.wants/pipewire-pulse.service
 	new file:   systemd/user/default.target.wants/pipewire.service
 	new file:   systemd/user/default.target.wants/ydotool.service
 	new file:   systemd/user/elephant.service
 	new file:   systemd/user/gnome-session.target.wants/gnome-remote-desktop.service
 	new file:   systemd/user/graphical-session.target.wants/elephant.service
 	new file:   systemd/user/graphical-session.target.wants/hyprwhspr.service
 	new file:   systemd/user/hyprwhspr.service
 	new file:   systemd/user/sockets.target.wants/mpd.socket
 	new file:   systemd/user/sockets.target.wants/pipewire-pulse.socket
 	new file:   systemd/user/sockets.target.wants/pipewire.socket
 	new file:   tofi/config
 	new file:   user-dirs.conf
 	renamed:    ../user-dirs.dirs -> user-dirs.dirs
 	new file:   user-dirs.locale
 	modified:   walker/config.toml
 	new file:   wl-kbptr/config
 	new file:   xdg-desktop-portal/portals.conf
 	new file:   xsettingsd/xsettingsd.conf
 	new file:   yt-dlp/config
 	new file:   zathura/zathurarc
 	renamed:    ../zram-generator.conf -> zram-generator.conf
 	modified:   ../copy.sh
 	deleted:    ../nix-packages.md
 	new file:   ../nix-pkgs.txt
 	deleted:    ../pacman-packages.md
 	renamed:    ../apps-list.md -> ../pkgs.txt
 	renamed:    ../services.md -> ../services.txt
2026-04-19 21:44:51 +05:00

315 lines
13 KiB
JSON

// Based on #1576
{
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
"display": {
"color": {
"keys": "blue"
},
"separator": "",
// Constants are reusable strings referenced by {$1}, {$2}, etc.
// These contain ANSI escape codes for cursor positioning
"constants": [
"──────────────────────────────────────────────", // {$1} - horizontal line for borders
"\u001b[47D", // {$2} - move cursor left 47 columns
"\u001b[47C", // {$3} - move cursor right 47 columns
"\u001b[46C" // {$4} - move cursor right 46 columns
],
"brightColor": false
},
"modules": [
{
"type": "version",
"key": "┌───────────────┬─{$1}┐\u001b[41D",
"format": "\u001b[1m{#keys} {1} - {2} "
},
{
"type": "os",
// Key format breakdown for OS module:
// "│ {icon} \u001b[s{sysname}\u001b[u\u001b[10C│{$3}│{$2}"
//
// │ - Left border of key block
// {icon} - OS icon (defined internally by fastfetch)
// \u001b[s - ANSI escape: save cursor position (ESC[s)
// {sysname} - Format variable: system name (e.g., "Linux", "Darwin")
// \u001b[u - ANSI escape: restore cursor to saved position (ESC[u)
// Necessary because the length of `{sysname}` differs between different platforms
// \u001b[10C - ANSI escape: move cursor right 10 columns (ESC[10C)
// │ - Right border of key block (always 10 columns from left border)
// {$3} - Reference to constants[2]: move cursor right 47 columns
// │ - Right border of value block
// {$2} - Reference to constants[1]: move cursor left 47 columns
//
// This creates a fixed-width layout where the key block is exactly 10 columns wide,
// regardless of the actual content length. The cursor manipulation ensures proper
// alignment for the table-like structure.
"key": "│ {icon} \u001b[s{sysname}\u001b[u\u001b[10C│{$3}│{$2}"
},
{
"type": "datetime",
"key": "│ {icon} Fetched │{$3}│{$2}",
"format": "{year}-{month-pretty}-{day-pretty} {hour-pretty}:{minute-pretty}:{second-pretty} {timezone-name}"
},
{
"type": "locale",
"key": "│ {icon} Locale │{$3}│{$2}"
},
// Hardware section with cyan color theme
{
"type": "custom",
"key": "│{#cyan}┌──────────────┬{$1}┐{#keys}│\u001b[37D",
"format": "{#bright_cyan} Hardware "
},
{
"type": "chassis",
// Similar structure but with cyan color formatting:
// │{#cyan}│ - Left border with cyan color
// {icon} - Chassis icon
// Chassis - Fixed label text
// │{$4}│{#keys}│{$2} - Positioning and borders for value area
"key": "│{#cyan}│ {icon} Chassis │{$4}│{#keys}│{$2}"
},
{
"type": "memory",
"key": "│{#cyan}│ {icon} RAM │{$4}│{#keys}│{$2}"
},
{
"type": "swap",
"key": "│{#cyan}│ {icon} SWAP │{$4}│{#keys}│{$2}"
},
{
"type": "cpu",
"key": "│{#cyan}│ {icon} CPU │{$4}│{#keys}│{$2}",
"showPeCoreCount": true
},
{
"type": "gpu",
"key": "│{#cyan}│ {icon} GPU │{$4}│{#keys}│{$2}"
},
{
"type": "disk",
"key": "│{#cyan}│ {icon} Disk │{$4}│{#keys}│{$2}",
"format": "{size-used} \/ {size-total} ({size-percentage}) - {filesystem}",
},
{
"type": "battery",
"key": "│{#cyan}│ {icon} Battery │{$4}│{#keys}│{$2}"
},
{
"type": "custom",
"key": "│{#cyan}└──────────────┴{$1}┘{#keys}│",
"format": ""
},
// Desktop section with green color theme
{
"type": "custom",
"key": "│{#green}┌──────────────┬{$1}┐{#keys}│\u001b[37D",
"format": "{#bright_green} Desktop "
},
{
"type": "de",
"key": "│{#green}│ {icon} Desktop │{$4}│{#keys}│{$2}"
},
{
"type": "wm",
"key": "│{#green}│ {icon} Session │{$4}│{#keys}│{$2}"
},
{
"type": "display",
"key": "│{#green}│ {icon} Display │{$4}│{#keys}│{$2}",
"compactType": "original-with-refresh-rate"
},
{
"type": "gpu",
"key": "│{#green}│ {icon} G-Driver │{$4}│{#keys}│{$2}",
"format": "{driver}"
},
{
"type": "custom",
"key": "│{#green}└──────────────┴{$1}┘{#keys}│",
"format": ""
},
// Terminal section with yellow color theme
{
"type": "custom",
"key": "│{#yellow}┌──────────────┬{$1}┐{#keys}│\u001b[37D",
"format": "{#bright_yellow} Terminal "
},
{
"type": "shell",
"key": "│{#yellow}│ {icon} Shell │{$4}│{#keys}│{$2}"
},
{
"type": "terminal",
"key": "│{#yellow}│ {icon} Terminal │{$4}│{#keys}│{$2}"
},
{
"type": "terminalfont",
"key": "│{#yellow}│ {icon} Term Font │{$4}│{#keys}│{$2}"
},
{
"type": "terminaltheme",
"key": "│{#yellow}│ {icon} Colors │{$4}│{#keys}│{$2}"
},
{
"type": "packages",
"key": "│{#yellow}│ {icon} Packages │{$4}│{#keys}│{$2}"
},
{
"type": "custom",
"key": "│{#yellow}└──────────────┴{$1}┘{#keys}│",
"format": ""
},
// Development section with red color theme
{
"type": "custom",
"key": "│{#red}┌──────────────┬{$1}┐{#keys}│\u001b[39D",
"format": "{#bright_red} Development "
},
{
"type": "command",
"keyIcon": "", // Custom icon override
"key": "│{#red}│ {icon} Rust │{$4}│{#keys}│{$2}",
"text": "rustc --version",
"format": "rustc {~6,13}" // Print 6th to 13th characters (version number)
},
{
"type": "command",
"condition": {
"!system": "Windows" // Posix version
},
"keyIcon": "",
"key": "│{#red}│ {icon} Clang │{$4}│{#keys}│{$2}",
"text": "clang --version | sed -n 's/.*version \\([0-9][0-9.]*\\).*/\\1/p'",
"format": "clang {}"
},
{
"type": "command",
"condition": {
"system": "Windows" // Windows version
},
"keyIcon": "",
"key": "│{#red}│ {icon} Clang │{$4}│{#keys}│{$2}",
"text": "clang --version | findstr version", // Finds the line with "version"
"format": "clang {~-6}" // Prints the last 6 characters (version number)
},
{
"type": "command",
"keyIcon": "",
"key": "│{#red}│ {icon} NodeJS │{$4}│{#keys}│{$2}",
"text": "node --version",
"format": "node {~1}" // {~1} removes first character (v)
},
{
"type": "command",
"keyIcon": "",
"key": "│{#red}│ {icon} Go │{$4}│{#keys}│{$2}",
"text": "go version | cut -d' ' -f3",
"format": "go {~2}" // {~2} removes first 2 characters (go)
},
{
"type": "command",
"keyIcon": "",
"key": "│{#red}│ {icon} Zig │{$4}│{#keys}│{$2}",
"text": "zig version",
"format": "zig {}"
},
{
"type": "editor",
"key": "│{#red}│ {icon} Editor │{$4}│{#keys}│{$2}"
},
{
"type": "command",
"keyIcon": "󰊢",
"key": "│{#red}│ {icon} Git │{$4}│{#keys}│{$2}",
"text": "git version",
"format": "git {~12}"
},
{
"type": "font",
"key": "│{#red}│ {icon} Interface │{$4}│{#keys}│{$2}"
},
{
"type": "custom",
"key": "│{#red}└──────────────┴{$1}┘{#keys}│",
"format": ""
},
// Uptime section with magenta color theme
{
"type": "custom",
"key": "│{#magenta}┌──────────────┬{$1}┐{#keys}│\u001b[36D",
"format": "{#bright_magenta} Uptime "
},
{
"type": "uptime",
"key": "│{#magenta}│ {icon} Uptime │{$4}│{#keys}│{$2}"
},
{
"type": "users",
"myselfOnly": true, // Only show current user
"keyIcon": "",
"key": "│{#magenta}│ {icon} Login │{$4}│{#keys}│{$2}"
},
{
"condition": { // Conditional module: only show on non-macOS
"!system": "macOS"
},
"type": "disk",
"keyIcon": "",
"key": "│{#magenta}│ {icon} OS Age │{$4}│{#keys}│{$2}",
"folders": "/", // Check root filesystem
"format": "{create-time:10} [{days} days]" // Show creation time and age in days
},
{
"condition": { // Conditional module: only show on macOS
"system": "macOS"
},
"type": "disk",
"keyIcon": "",
"key": "│{#magenta}│ {icon} OS Age │{$4}│{#keys}│{$2}",
"folders": "/System/Volumes/VM", // Work around for APFS on macOS
"format": "{create-time:10} [{days} days]"
},
{
"type": "custom",
"key": "│{#magenta}└──────────────┴{$1}┘{#keys}│",
"format": ""
},
{
"type": "custom",
"key": "└─────────────────{$1}┘", // Bottom border of the entire layout
"format": ""
},
// End with color palette and line break
"break", // Add a blank line
"colors" // Display color palette
]
}
/*
Key Format Structure Explanation:
The key format uses a combination of:
1. Unicode box drawing characters ( ) for borders
2. ANSI escape codes for cursor positioning (\u001b[...)
3. Format variables ({icon}, {sysname}, etc.)
4. Constant references ({$1}, {$2}, etc.)
5. Color formatting ({#color})
ANSI Escape Codes Used:
- \u001b[s - Save cursor position (ESC[s)
- \u001b[u - Restore cursor position (ESC[u)
- \u001b[nC - Move cursor right n columns (ESC[nC)
- \u001b[nD - Move cursor left n columns (ESC[nD)
This creates a table-like layout with fixed column widths and proper alignment,
regardless of the actual content length in each field.
For more ANSI escape code reference, see:
https://gist.github.com/fnky/458719343aabd01cfb17a3a4f7296797#cursor-controls
*/