dotfiles/scripts/uwufetch
2024-11-30 21:52:04 +01:00

17 lines
337 B
Bash
Executable file

#!/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