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 = {
|
||||
enable = true;
|
||||
settings = {
|
||||
settings = with builtins; {
|
||||
logo = {
|
||||
source = "xenia";
|
||||
color = {
|
||||
|
@ -15,14 +15,14 @@
|
|||
};
|
||||
|
||||
display = {
|
||||
separator = builtins.fromJSON ''" \u001b[33m "'';
|
||||
separator = fromJSON ''" \u001b[33m "'';
|
||||
color = "red";
|
||||
};
|
||||
|
||||
modules = [
|
||||
{
|
||||
type = "custom";
|
||||
format = builtins.fromJSON ''"\u001b[1m—————————————————————————————————————"'';
|
||||
format = fromJSON ''"\u001b[1m—————————————————————————————————————"'';
|
||||
}
|
||||
{
|
||||
type = "host";
|
||||
|
@ -54,7 +54,7 @@
|
|||
|
||||
{
|
||||
type = "custom";
|
||||
format = builtins.fromJSON ''"\u001b[1m—————————————————————————————————————"'';
|
||||
format = fromJSON ''"\u001b[1m—————————————————————————————————————"'';
|
||||
}
|
||||
{
|
||||
type = "os";
|
||||
|
@ -94,11 +94,11 @@
|
|||
|
||||
{
|
||||
type = "custom";
|
||||
format = builtins.fromJSON ''"\u001b[1m—————————————————————————————————————"'';
|
||||
format = fromJSON ''"\u001b[1m—————————————————————————————————————"'';
|
||||
}
|
||||
{
|
||||
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