-
Notifications
You must be signed in to change notification settings - Fork 183
Home
Christopher Corbettis edited this page Aug 26, 2018
·
27 revisions
Here you will find a collection of example scripts which you might find useful when run from Today Scripts.
-
Top five processes by memory usage -
/bin/bash
-
Top five processes by CPU usage -
/bin/bash
-
Temperature readings -
/bin/bash
Requires Temperature Monitor 4.98
For Celsius, remove the -f
flag in the first line.
-
Storage volume usage -
/bin/bash
-
Battery Status -
/bin/bash
-
CPU/Fan/Battery Information via iStats -
/bin/bash
-
Current uptime -
/usr/bin/uptime
-
Displaying Archey -
/bin/bash
-
Repo status -
/bin/bash
-
Repo status with branch info -
/bin/bash
-
Last commit -
/bin/bash
-
Status for repo currently open in Finder -
/bin/bash
-
Test if a server is online -
/bin/bash
-
Current clipboard contents -
/usr/bin/pbpaste
-
Quote Of The Day -
/bin/bash
-
Last 5 items from RSS feed -
/bin/bash
-
Weather via
nino
-bin/bash
-
Spotify Status -
/usr/bin/osascript
-
ADB Connect over LAN -
/bin/bash
-
Calendar for current month -
/bin/bash
-
Weather Info -
/bin/bash
andruby
-
Stock Info -
/bin/bash
andruby
-
Twitter Notifications -
/bin/bash
-
Notepad from file -
/bin/bash
-
Notepad without file -
/bin/bash
-
Get Public IP -
/bin/bash
You can use more than just Bash to pipe data into Today Scripts. The following examples demonstrate how you can display output from Node.js (JavaScript) in Today Scripts.
"I can picture in my mind a world without war, a world without hate. And I can picture us attacking that world, because they'd never expect it."