7c8a4893de
- restructure repo to chezmoi conventions (dot_ prefix, private_dot_ssh/) - add nvim config (was untracked) - encrypt restic pass.txt with age - remove stow artifacts (.stow-local-ignore, stow package dirs) - update bootstrap.sh to use chezmoi apply - remove runtime files from tracking (micro buffers, zed backup)
75 lines
1.8 KiB
JSON
75 lines
1.8 KiB
JSON
{
|
|
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/master/doc/json_schema.json",
|
|
"logo": {
|
|
"type": "small",
|
|
"position": "left",
|
|
"printRemaining": false,
|
|
"padding": {
|
|
"top": 2,
|
|
"right": 1
|
|
}
|
|
},
|
|
"display": {
|
|
"separator": " ",
|
|
"brightColor": false,
|
|
"color": {
|
|
"keys": "blue",
|
|
"title": "cyan",
|
|
"separator": "bright_black",
|
|
"output": "white"
|
|
},
|
|
"key": {
|
|
"width": 3,
|
|
"type": "icon"
|
|
},
|
|
"duration": {
|
|
"abbreviation": true
|
|
}
|
|
},
|
|
"modules": [
|
|
"title",
|
|
"separator",
|
|
{
|
|
"type": "os",
|
|
"key": "os",
|
|
"format": "{name}"
|
|
},
|
|
{
|
|
"type": "kernel",
|
|
"key": "kernel",
|
|
"format": "{release}"
|
|
},
|
|
{
|
|
"type": "uptime",
|
|
"key": "uptime"
|
|
},
|
|
{
|
|
"type": "command",
|
|
"key": "age",
|
|
"shell": "/bin/sh",
|
|
"param": "-c",
|
|
"text": "first=\"$(sed -n '1{s/^\\[\\([^]]*\\)\\].*/\\1/p;q}' /var/log/pacman.log)\"; if [ -n \"$first\" ]; then start=\"${first%%+*}\"; now=$(date +%s); then_ts=$(date -d \"$start\" +%s 2>/dev/null || true); if [ -n \"$then_ts\" ]; then days=$(( (now-then_ts)/86400 )); years=$(( days/365 )); rem=$(( days%365 )); if [ \"$years\" -gt 0 ]; then printf '%sy %sd\\n' \"$years\" \"$rem\"; else printf '%sd\\n' \"$days\"; fi; else echo n/a; fi; else echo n/a; fi"
|
|
},
|
|
{
|
|
"type": "shell",
|
|
"key": "shell",
|
|
"format": "{pretty-name}"
|
|
},
|
|
{
|
|
"type": "terminal",
|
|
"key": "term",
|
|
"format": "{pretty-name}"
|
|
},
|
|
{
|
|
"type": "memory",
|
|
"key": "ram",
|
|
"format": "{used}/{total} ({percentage})"
|
|
},
|
|
{
|
|
"type": "disk",
|
|
"key": "disk",
|
|
"format": "{size-used}/{size-total} ({size-percentage})"
|
|
}
|
|
]
|
|
}
|