mirror of
https://gitlab.com/jschx/ufetch.git
synced 2026-11-14 18:56:34 +00: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 parent
1cd6e36b4a
commit
11f0399f59
1 file changed
+4
-4
@@ -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