fastfetch config for zsh init
This commit is contained in:
12
programs/fastfetch/config.jsonc
Normal file
12
programs/fastfetch/config.jsonc
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/master/doc/json_schema.json",
|
||||
"modules": [
|
||||
"os",
|
||||
"uptime",
|
||||
"cpu",
|
||||
"gpu",
|
||||
"memory",
|
||||
"swap",
|
||||
"disk",
|
||||
]
|
||||
}
|
||||
@@ -1,6 +1,9 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
home.file.".zsh/fastfetch.jsonc".source =
|
||||
./fastfetch/config.jsonc;
|
||||
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
oh-my-zsh = {
|
||||
@@ -16,7 +19,7 @@
|
||||
|
||||
# Run fastfetch
|
||||
if command -v fastfetch >/dev/null 2>&1; then
|
||||
fastfetch --logo none
|
||||
fastfetch --logo none --config ~/.zsh/fastfetch.jsonc
|
||||
fi
|
||||
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user