Merge branch 'master' of github.com:dylanaraps/fetch
This commit is contained in:
commit
c44a5a53d0
|
@ -39,6 +39,7 @@ printinfo () {
|
|||
# info "Battery" battery
|
||||
# info "Local IP" localip
|
||||
# info "Public IP" publicip
|
||||
# info "Users" users
|
||||
# info "Birthday" birthday
|
||||
# info "Song" song
|
||||
|
||||
|
|
10
fetch
10
fetch
|
@ -60,6 +60,7 @@ printinfo () {
|
|||
# info "Song" song
|
||||
# info "Local IP" localip
|
||||
# info "Public IP" publicip
|
||||
# info "Users" users
|
||||
# info "Birthday" birthday
|
||||
|
||||
info linebreak
|
||||
|
@ -1456,6 +1457,15 @@ getpublicip () {
|
|||
|
||||
# }}}
|
||||
|
||||
# Logged In Users {{{
|
||||
|
||||
getusers () {
|
||||
users="$(who | awk '!seen[$1]++ {printf $1 ", "}')"
|
||||
users=${users%\,*}
|
||||
}
|
||||
|
||||
# }}}
|
||||
|
||||
# Birthday {{{
|
||||
|
||||
getbirthday () {
|
||||
|
|
Reference in New Issue