mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 03:51:53 -05:00
fastfetch: nixify config
Some checks are pending
git-mirror / gitlab-sync (push) Waiting to run
nix-build / default-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run
Some checks are pending
git-mirror / gitlab-sync (push) Waiting to run
nix-build / default-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run
This commit is contained in:
parent
4b07b5d4f9
commit
e82d9087f4
|
@ -1,115 +0,0 @@
|
|||
// 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"
|
||||
}
|
||||
]
|
||||
}
|
106
homeManagerModules/apps/fastfetch/config.nix
Normal file
106
homeManagerModules/apps/fastfetch/config.nix
Normal file
|
@ -0,0 +1,106 @@
|
|||
{
|
||||
"$schema" = "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json";
|
||||
display = {separator = " -> ";};
|
||||
logo = {padding = {bottom = 2;};};
|
||||
modules = [
|
||||
{
|
||||
format = "[90m┌────────────────────────────────────────────────────────────┐";
|
||||
type = "custom";
|
||||
}
|
||||
{
|
||||
keyWidth = 10;
|
||||
type = "title";
|
||||
}
|
||||
{
|
||||
format = "[90m└────────────────────────────────────────────────────────────┘";
|
||||
type = "custom";
|
||||
}
|
||||
{
|
||||
format = " [90m [31m [32m [33m [34m [35m [36m [37m [38m [39m [38m [37m [36m [35m [34m [33m [32m [31m [90m";
|
||||
type = "custom";
|
||||
}
|
||||
{
|
||||
format = "[90m┌────────────────────────────────────────────────────────────┐";
|
||||
type = "custom";
|
||||
}
|
||||
{
|
||||
key = " OS";
|
||||
keyColor = "yellow";
|
||||
type = "os";
|
||||
}
|
||||
{
|
||||
key = "│ └";
|
||||
keyColor = "yellow";
|
||||
type = "shell";
|
||||
}
|
||||
{
|
||||
key = " DE/WM";
|
||||
keyColor = "blue";
|
||||
type = "wm";
|
||||
}
|
||||
{
|
||||
key = "│ ├";
|
||||
keyColor = "blue";
|
||||
type = "theme";
|
||||
}
|
||||
{
|
||||
key = "│ ├";
|
||||
keyColor = "blue";
|
||||
type = "terminal";
|
||||
}
|
||||
{
|
||||
key = "│ └";
|
||||
keyColor = "blue";
|
||||
type = "wallpaper";
|
||||
}
|
||||
{
|
||||
key = " PC";
|
||||
keyColor = "green";
|
||||
type = "host";
|
||||
}
|
||||
{
|
||||
key = "│ ├";
|
||||
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 = " SND";
|
||||
keyColor = "cyan";
|
||||
type = "player";
|
||||
}
|
||||
{
|
||||
key = "│ └";
|
||||
keyColor = "cyan";
|
||||
type = "media";
|
||||
}
|
||||
{
|
||||
format = "[90m└────────────────────────────────────────────────────────────┘";
|
||||
type = "custom";
|
||||
}
|
||||
"break"
|
||||
{
|
||||
format = " [90m [31m [32m [33m [34m [35m [36m [37m [38m [39m [38m [37m [36m [35m [34m [33m [32m [31m [90m";
|
||||
type = "custom";
|
||||
}
|
||||
];
|
||||
}
|
|
@ -6,6 +6,6 @@
|
|||
}: {
|
||||
config = lib.mkIf config.ar.home.apps.fastfetch.enable {
|
||||
home.packages = [pkgs.fastfetch];
|
||||
xdg.configFile."fastfetch/config.jsonc".source = ./config.jsonc;
|
||||
xdg.configFile."fastfetch/config.jsonc".text = lib.generators.toJSON {} (import ./config.nix);
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue