Move more things to xdg paths
This commit is contained in:
parent
04560dfbc5
commit
c41543edcf
23 changed files with 491 additions and 566 deletions
|
@ -1,97 +0,0 @@
|
|||
{
|
||||
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
|
||||
"logo": {
|
||||
"source": "xenia",
|
||||
"color": {
|
||||
"1": "1;97",
|
||||
"2": "red",
|
||||
"3": "yellow"
|
||||
}
|
||||
},
|
||||
"display": {
|
||||
"separator": " \u001b[33m ",
|
||||
"color": "red"
|
||||
},
|
||||
"modules": [
|
||||
{
|
||||
"type": "custom",
|
||||
"format": "\u001b[1m—————————————————————————————————————"
|
||||
},
|
||||
{
|
||||
"type": "host",
|
||||
"key": " "
|
||||
},
|
||||
{
|
||||
"type": "cpu",
|
||||
"key": " "
|
||||
},
|
||||
{
|
||||
"type": "gpu",
|
||||
"key": " "
|
||||
},
|
||||
{
|
||||
"type": "disk",
|
||||
"folders": "/",
|
||||
"key": " "
|
||||
},
|
||||
{
|
||||
"type": "memory",
|
||||
"format": "{/1}{-}{/}{/2}{-}{/}{} / {}",
|
||||
"key": " "
|
||||
},
|
||||
{
|
||||
"type": "display",
|
||||
"compactType": "original",
|
||||
"key": " "
|
||||
},
|
||||
|
||||
{
|
||||
"type": "custom",
|
||||
"format": "\u001b[1m—————————————————————————————————————"
|
||||
},
|
||||
{
|
||||
"type": "os",
|
||||
"format": "{3} {12}",
|
||||
"key": " "
|
||||
},
|
||||
{
|
||||
"type": "kernel",
|
||||
"format": "{1} {2}",
|
||||
"key": " "
|
||||
},
|
||||
{
|
||||
"type": "wm",
|
||||
"key": " "
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"key": " "
|
||||
},
|
||||
{
|
||||
"type": "terminal",
|
||||
"key": " "
|
||||
},
|
||||
{
|
||||
"type": "packages",
|
||||
"key": " "
|
||||
},
|
||||
{
|
||||
"type": "uptime",
|
||||
"key": " "
|
||||
},
|
||||
{
|
||||
"type": "command",
|
||||
"text": "date -d @$(stat -c %W /persist) '+%a %b %d %r %Y'",
|
||||
"key": " "
|
||||
},
|
||||
|
||||
{
|
||||
"type": "custom",
|
||||
"format": "\u001b[1m—————————————————————————————————————"
|
||||
},
|
||||
{
|
||||
"type": "custom",
|
||||
"format": "\u001b[90m \u001b[31m \u001b[32m \u001b[33m \u001b[34m \u001b[35m \u001b[36m \u001b[37m"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,11 +1,108 @@
|
|||
{ pkgs, ... }:
|
||||
{ ... }:
|
||||
{
|
||||
programs.fastfetch.enable = true;
|
||||
imports = [ ./smallfetch ];
|
||||
|
||||
home = {
|
||||
shellAliases.ff = "clear && fastfetch";
|
||||
packages = with pkgs; [ (writeScriptBin "smallfetch" "fastfetch --config ~/.config/fastfetch/small.jsonc") ];
|
||||
programs.fastfetch = {
|
||||
enable = true;
|
||||
settings = {
|
||||
logo = {
|
||||
source = "xenia";
|
||||
color = {
|
||||
"1" = "1;97";
|
||||
"2" = "red";
|
||||
"3" = "yellow";
|
||||
};
|
||||
};
|
||||
|
||||
display = {
|
||||
separator = '' \u001b[33m '';
|
||||
color = "red";
|
||||
};
|
||||
|
||||
modules = [
|
||||
{
|
||||
type = "custom";
|
||||
format = ''\u001b[1m—————————————————————————————————————'';
|
||||
}
|
||||
{
|
||||
type = "host";
|
||||
key = " ";
|
||||
}
|
||||
{
|
||||
type = "cpu";
|
||||
key = " ";
|
||||
}
|
||||
{
|
||||
type = "gpu";
|
||||
key = " ";
|
||||
}
|
||||
{
|
||||
type = "disk";
|
||||
folders = "/";
|
||||
key = " ";
|
||||
}
|
||||
{
|
||||
type = "memory";
|
||||
format = "{/1};-}{/}{/2}{-}{/}{} / {}";
|
||||
key = " ";
|
||||
}
|
||||
{
|
||||
type = "display";
|
||||
compactType = "original";
|
||||
key = " ";
|
||||
}
|
||||
|
||||
{
|
||||
type = "custom";
|
||||
format = ''\u001b[1m—————————————————————————————————————'';
|
||||
}
|
||||
{
|
||||
type = "os";
|
||||
format = "{3} {12}";
|
||||
key = " ";
|
||||
}
|
||||
{
|
||||
type = "kernel";
|
||||
format = "{1} {2}";
|
||||
key = " ";
|
||||
}
|
||||
{
|
||||
type = "wm";
|
||||
key = " ";
|
||||
}
|
||||
{
|
||||
type = "shell";
|
||||
key = " ";
|
||||
}
|
||||
{
|
||||
type = "terminal";
|
||||
key = " ";
|
||||
}
|
||||
{
|
||||
type = "packages";
|
||||
key = " ";
|
||||
}
|
||||
{
|
||||
type = "uptime";
|
||||
key = " ";
|
||||
}
|
||||
{
|
||||
type = "command";
|
||||
text = "date -d @$(stat -c %W /persist) '+%a %b %d %r %Y'";
|
||||
key = " ";
|
||||
}
|
||||
|
||||
{
|
||||
type = "custom";
|
||||
format = ''\u001b[1m—————————————————————————————————————'';
|
||||
}
|
||||
{
|
||||
type = "custom";
|
||||
format = ''\u001b[90m \u001b[31m \u001b[32m \u001b[33m \u001b[34m \u001b[35m \u001b[36m \u001b[37m'';
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
xdg.configFile."fastfetch".source = ./configs;
|
||||
home.shellAliases.ff = "clear && fastfetch";
|
||||
}
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
(writeScriptBin "smallfetch" ''
|
||||
#!/bin/sh
|
||||
fastfetch --config ${builtins.toString ./config.jsonc}
|
||||
'')
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue