Update to using fastfetch as is just better

This commit is contained in:
Tyler Kelley 2024-06-17 15:35:44 -05:00
parent 0cd6ce6e4d
commit 439edee52b
5 changed files with 117 additions and 36 deletions

View File

@ -1,11 +0,0 @@
${c1} .--.
.-./ ___\ ||
`-'\|. .| ||
__\=/__ .-.
.' \:/ `. /\/|
/ /( : )\ V /||
\_\( : ) `-' ||
(_(__:__) __||___
\ | / / /
|__|__| ( (
(___V___) \______\\

View File

@ -0,0 +1,111 @@
{
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
"logo": {
"source": "~/.config/fastfetch/nixos.png",
"type": "auto",
"height": 15,
"width": 30,
"padding": {
"top": 5,
"left": 3
}
},
"modules": [
"break",
{
"type": "custom",
"format": "\u001b[90m┌──────────────────────Hardware──────────────────────┐"
},
{
"type": "host",
"key": " PC",
"keyColor": "34"
},
{
"type": "cpu",
"key": "│ ├",
"keyColor": "34"
},
{
"type": "gpu",
"key": "│ ├󰍛",
"keyColor": "34"
},
{
"type": "memory",
"key": "└ └󰑭",
"keyColor": "34"
},
{
"type": "custom",
"format": "\u001b[90m└────────────────────────────────────────────────────┘"
},
"break",
{
"type": "custom",
"format": "\u001b[90m┌──────────────────────Software──────────────────────┐"
},
{
"type": "os",
"key": " OS",
"format": "ZaneyOS 2.2"
"keyColor": "31"
},
{
"type": "kernel",
"key": "│ ├",
"keyColor": "31"
},
{
"type": "packages",
"key": "│ ├󰏖",
"keyColor": "31"
},
{
"type": "shell",
"key": "└ └",
"keyColor": "31"
},
"break",
{
"type": "wm",
"key": " WM",
"keyColor": "32"
},
{
"type": "wmtheme",
"key": "│ ├󰉼",
"keyColor": "32"
},
{
"type": "terminal",
"key": "└ └",
"keyColor": "32"
},
{
"type": "custom",
"format": "\u001b[90m└────────────────────────────────────────────────────┘"
},
"break",
{
"type": "custom",
"format": "\u001b[90m┌────────────────────Uptime / Age────────────────────┐"
},
{
"type": "command",
"key": " OS Age ",
"keyColor": "33",
"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": "33"
},
{
"type": "custom",
"format": "\u001b[90m└────────────────────────────────────────────────────┘"
},
"break"
]
}

BIN
config/fastfetch/nixos.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

View File

@ -240,7 +240,7 @@
git git
cmatrix cmatrix
lolcat lolcat
neofetch fastfetch
htop htop
libvirt libvirt
lxqt.lxqt-policykit lxqt.lxqt-policykit

View File

@ -31,34 +31,16 @@ in
source = ../../config/wallpapers; source = ../../config/wallpapers;
recursive = true; recursive = true;
}; };
home.file.".config/fastfetch" = {
source = ../../config/fastfetch;
recursive = true;
};
home.file.".config/wlogout/icons" = { home.file.".config/wlogout/icons" = {
source = ../../config/wlogout; source = ../../config/wlogout;
recursive = true; recursive = true;
}; };
home.file.".config/ascii-neofetch".source = ../../config/ascii-neofetch;
home.file.".face.icon".source = ../../config/face.jpg; home.file.".face.icon".source = ../../config/face.jpg;
home.file.".config/face.jpg".source = ../../config/face.jpg; home.file.".config/face.jpg".source = ../../config/face.jpg;
home.file.".config/neofetch/config.conf".text = ''
print_info() {
prin "$(color 6) ZaneyOS $ZANEYOS_VERSION"
info underline
info "$(color 7) VER" kernel
info "$(color 2) UP " uptime
info "$(color 4) PKG" packages
info "$(color 6) DE " de
info "$(color 5) TER" term
info "$(color 3) CPU" cpu
info "$(color 7) GPU" gpu
info "$(color 5) MEM" memory
prin " "
prin "$(color 1) $(color 2) $(color 3) $(color 4) $(color 5) $(color 6) $(color 7) $(color 8)"
}
distro_shorthand="on"
memory_unit="gib"
cpu_temp="C"
separator=" $(color 4)>"
stdout="off"
'';
home.file.".config/swappy/config".text = '' home.file.".config/swappy/config".text = ''
[Default] [Default]
save_dir=/home/${username}/Pictures/Screenshots save_dir=/home/${username}/Pictures/Screenshots
@ -189,7 +171,7 @@ in
#fi #fi
''; '';
initExtra = '' initExtra = ''
neofetch fastfetch
if [ -f $HOME/.bashrc-personal ]; then if [ -f $HOME/.bashrc-personal ]; then
source $HOME/.bashrc-personal source $HOME/.bashrc-personal
fi fi
@ -206,7 +188,6 @@ in
la = "lsd -a"; la = "lsd -a";
lal = "lsd -al"; lal = "lsd -al";
".." = "cd .."; ".." = "cd ..";
neofetch = "neofetch --ascii ~/.config/ascii-neofetch";
}; };
}; };
home-manager.enable = true; home-manager.enable = true;