A simple Timer app for Mac

Overview

A simple Timer app for Mac

Download here

Drag the blue arrow to set a timer. Release to start! Click to pause.

When the time is up, a notification will show up with a nice sound.

Create new timers with CMD+N.

Install as a brew cask via

brew install --cask michaelvillar-timer

Inspired by the great Minutes widget from Nitram-nunca I've been using for years. But it wasn't maintained anymore (non-retina) + it was the only widget in my dashboard :)

Timer requires macOS 10.11 or later.

Build

make

Keyboard Shortcuts

Enter digits to set minutes. A decimal point specifies seconds so 2.34 is 2 minutes and 34 seconds.

backspace or escape to edit. enter to start or pause the timer. cmd+n to create a new timer. r to restart with the last timer.

Comments
  • Fix countdown display skipping seconds

    Fix countdown display skipping seconds

    This is my attempt to fix the second-skipping display bug (see pull #91 and issue #90)

    Instead of changing the tick display based on the "wall time", this decrements the seconds counter based on the timer interval itself, which should be the correct behavior since it won't be affected by alignment with the system clock.

    An additional check was added to deal with cases when the thread is paused e.g. when the lid is closed on a laptop or the user is interacting with the menu bar.

    Fix countdown display skipping seconds

    Fixes #90 Closes #91

    opened by luckman212 11
  • Reusing your assets for an elementary OS clone?

    Reusing your assets for an elementary OS clone?

    Hi Michael,

    I switched recently to elementary OS and I really miss your awesome timer app. Have to admit I fell in love with it on macOS. That's why I just started cloning it: https://github.com/marbetschar/timer

    Unfortunately I'm more of a programmer than a designer. And as I really like your design, I wanted to ask you if you're cool if I reuse your assets for a dedicated elementary OS clone, programmed in Vala?

    To be fully transparent here, I also plan to release this Timer clone to the elementary OS AppCenter, a Pay-What-You-Want App Store. I'll probably publish it there with a suggested one-time price of 1 or 2 USD.

    opened by marbetschar 9
  • Use a fixed-width font and leading zeros for less jank

    Use a fixed-width font and leading zeros for less jank

    Hi

    Is your feature request related to a problem? Please describe. I notice little movements of the timer's contents—aka "jank"—out of the corner of my eye which is distracting

    Describe the solution you'd like

    • Use a fixed width font, please, so that, e.g., 51"50" doesn't move around
    • Use leading zeroes, please, so that, e.g., 10"9" doesn't move around (it would be 10"09")

    Describe alternatives you've considered Hiding the Timer window, but when screen sharing that would make it hard for all participants to be aware of our current interval

    Cheers!

    enhancement 
    opened by nvenegas 8
  • Tag and release 1.5.0

    Tag and release 1.5.0

    Hey @michaelvillar,

    Would it be possible to build a new release for the changes since 1.4?

    https://github.com/michaelvillar/timer-app/compare/1.4...master

    If you're super busy, I'm willing to join the project and do basic stuff like making releases, keeping a changelog, and testing.

    opened by karbassi 8
  • Update window layout to work on macOS 10.14 (Mojave)

    Update window layout to work on macOS 10.14 (Mojave)

    It took me a while to figure out what was going on in the view hierarchy, causing the clock to not get displayed on Mojave. Ideally I'd like to move to an approach that puts the clock in a more standard location in the view hierarchy that would be more robust to OS updates (such as contentView). But after experimenting for a while, I don't have any clear idea of how to do that while maintaining the visual design and behavior.

    So instead I was able to adapt the approach for Mojave by simply making the clock view a sibling of the close button.

    I also simplified a few lines of code and added comments.

    opened by robinstewart 7
  • Mojave Bug: Transparent

    Mojave Bug: Transparent "Watchface" in passive mode

    Hello guys, first of all... i love this app! Thank you!

    I switched to Mojave on Monday, so I noticed this bug. As soon as the timer window is no longer active/focused, the "watchface" becomes transparent. But if I click on the timer window and make it to my active / current window, everything looks good again. Strange.

    bildschirmfoto 2018-09-27 um 11 38 20

    Thank you, Max

    bug help wanted 
    opened by BrandlMax 5
  • Dark Mode

    Dark Mode

    I was just messing around with the code, to get started with #21, and since you've asked dark menu support, wouldn't it be gorgeous to have a dark skin as well?

    Called "Skins" the ticket because this can be just a dark skin or a customisable skins enhancement. Just some raw ideas:

    • Dark skin (automatic with dark menu)
    • Customizable skins: get rid of the image sets or add some layer on top of them

    Some quick samples:

    screen shot 2018-03-10 at 09 07 54 screen shot 2018-03-10 at 09 14 39

    enhancement help wanted 
    opened by aonez 5
  • Shortcuts

    Shortcuts

    Honestly, the timer app is great! Thanks for putting in the work Michael!

    Do you have any plans or think it might be useful to add "time adjustment shortcuts" like just typing a number and the timer automatically sets its minutes?

    opened by marcuspoehls 5
  • The app fails to start on macOS Catalina

    The app fails to start on macOS Catalina

    Describe the bug The app isn't signed or notarized thus it fails to start.

    To Reproduce Steps to reproduce the behavior:

    1. Download the app using the link in the description or using brew cask.
    2. Run the app.

    Expected behavior Start up successfully.

    Screenshots image

    Desktop (please complete the following information):

    • macOS Catalina 10.15.6
    opened by glebignatieff 4
  • Cannot run timer after using `brew cask install michaelvillar-timer`

    Cannot run timer after using `brew cask install michaelvillar-timer`

    Describe the bug MacOS security preventing timer from running after install via brew cask install michaelvillar-timer

    To Reproduce Steps to reproduce the behavior:

    1. Open Terminal
    2. Run command brew cask install michaelvillar-timer
    3. After install finishes hit CMD+Spacebar and type timer to bring up the timer app installed in step 2. Press enter.
    4. A dialog appears preventing the app to run.

    Expected behavior Timer app would start in a usable state.

    Screenshots image

    Desktop (please complete the following information):

    • OS version: [e.g. macOS 10.15.4]
    • Version [e.g. 22]

    Additional context Add any other context about the problem here.

    opened by johngrant 4
  • Buggy mouse control

    Buggy mouse control

    Describe the bug Hard (or even unable) to drag the blue triangle near diagonal positions.

    To Reproduce

    • Open a timer
    • Set time to one of the following: 5 min (top-right), 20 min (bottom-right), 35 min (bottom-left) or 50 min (top-left)
    • Try to drag the blue triangle again

    Expected behavior The blue triangle should be dragged.

    Actual behavior The whole window is dragged.

    Desktop (please complete the following information):

    • OS version: macOS 10.14.6
    • Version 1.5.0
    bug 
    opened by syimyuzya 4
  • Option to show a full disk timer

    Option to show a full disk timer

    Instead of just a blue arrow and line around the clock, this provides the option to fill the entire clock face. It makes the visual countdown more prominent which is useful for people who have ADHD and other such attention issues – visual countdowns help externalise the passage of time which helps us pay more attention to it.

    Enabling this option also hides the digital timer since it didn't look aesthetically pleasing IMO.

    Depends on #125.

    opened by vin047 3
  • Option to use traditional time label suffixes

    Option to use traditional time label suffixes

    I prefer to use regular m and s suffixes over the current use of ' and " for minutes and seconds representation. Maybe others do too?

    Depends on #125.

    opened by vin047 3
  • View preferences

    View preferences

    Prepares the app for visual customisations by adding a 'View' menu item as well as some placeholder code to save and load preferences from UserDefaults. Added an isMainController field so that only changes made in the first window are saved.

    This PR serves as a base for some other PRs I'm about to open.

    opened by vin047 3
  • No timer notifications in sleep mode

    No timer notifications in sleep mode

    Describe the bug If your computer goes to sleep you won't receive a notifications if the time is up.

    To Reproduce Steps to reproduce the behavior:

    1. Start a timer
    2. Wait until your computer goes to sleep or press Shift+Control+Eject
    3. Wait for the alarm
    4. Nothing happens until you interact with your computer and it awakes from sleep.

    Expected behavior You should still receive a notification

    Desktop (please complete the following information):

    • OS version: macOS 12.2.1
    • Version: 1.6.0
    opened by jnnkB 0
  • Pause indication confusing

    Pause indication confusing

    A pause symbol is shown when the timer is paused which is the opposite of in (most?) music apps, where the pause symbol is shown when the music is playing. This has confused me a few time using the timer. Maybe show the text "Paused" instead?

    opened by tiktuk 0
Releases(1.6.0)
Owner
Michael Villar
Michael Villar
Mac-asksec - Test Mac Permissions from the Terminal

asksec A simple CLI to test permissions from any macOS terminal app. Building ru

Christian Zangl 1 Jan 18, 2022
Mac OSX app that displays window previews when hovering over app icon on the Dock.

Dock Window Preview Adds window preview functionality on hover for Mac Dock, an open-source alternative. This is very early in development and it will

Paul Sweeney 32 Dec 26, 2022
Grid-based app for macOS Catalyst (Mac Idiom) with navigation stack

Catalyst Grid App Simple Catalyst example (Mac idiom) of a grid-based app with a push/pop navigation stack. Includes back button in toolbar that auto-

Steven Troughton-Smith 120 Nov 14, 2022
The missing Apple Weather App for Mac.

BetterWeather The missing Weather App for your Mac and iPad. Installation for mac. Download the notarized, universal binary from here Click the curren

Aayush 21 Jul 31, 2022
Demonstration of using UIWindowScene and SwiftUI to provide a native-looking Mac preferences window in Catalyst

CatalystPrefsWindow Ever wondered how to create a more Mac-like preferences window for Catalyst? Perhaps Settings Bundles are too limiting for the kin

Steven Troughton-Smith 148 Dec 27, 2022
An example project to demonstrate the new scripting capabilities of Shortcuts For Mac.

Scripting Shortcuts Test Project This simple project is designed to test the new scripting capabilities introduced in the Shortcuts app in macOS Monte

Alex Hay 16 Nov 17, 2022
iCloud Drive is Apple's essential connection between all your devices, Mac, iPhone, iPad, even your Windows PC.

iCloud Drive is Apple's essential connection between all your devices, Mac, iPhone, iPad, even your Windows PC.While the cost of storage seems expensive in comparison to other online storage services, its advantage is that it works natively across all your devices.

MindInventory 12 Jul 29, 2022
QuickLook Preview for SwiftUI on Mac Catalyst

QuickLook Preview for SwiftUI on Mac Catalyst According to the documentation for

Tom Dai 9 Dec 31, 2022
Weather-app - Created a simple weather app on Xcode using SwiftUI, only shows one location

weather-app Created a simple weather app on Xcode using SwiftUI, only shows one

Rahul Kadiyala 1 Feb 11, 2022
Ios-weather-app - A simple weather app with swift

AHOY Assignment Weather app Main Screen Settings Architecture The Architecture u

null 0 Jan 29, 2022
QuizApp - A simple Quiz App app using MVC

Quiz App Hey folks! I'm still learning Swift and I made a simple app again. This

Damla Çim 1 Jun 29, 2022
Simple SwiftUI + CoreData app

Footnote Hello! Before you interact with this repository, please check out our Code of Conduct and Contributing Guidelines. Footnote is a SwiftUI + Co

Cameron Bardell 37 Oct 17, 2022
Beers is a simple experimental app implemented using the new amazing SwiftUI.

Beers is a simple experimental app implemented using the new amazing SwiftUI. The app shows a list of beers fetched from Punk API

Chris 27 Dec 20, 2022
A simple App to Track the status of Covid-19 around the World. Using SwiftUI and GraphQL

CovidUI CovidUI is a simple App to Track the status of Covid-19 around the World. This is a simple App I made to track the spread of Covid-19 for me a

Mathias Quintero 77 Dec 14, 2022
A very simple Rick & Morty app to demo GraphQL + SwiftUI

MortyUI A very simple Rick & Morty app to demo GraphQL + SwiftUI Characters Character detail Episode This app have a very simple SwiftUI MVVM architec

Thomas Ricouard 445 Jan 3, 2023
Simple app to show usage of SwiftUI and Combine

Podcasts Simple app to show usage of SwiftUI and Combine. The app shows a list of podcasts fetched from listennotes and it can be played. Status: Work

Alberto Penas Amor 27 Oct 4, 2022
A Simple ToDo app developed using SwiftUI, Combine and Coredata

SwiftUI_Tasks Tasks is simple ToDo app developed using SwiftUI and Coredata which having features like Add,Delete,Rearrange and send notification base

Shankar Madeshvaran 77 Dec 18, 2022
A simple Apple Watch app to remind you to drink water!

Waterminder A simple Apple Watch app to remind you to drink water. Built with SwiftUI and Combine You can find an article explaining the implementatio

Carlos Corrêa da Silva 184 Dec 31, 2022
Simple alternate app icons with Xcode 13 and SwiftUI

XCode 13 Alternate App Icons Preamble With the beta of XCode 13 creating alternate app icons is now much simpler and requires much less manual steps t

Jake Nelson 23 Jul 19, 2022