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, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
home.file.".zsh/fastfetch.jsonc".source =
|
||||||
|
./fastfetch/config.jsonc;
|
||||||
|
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
oh-my-zsh = {
|
oh-my-zsh = {
|
||||||
@@ -16,7 +19,7 @@
|
|||||||
|
|
||||||
# Run fastfetch
|
# Run fastfetch
|
||||||
if command -v fastfetch >/dev/null 2>&1; then
|
if command -v fastfetch >/dev/null 2>&1; then
|
||||||
fastfetch --logo none
|
fastfetch --logo none --config ~/.zsh/fastfetch.jsonc
|
||||||
fi
|
fi
|
||||||
|
|
||||||
'';
|
'';
|
||||||
|
|||||||
Reference in New Issue
Block a user