dotfiles/scripts/uwufetch

18 lines
337 B
Text
Raw Normal View History

2024-11-30 21:52:04 +01:00
#!/bin/sh
distro=$(. /etc/os-release; echo $NAME)
kernel=$(uname -r)
uptime=$(uptime -p | sed 's/up//')
pkgsPacman=$(pacman -Qs | wc -l)
pkgsAur=$(yay -Qm | wc -l)
cat <<END
---
__/ \___ os: $distro
( > __ < ) kernel: $kernel
( ) uptime: $uptime
( ) pkgs: Pacman $pkgsPacman | Aur $pkgsAur
(__________)
END