diff --git a/fastfetch/.config/fastfetch/config.jsonc b/fastfetch/.config/fastfetch/config.jsonc new file mode 100644 index 0000000..6519e17 --- /dev/null +++ b/fastfetch/.config/fastfetch/config.jsonc @@ -0,0 +1,135 @@ +{ + "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/master/doc/json_schema.json", + "logo": { + "type": "auto", + "source": "~/.config/fastfetch/logo.png", + "height": 19, + "padding": { + "top": 2, + "left": 2, + "right": 4 + } + }, + "modules": [ + { + "type": "custom", + "format": "\u001b[38;2;192;202;245m┌──────────────────────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;192;202;245m└────────────────────────────────────────────────────┘" + }, + { + "type": "custom", + "format": "\u001b[38;2;192;202;245m┌──────────────────────SOFTWARE──────────────────────┐" + }, + { + "type": "os", + "key": " OS", + "keyColor": "blue", + "text": "{name}" + }, + { + "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": "echo -e \"\\e[38m●\\e[37m●\\e[36m●\\e[35m●\\e[34m●\\e[33m●\\e[32m●\\e[31m●\"" + }, + { + "type": "custom", + "format": "\u001b[38;2;192;202;245m└────────────────────────────────────────────────────┘" + }, + { + "type": "custom", + "format": "\u001b[38;2;192;202;245m┌────────────────────────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;192;202;245m└────────────────────────────────────────────────────┘" + }, + "break" + ] +} diff --git a/fastfetch/.config/fastfetch/logo.png b/fastfetch/.config/fastfetch/logo.png new file mode 100644 index 0000000..2ef3972 Binary files /dev/null and b/fastfetch/.config/fastfetch/logo.png differ diff --git a/fish/.config/fish/functions/fish_greeting.fish b/fish/.config/fish/functions/fish_greeting.fish index b17c915..ddbcec3 100644 --- a/fish/.config/fish/functions/fish_greeting.fish +++ b/fish/.config/fish/functions/fish_greeting.fish @@ -1,10 +1,11 @@ function fish_greeting + if test $USER = 'root'; return; end if test $TERM = 'xterm-kitty' - fastfetch --logo-type kitty -l ~/.config/fastfetch/logo.png + fastfetch if test $HYPRLAND_INSTANCE_SIGNATURE; echo -e "\e[34m \e[39m""$(hyprctl splash)"; end else if test $TERM = 'linux' fastfetch -c none else - fastfetch + fastfetch -l small end end