Skip to content

Commit

Permalink
fastfetch: nice to use this as a lookup so make a private one
Browse files Browse the repository at this point in the history
Signed-off-by: clux <[email protected]>
  • Loading branch information
clux committed Jul 15, 2024
1 parent d3658e6 commit 57e4ff1
Show file tree
Hide file tree
Showing 3 changed files with 79 additions and 28 deletions.
1 change: 1 addition & 0 deletions .aliases
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,4 @@ alias jcc="jira-clean" # delete ~/.jira_story
# quick sys overview via fastfetch
alias neosys="fastfetch -c ~/.config/fastfetch/sys.jsonc"
alias neohw="fastfetch -c ~/.config/fastfetch/hw.jsonc"
alias neopriv="fastfetch -c ~/.config/fastfetch/priv.jsonc"
50 changes: 50 additions & 0 deletions config/fastfetch/priv.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
"logo": {
"type": "none",
},
"display": {
"separator": " "
},
"modules": [
//"format": "1:{1}, 2:{2}, 3:{3}, 4:{4}, 5:{5}, 6:{6}, 7:{7}, 8:{8}, 9:{9}, 10:{10}, 11:{11}, 12:{12}, 13:{13}, 14:{14}, 15:{15}, 16:{16}",
{
"type": "title",
"key": "",
// MacOS bug: host name is first digit of IP
"format": "{user-name-colored}@{host-name-colored}",
"keyColor": "blue"
},
{
"type": "uptime",
"key": "󰅐",
"keyColor": "blue"
},
{
"type": "host",
"key": "󰌢",
"keyColor": "blue"
},
{
"type": "bios",
"format": "{version} @ {release} (Bios)",
"key": "",
"keyColor": "blue"
},
{
"type": "vulkan",
"key": "",
"keyColor": "blue"
},
{
"type": "localip",
"key": "󰩟",
"keyColor": "blue"
},
{
"type": "publicip",
"key": "󰩠",
"keyColor": "blue"
},
]
}
56 changes: 28 additions & 28 deletions config/fastfetch/sys.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -12,26 +12,19 @@
},
"modules": [
//"format": "1:{1}, 2:{2}, 3:{3}, 4:{4}, 5:{5}, 6:{6}, 7:{7}, 8:{8}, 9:{9}, 10:{10}, 11:{11}, 12:{12}, 13:{13}, 14:{14}, 15:{15}, 16:{16}",
{
"type": "title",
"key": "",
// MacOS bug: host name is first digit of IP
"format": "{user-name-colored}@{host-name-colored}",
"keyColor": "blue"
},
//{
// "type": "title",
// "key": "",
// // MacOS bug: host name is first digit of IP
// "format": "{user-name-colored}@{host-name-colored}",
// "keyColor": "blue"
//},
{
"type": "os",
"key": "",
// name="Arch Linux", arch="x86_64", codename="", id="arch"
// name="Darwin", arch="arm64", codeame="Sonoma", id="macos", sysname="Darwin"
"format": "{name} {arch} {codename}",
"keyColor": "blue"
},
{
"type": "kernel",
"key": "",
// Darwin 23.4.0 with sysname release
"format": "{sysname} {release}",
// name="Arch Linux", arch="x86_64", codename="", sysname="Linux", version="" -> Pick name
// name="macOS", arch="arm64", codeame="Sonoma", sysname="Darwin", version="14.4.1" -> Pick sysname + codename
"format": "{?codename}{sysname} {codename}{?}{/codename}{name}{/} {arch}",
"keyColor": "blue"
},
{
Expand All @@ -50,24 +43,31 @@
"keyColor": "blue"
},
{
"type": "terminalfont",
"type": "kernel",
"key": "",
"format": "{sysname} {release}", // Darwin 23.4.0 / Linux 6.9.9-arch
"keyColor": "blue"
},
{
"type": "initsystem",
"key": "",
"keyColor": "blue"
},
//{
// "type": "lm",
// "key": "󰧨",
// "keyColor": "blue"
//},
//{
// "type": "de",
// "key": "",
// "keyColor": "blue"
//},
{
"type": "lm",
"key": "󰧨",
"keyColor": "blue"
},
{
"type": "wm",
"key": "",
"keyColor": "blue"
},
// {
// "type": "bios",
// "format": "{version} @ {release} (Bios)",
// "key": "",
// "keyColor": "blue"
// },
]
}

0 comments on commit 57e4ff1

Please sign in to comment.