feat(cli): use fastfetch
This commit is contained in:
@@ -53,6 +53,7 @@ lib.my.makeSwitch {
|
|||||||
lsd
|
lsd
|
||||||
fd
|
fd
|
||||||
neofetch
|
neofetch
|
||||||
|
fastfetch
|
||||||
fzf
|
fzf
|
||||||
bat
|
bat
|
||||||
ripgrep
|
ripgrep
|
||||||
@@ -86,6 +87,115 @@ lib.my.makeSwitch {
|
|||||||
enable = true;
|
enable = true;
|
||||||
enableZshIntegration = true;
|
enableZshIntegration = true;
|
||||||
};
|
};
|
||||||
|
xdg.configFile."fastfetch/config.jsonc".text = ''
|
||||||
|
{
|
||||||
|
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
|
||||||
|
"display": {
|
||||||
|
"separator": " "
|
||||||
|
},
|
||||||
|
"modules": [
|
||||||
|
// Title
|
||||||
|
{
|
||||||
|
"type": "title",
|
||||||
|
"format": "{user-name-colored}{#}@{host-name-colored}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "custom",
|
||||||
|
"format": "---------------"
|
||||||
|
},
|
||||||
|
// System Information
|
||||||
|
{
|
||||||
|
"type": "custom",
|
||||||
|
"format": "{#}System Information"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "os",
|
||||||
|
"key": "{#keys} OS"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "kernel",
|
||||||
|
"key": "{#keys} Kernel"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "uptime",
|
||||||
|
"key": "{#keys} Uptime"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "packages",
|
||||||
|
"key": "{#keys} Packages",
|
||||||
|
"format": "{all}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "custom",
|
||||||
|
"format": ""
|
||||||
|
},
|
||||||
|
// Desktop Environment
|
||||||
|
{
|
||||||
|
"type": "custom",
|
||||||
|
"format": "{#}Desktop Environment"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "de",
|
||||||
|
"key": "{#keys} DE"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "wm",
|
||||||
|
"key": "{#keys} WM"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "wmtheme",
|
||||||
|
"key": "{#keys} Theme"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "display",
|
||||||
|
"key": "{#keys} Resolution"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "shell",
|
||||||
|
"key": "{#keys} Shell"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "terminalfont",
|
||||||
|
"key": "{#keys} Font"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "custom",
|
||||||
|
"format": ""
|
||||||
|
},
|
||||||
|
// Hardware Information
|
||||||
|
{
|
||||||
|
"type": "custom",
|
||||||
|
"format": "{#}Hardware Information"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "cpu",
|
||||||
|
"key": "{#keys} CPU"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "gpu",
|
||||||
|
"key": "{#keys} GPU"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "memory",
|
||||||
|
"key": "{#keys} Memory"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "disk",
|
||||||
|
"key": "{#keys} Disk (/)",
|
||||||
|
"folders": "/"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "custom",
|
||||||
|
"format": ""
|
||||||
|
},
|
||||||
|
// Colors
|
||||||
|
{
|
||||||
|
"type": "colors",
|
||||||
|
"symbol": "circle"
|
||||||
|
},
|
||||||
|
]
|
||||||
|
}
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ lib.my.makeSwitch {
|
|||||||
x = "extract";
|
x = "extract";
|
||||||
ls = "lsd";
|
ls = "lsd";
|
||||||
svim = "sudoedit";
|
svim = "sudoedit";
|
||||||
nf = "neofetch";
|
nf = "fastfetch";
|
||||||
tmux = "tmux -T RGB,focus,overline,mouse,clipboard,usstyle";
|
tmux = "tmux -T RGB,focus,overline,mouse,clipboard,usstyle";
|
||||||
pastart = "pasuspender true";
|
pastart = "pasuspender true";
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user