Simplify fastfetch config using a with statement
This commit is contained in:
parent
3978369995
commit
9c409cc91a
1 changed files with 6 additions and 6 deletions
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
programs.fastfetch = {
|
programs.fastfetch = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = with builtins; {
|
||||||
logo = {
|
logo = {
|
||||||
source = "xenia";
|
source = "xenia";
|
||||||
color = {
|
color = {
|
||||||
|
@ -15,14 +15,14 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
display = {
|
display = {
|
||||||
separator = builtins.fromJSON ''" \u001b[33m "'';
|
separator = fromJSON ''" \u001b[33m "'';
|
||||||
color = "red";
|
color = "red";
|
||||||
};
|
};
|
||||||
|
|
||||||
modules = [
|
modules = [
|
||||||
{
|
{
|
||||||
type = "custom";
|
type = "custom";
|
||||||
format = builtins.fromJSON ''"\u001b[1m—————————————————————————————————————"'';
|
format = fromJSON ''"\u001b[1m—————————————————————————————————————"'';
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
type = "host";
|
type = "host";
|
||||||
|
@ -54,7 +54,7 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
type = "custom";
|
type = "custom";
|
||||||
format = builtins.fromJSON ''"\u001b[1m—————————————————————————————————————"'';
|
format = fromJSON ''"\u001b[1m—————————————————————————————————————"'';
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
type = "os";
|
type = "os";
|
||||||
|
@ -94,11 +94,11 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
type = "custom";
|
type = "custom";
|
||||||
format = builtins.fromJSON ''"\u001b[1m—————————————————————————————————————"'';
|
format = fromJSON ''"\u001b[1m—————————————————————————————————————"'';
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
type = "custom";
|
type = "custom";
|
||||||
format = builtins.fromJSON ''"\u001b[90m \u001b[31m \u001b[32m \u001b[33m \u001b[34m \u001b[35m \u001b[36m \u001b[37m"'';
|
format = fromJSON ''"\u001b[90m \u001b[31m \u001b[32m \u001b[33m \u001b[34m \u001b[35m \u001b[36m \u001b[37m"'';
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue