Add fastfetch config.
This commit is contained in:
parent
dbda6c03d9
commit
5672a4edcc
4 changed files with 34 additions and 0 deletions
3
stowers/fastfetch/config.sh
Normal file
3
stowers/fastfetch/config.sh
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
COMMAND_DEPS=("fastfetch")
|
||||||
25
stowers/fastfetch/dot-config/fastfetch.json
Normal file
25
stowers/fastfetch/dot-config/fastfetch.json
Normal file
|
|
@ -0,0 +1,25 @@
|
||||||
|
{
|
||||||
|
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
|
||||||
|
"logo": {
|
||||||
|
"source": "opensuse",
|
||||||
|
"type": "small"
|
||||||
|
},
|
||||||
|
"modules": [
|
||||||
|
"title",
|
||||||
|
"separator",
|
||||||
|
"host",
|
||||||
|
"uptime",
|
||||||
|
"shell",
|
||||||
|
"break",
|
||||||
|
"cpu",
|
||||||
|
"gpu",
|
||||||
|
"memory",
|
||||||
|
"disk",
|
||||||
|
"break",
|
||||||
|
"localip",
|
||||||
|
{
|
||||||
|
"type": "publicip",
|
||||||
|
"url": "http://ip.eyedevelop.org"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
if status --is-interactive
|
||||||
|
fastfetch -c ~/.config/fastfetch.json
|
||||||
|
end
|
||||||
3
stowers/fastfetch/dot-zshrc.d/99-fastfetch.sh
Normal file
3
stowers/fastfetch/dot-zshrc.d/99-fastfetch.sh
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
[[ -n "$PS1" ]] && fastfetch -c ~/.config/fastfetch.json
|
||||||
Loading…
Add table
Reference in a new issue