Skip to content

Commit

Permalink
added unix time plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Mat Ryer committed Dec 6, 2013
1 parent 3063e64 commit c3db358
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Plugins/System/unixtime.5s.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

# unixtime
# BitBar plugin
#
# by Mat Ryer
#
# Shows the current unix time.

date -j -f "%a %b %d %T %Z %Y" "`date`" "+%s"

0 comments on commit c3db358

Please sign in to comment.