An open API service indexing awesome lists of open source software.

https://github.com/tmc/clocks

clocks is a small utility to render additional time zones in your MacOS status bar.
https://github.com/tmc/clocks

go macos timezones

Last synced: about 1 year ago
JSON representation

clocks is a small utility to render additional time zones in your MacOS status bar.

Awesome Lists containing this project

README

          

# clocks

[![Project status](https://img.shields.io/github/release/tmc/clocks.svg?style=flat-square)](https://github.com/tmc/clocks/releases/latest)
[![Build Status](https://github.com/tmc/clocks/workflows/Test/badge.svg)](https://github.com/tmc/clocks/actions?query=workflow%3ATest)
[![Go Report Card](https://goreportcard.com/badge/tmc/clocks?cache=0)](https://goreportcard.com/report/tmc/clocks)
[![go.dev reference](https://img.shields.io/badge/go.dev-reference-007d9c?logo=go&logoColor=white&style=flat-square)](https://pkg.go.dev/github.com/tmc/clocks)

Command clocks places additional time zones into your Mac status bar.

## Installation

clocks is a [Go](https://golang.org/) program for MacOS systems.

Presming you have a working Go insallation, you can install `clocks` via:

```console
go install github.com/tmc/clocks@latest
```

Note: You should have `$HOME/go/bin` on your shell's `PATH` so that `go install`ed binaries are directly executable.

## Usage

```console
$ clocks -h
Usage of clocks:
-fmt string
time format string (golang time pkg) (default "Mon Jan 2 15:04 MST")
-tzs string
time zones (default "UTC,America/Los_Angeles")
```

## Example Output

This is example output from running `clocks`:

![example output](./docs/example-statusbar-image.png)