diff --git a/.config/fastfetch/config.jsonc b/.config/fastfetch/config.jsonc new file mode 100644 index 0000000..36a7857 --- /dev/null +++ b/.config/fastfetch/config.jsonc @@ -0,0 +1,144 @@ +{ + "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/master/doc/json_schema.json", + "logo": { + "type": "auto", + "source": "\"$(~/.config/fastfetch/term-test.sh)\"", + "height": 18, + "padding": { + "top": 4, + "left": 2, + "right": 4 + } + }, + "modules": [ + "break", + { + "type": "custom", + "format": "\u001b[38;2;220;220;220m┌──────────────────────HARDWARE──────────────────────┐" + }, + { + "type": "host", + "key": " PC", + "keyColor": "green" + }, + { + "type": "battery", + "key": "│ ├󱊣", + "keyColor": "green" + }, + { + "type": "cpu", + "key": "│ ├", + "showPeCoreCount": true, + "keyColor": "green" + }, + { + "type": "gpu", + "key": "│ ├", + "detectionMethod": "pci", + "keyColor": "green" + }, + { + "type": "display", + "key": "│ ├󱄄", + "keyColor": "green" + }, + { + "type": "disk", + "key": "│ ├󰋊", + "keyColor": "green" + }, + { + "type": "memory", + "key": "│ ├", + "keyColor": "green" + }, + { + "type": "swap", + "key": "└ └󰓡 ", + "keyColor": "green" + }, + { + "type": "custom", + "format": "\u001b[38;2;220;220;220m└────────────────────────────────────────────────────┘" + }, + "break", + { + "type": "custom", + "format": "\u001b[38;2;220;220;220m┌──────────────────────SOFTWARE──────────────────────┐" + }, + { + "type": "os", + "key": "\ue900 OS", + "keyColor": "blue", + "text": "{name}" + }, + { + "type": "command", + "key": "│ ├󰘬", + "keyColor": "blue", + "text": "branch=$(omarchy-version-branch); echo \"$branch\"" + }, + { + "type": "kernel", + "key": "│ ├", + "keyColor": "blue" + }, + { + "type": "wm", + "key": "│ ├", + "keyColor": "blue" + }, + { + "type": "de", + "key": " DE", + "keyColor": "blue" + }, + { + "type": "terminal", + "key": "│ ├", + "keyColor": "blue" + }, + { + "type": "packages", + "key": "│ ├󰏖", + "keyColor": "blue" + }, + { + "type": "wmtheme", + "key": "│ ├󰉼", + "keyColor": "blue" + }, + { + "type": "command", + "key": "└ └󰸌", + "keyColor": "blue", + "text": "theme=$(omarchy-theme-current); echo -e \"$theme \\e[38m●\\e[37m●\\e[36m●\\e[35m●\\e[34m●\\e[33m●\\e[32m●\\e[31m●\"" + }, + { + "type": "custom", + "format": "\u001b[38;2;220;220;220m└────────────────────────────────────────────────────┘" + }, + "break", + { + "type": "custom", + "format": "\u001b[38;2;220;220;220m┌────────────────────────TIME────────────────────────┐" + }, + { + "type": "command", + "key": "󱦟 OS Age", + "keyColor": "magenta", + "text": "birth_install=$(stat -c %W /); current=$(date +%s); time_progression=$((current - birth_install)); days_difference=$((time_progression / 86400)); echo $days_difference days" + }, + { + "type": "uptime", + "key": "󱫐 Uptime", + "keyColor": "magenta" + }, + { + "type": "custom", + "format": "\u001b[38;2;220;220;220m└────────────────────────────────────────────────────┘" + }, + "break" + ] +} diff --git a/.config/fastfetch/logo.png b/.config/fastfetch/logo.png new file mode 100644 index 0000000..9be73a1 Binary files /dev/null and b/.config/fastfetch/logo.png differ diff --git a/.config/fastfetch/term-test.sh b/.config/fastfetch/term-test.sh new file mode 100755 index 0000000..66b8790 --- /dev/null +++ b/.config/fastfetch/term-test.sh @@ -0,0 +1,2 @@ +#!/bin/bash +if [[ -n $DISPLAY ]]; then echo $HOME/logo_red.png; fi