17 lines
337 B
Bash
Executable file
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
|