added fastfetch config

This commit is contained in:
Aly Raffauf 2024-05-04 07:02:48 -04:00
parent d43b79e265
commit 9649f8563c
4 changed files with 132 additions and 0 deletions

View file

@ -49,6 +49,7 @@
bash.enable = true; bash.enable = true;
emacs.enable = true; emacs.enable = true;
eza.enable = true; eza.enable = true;
fastfetch.enable = true;
fzf.enable = true; fzf.enable = true;
neofetch.enable = true; neofetch.enable = true;
neovim.enable = true; neovim.enable = true;

View file

@ -10,6 +10,7 @@
./chromium ./chromium
./emacs ./emacs
./eza ./eza
./fastfetch
./firefox ./firefox
./fuzzel ./fuzzel
./fzf ./fzf

View file

@ -0,0 +1,115 @@
// Load with --load-config examples/2.jsonc
// Note that you must replace the image path to an existing image to display it.
{
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
"logo": {
"padding": {
"bottom": 2,
}
},
"display": {
"separator": " -> "
},
"modules": [
{
"type": "custom",
"format": "\u001b[90m┌────────────────────────────────────────────────────────────┐"
},
{
"type": "title",
"keyWidth": 10
},
{
"type": "custom",
"format": "\u001b[90m└────────────────────────────────────────────────────────────┘"
},
{
"type": "custom",
"format": " \u001b[90m \u001b[31m \u001b[32m \u001b[33m \u001b[34m \u001b[35m \u001b[36m \u001b[37m \u001b[38m \u001b[39m  \u001b[38m \u001b[37m \u001b[36m \u001b[35m \u001b[34m \u001b[33m \u001b[32m \u001b[31m \u001b[90m"
},
{
"type": "custom",
"format": "\u001b[90m┌────────────────────────────────────────────────────────────┐"
},
{
"type": "os",
"key": " OS",
"keyColor": "yellow"
},
{
"type": "shell",
"key": "│ └",
"keyColor": "yellow"
},
{
"type": "wm",
"key": " DE/WM",
"keyColor": "blue"
},
{
"type": "theme",
"key": "│ ├󰉼",
"keyColor": "blue"
},
{
"type": "terminal",
"key": "│ ├",
"keyColor": "blue"
},
{
"type": "wallpaper",
"key": "│ └󰸉",
"keyColor": "blue"
},
{
"type": "host",
"key": "󰌢 PC",
"keyColor": "green"
},
{
"type": "cpu",
"key": "│ ├󰻠",
"keyColor": "green"
},
{
"type": "memory",
"key": "│ ├󰑭",
"keyColor": "green"
},
{
"type": "disk",
"key": "│ ├",
"keyColor": "green"
},
{
"type": "display",
"key": "│ └󰍹",
"keyColor": "green"
},
{
"type": "battery",
"key": "│ ├",
"keyColor": "green"
},
{
"type": "player",
"key": " SND",
"keyColor": "cyan"
},
{
"type": "media",
"key": "│ └󰝚",
"keyColor": "cyan"
},
{
"type": "custom",
"format": "\u001b[90m└────────────────────────────────────────────────────────────┘"
},
"break",
{
"type": "custom",
"format": " \u001b[90m \u001b[31m \u001b[32m \u001b[33m \u001b[34m \u001b[35m \u001b[36m \u001b[37m \u001b[38m \u001b[39m  \u001b[38m \u001b[37m \u001b[36m \u001b[35m \u001b[34m \u001b[33m \u001b[32m \u001b[31m \u001b[90m"
}
]
}

View file

@ -0,0 +1,15 @@
{
pkgs,
lib,
config,
...
}: {
options = {
alyraffauf.apps.fastfetch.enable = lib.mkEnableOption "Enable fastfetch.";
};
config = lib.mkIf config.alyraffauf.apps.fastfetch.enable {
home.packages = [pkgs.fastfetch];
xdg.configFile."fastfetch/config.jsonc".source = ./config.jsonc;
};
}