docs: update
This commit is contained in:
parent
b6692aa523
commit
e9dbdb5d15
|
@ -35,6 +35,8 @@ _/\ __)/_) pkgs 130
|
||||||
# NOTE: If 'ascii' will be used, it must come first.
|
# NOTE: If 'ascii' will be used, it must come first.
|
||||||
# Default: first example below
|
# Default: first example below
|
||||||
# Valid: space separated string
|
# Valid: space separated string
|
||||||
|
#
|
||||||
|
# OFF by default: shell
|
||||||
PF_INFO="ascii title distro host kernel uptime pkgs memory"
|
PF_INFO="ascii title distro host kernel uptime pkgs memory"
|
||||||
|
|
||||||
# Example: Only ASCII.
|
# Example: Only ASCII.
|
||||||
|
|
5
pfetch
5
pfetch
|
@ -150,6 +150,10 @@ get_kernel() {
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
get_shell() {
|
||||||
|
log shell "${SHELL##*/}"
|
||||||
|
}
|
||||||
|
|
||||||
get_host() {
|
get_host() {
|
||||||
case $os in
|
case $os in
|
||||||
Linux*)
|
Linux*)
|
||||||
|
@ -262,6 +266,7 @@ get_pkgs() {
|
||||||
# Commands which print packages one per line.
|
# Commands which print packages one per line.
|
||||||
has pkginfo && pkginfo -i
|
has pkginfo && pkginfo -i
|
||||||
has pkg && pkg list
|
has pkg && pkg list
|
||||||
|
has pkg_info && pkg_info
|
||||||
;;
|
;;
|
||||||
esac | wc -l
|
esac | wc -l
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user