GeekTool

From RaySoft

GeekTool is a macOS application that lets you customize your desktop with great flexibility. There are four modules available that you can use for different types of informations.[1]

Examples

Show current month in a line

~/dev/calendar.sh (Bash) or ~/dev/calendar.py (Python)

Output:

Week 9                 Week 10                Week 11                Week 12
Mo Tu We Th Fr Sa Su   Mo Tu We Th Fr Sa Su   Mo Tu We Th Fr Sa Su   Mo Tu We Th Fr Sa Su  ...
         1  2  3  4    5  6  7  8  9  10 11   12 13 14 15 16 17 18   19 20 21 22 23 24 25
Show the different times of some cities

~/dev/worldclock.sh

Output:

New York  05:23  -04:00
London    10:23  +01:00
Zurich    11:23  +02:00
Sydney    20:23  +11:00
Show current time
date '+%H:%M'
Show current day, date and week number
date '+%A, %e. %B %Y, KW:%V'
Show the ten processes using the most CPU
ps -c -r -ax -o 'command,pid,pcpu' | head -n 11
Show the ten processes using the most memory
ps -c -m -ax -o 'command,pid,pmem' | head -n 11
Show the hard disk usage
df -h | grep -Ee '^(/dev|Filesystem)'

References