mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-24 12:32:32 +00:00
Add birthday support to iOS
This commit is contained in:
4
neofetch
4
neofetch
@@ -1779,8 +1779,8 @@ getusers () {
|
||||
|
||||
getbirthday () {
|
||||
case "$os" in
|
||||
"Linux")
|
||||
birthday="$(ls -alct --full-time / | awk '/lost\+found/ {printf $6 " " $7}')"
|
||||
"linux" | "iPhone OS")
|
||||
birthday="$(ls -alct --full-time / | awk '/lost\+found|private/ {printf $6 " " $7}')"
|
||||
date_cmd="$(date -d"$birthday" "$birthday_format")"
|
||||
;;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user