• Stars
    star
    168
  • Rank 224,172 (Top 5 %)
  • Language
    Swift
  • License
    MIT License
  • Created almost 9 years ago
  • Updated 10 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Menubar countdown timer for macOS

Menubar Countdown

Menubar Countdown is a simple countdown timer displayed in the macOS menu bar. It can be used as a pomodoro timer, to remind yourself to get back to work after a break, or whenever you want to quickly set a time limit on some activity.

Screenshot

To set the timer, click the menu bar icon and select the Start... menu item. A dialog will appear allowing you to specify the countdown time in hours, minutes, and seconds. The dialog also allows you to specify which of the following forms of notification you want when the timer gets down to 00:00:00:

  • Blink the icon in the menu bar.
  • Play the system alert sound.
  • Display an alert window.
  • Display a notification in Notification Center.
  • Make a spoken announcement. You can specify the text to be spoken.

The countdown timer can be controlled using AppleScript, JavaScript, or Swift. See the examples in the Scripts directory for details.

Releases are available from:

Download on the Mac App Store

The current 2.1 version of Menubar Countdown requires macOS Mojave 10.14.4 or newer. It is compatible with macOS Catalina 10.15.

For macOS versions 10.6 through 10.14.3, use version 1.3.

For macOS 10.5, use version 1.2, available from http://s3.amazonaws.com/capablehands/downloads/MenubarCountdown-1.2.zip

To build in XCode

  • Product > Clean Build Folder
  • Change "Team" under "Signing & Capabilities"

License

Copyright 2009,2015,2019,2020 Kristopher Johnson

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Release Notes

v2.2 (in progress)

  • Support Command+drag icon from menu bar to terminate
  • Add tolerance to once-per-second timer to improve energy usage

v2.1 (2019/11/10)

  • Add scriptable interface for AppleScript and OSA languages.
  • Add service-provider interface for control via the Services menu in other applications.
  • High-resolution menubar icon for Retina displays.

v2.0 (2019/10/28)

  • Updated for macOS 10.14.4 and newer.
  • Distributed through the Mac App Store.
  • Supports dark mode.
  • When timer is not active, menubar displays small hourglass icon rather than 00:00:00, to conserve menubar space.
  • Added option to repeat alert sound after timer expiration, until it is acknowledged.
  • Added option to blink 00:00:00 in the menu bar after timer expiration, until it is acknowledged.
  • Added option to show a notification alert in Notification Center.
  • Added Pause and Resume menu items.
  • Translated code to Swift.

v1.3 (2019/10/21)

  • Works on macOS 10.15 Catalina.
  • Minimum macOS version supported is now 10.6. (10.5 is no longer supported).
  • 32-bit processors are no longer supported.
  • Growl is no longer supported.

v1.2 (2009/06/22)

  • New application icon
  • Command-X, Command-C, Command-V, and Command-A now work in the text fields in the settings dialog
  • Command-R is now a shortcut key for the Restart Countdown... button in the alert window
  • Add option to hide seconds in menu bar
  • Show start-timer dialog when application launches
  • Add Growl notifications. The Announcement text specified in the Start dialog will be displayed in the Growl notification window.

v1.1 (2009/04/20)

  • timer-expired alert window floats above other applications' windows
  • added application icon
  • added Doxygen comments to source code

v1.0 (2009/04/09)

  • initial release

More Repositories

1

Markingbird

Markdown processor written in Swift (translation of MarkdownSharp)
Swift
386
star
2

cxxforth

A simple public-domain Forth implementation in C++
C++
56
star
3

KJSimpleBinding

Simple data bindings for iOS
Objective-C
50
star
4

suwaneeforth

A Forth interpreter implemented in Swift, based upon JONESFORTH
Swift
39
star
5

tilessample

Core Animation example code that emulates the iPhone home screen re-organization UI.
Objective-C
33
star
6

gradientbuttons

Shiny iOS Buttons Without Photoshop
Objective-C
26
star
7

KJYield

"yield" for Swift, inspired by Python and F#
Swift
23
star
8

