geektool roundup

Get Geektool here.
Day of week
date +%A
Month
date +%B
Date
date +%d
Time
date +"%I:%M"
AM/PM
date +"%p"
RAM
top -l 1 | awk '/PhysMem/ {print "used: " $8 " free: " $10}'
Uptime
uptime | awk '{sub(":", "h ", $3); sub(",", "min", $3); print "uptime: " $3}'
Today in History
grep -h "^$(date '+%m/%d')" /usr/share/calendar/calendar.{holiday,history,computer}|cut -f2

0 Responses to “geektool roundup”


  • No Comments

Leave a Reply

You must login to post a comment.