mirror of
https://gitlab.com/jschx/ufetch.git
synced 2026-09-30 13:32:32 +07:00
Fixes for Guix.
* ufetch-guixsd: Rename this file... * ufetch-guix: ... to this. (os): Update to upstream-preferred "Guix System". (uptime): Fix for 'uptime' implementation present in Guix. (packages): Fix calling syntax.
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# ufetch-guixsd - tiny system info for guixsd
|
||||
# ufetch-guix - tiny system info for guixsd
|
||||
|
||||
## INFO
|
||||
|
||||
# user is already defined
|
||||
host="$(hostname)"
|
||||
os='GuixSD'
|
||||
os='Guix System'
|
||||
kernel="$(uname -sr)"
|
||||
uptime="$(uptime -p | sed 's/up //')"
|
||||
packages="$(guix --list-installed | wc -l)"
|
||||
uptime="$(uptime | sed 's/.*up \([^,]*\).*/\1/')"
|
||||
packages="$(guix package --list-installed | wc -l)"
|
||||
shell="$(basename "$SHELL")"
|
||||
|
||||
## UI DETECTION
|
||||
Reference in New Issue
Block a user