KJGridLayout

Grid-based view layout manager for iOS
Objective-C
18
star
9

bitsybasic

Tiny BASIC interpreter written in Swift
Swift
12
star
10

KJMachPortServer

Simple example of using NSMachPort for interprocess communication
Objective-C
12
star
11

KJTipCalculator

Simple iOS tip calculator app, written in Swift
Swift
11
star
12

wiringPi_gforth

Gforth interface to the wiringPi GPIO interface library for Raspberry Pi
Forth
11
star
13

advent

Original PDP-10 Fortran source code for Will Crowther's Colossal Cave Adventure game
Fortran
10
star
14

jonesforth

Mirror of git://git.annexia.org/git/jonesforth.git
Assembly
8
star
15

kjchess

Chess engine implemented in Swift
Swift
8
star
16

SublimeTaskPaper

Sublime Text 2 syntax support for TaskPaper-format files
7
star
17

tscp-rust

Port of Tom Kerrigan's Simple Chess Program (TSCP) to Rust
Rust
7
star
18

MonochromeSublimeText

Monochrome color schemes for Sublime Text
6
star
19

KJMessagePortTestServer

Simple example of using the CFMessagePort API from Swift
Swift
6
star
20

KJMenuTableViewController

Simplified creation of UITableViewController-based menus
Objective-C
6
star
21

PokerSwiftUI

Jacks-or-Better video poker game implemented using SwiftUI
Swift
5
star
22

kjsp

Kris Johnson's Sonic Pi Collection
Ruby
4
star
23

lunar-c

Port of classic text-based lunar lander game to C
C
3
star
24

StackMachine

Forth-inspired language interpreter, written in Swift
Swift
3
star
25

perspectivetest

Simple iPhone app demonstrating how to create a spinning picture with an underlying reflection.
Objective-C
3
star
26

lunar-fortran

Port of classic Lunar Lander game to Fortran
Fortran
3
star
27

KJTipCalculatorOSX

Sample app for experimenting with bindings and other Cocoa features
Swift
2
star
28

resume

Kristopher Johnson's ResumΓ©
HTML
2
star
29

MonochromeXcode

Monochrome color themes for Xcode
2
star
30

KJLunarLander

iOS Lunar Lander game, implemented with SpriteKit
Swift
2
star
31

Steady

SwiftUI metronome app for iOS and macOS
Swift
2
star
32

pforth-xcode

Fork of pForth (https://code.google.com/p/pforth/) with Xcode 6-compatible Makefile and project files
C
1
star
33

KDJSwiftStdIO

Swift wrappers for C stdio
Swift
1
star
34

alpine-gforth

Docker container with Gforth on an Alpine image
Makefile
1
star
35

alpine-pfe

Docker container with Portable Forth Environment (PFE) on an Alpine image
Makefile
1
star
36

swiftcat

Re-implementation of cat(1) in Swift
Swift
1
star
37

HideStackOverflowDeletedAnswers

Safari extension that hides all deleted answers on stackoverflow.com
CSS
1
star
38

kristopherjohnson.github.io

Personal GitHub Pages site for Kris Johnson
HTML
1
star
39

KDJEmptySplitViewApp

iOS app that just displays an empty split view, useful for screenshots for launch images, documentation, and/or design
Objective-C
1
star
40

trek73c

C/Curses version of Trek73
C
1
star
41

ASCIIRef

SwiftUI app that lists ASCII codes
Swift
1
star
42

DahlonegaWeatherSafariExtension

When visiting weather.gov, automatically pre-fill "city" field with Dahlonega's zip code (30533)
JavaScript
1
star
43

KJFacebookSafariExtension

Safari extension that customizes Facebook for me
JavaScript
1
star
44

music-python

Music experiments with Python
Jupyter Notebook
1
star
45

Breaths

Apple Watch mindfulness app
Swift
1
star
46

TWikiRawEditSafariExtension

Change behavior of TWiki "Edit" button such that it always does raw edit rather than WYSIWYG edit
JavaScript
1
star