I built a simple SwiftUI/Swift Data app to do the same thing across my Apple Watch, iPhone, iPad and Desktop. With the heavy lifting of SwiftUI/Swift Data, and iCloud providing automatic and private syncing, this is the cloc output for my project, (including widgets and all of the code and projects needed to target all of these platforms.) ------------------------------------------------------------------------------…
I hacked my clock to control my focus
21–30 of 70 posts
Re: I hacked my clock to control my focus
#22Re: I hacked my clock to control my focus
#23Re: I hacked my clock to control my focus
#24is there something similar for macOS?
If the something you are asking about is a pre-built tool, I would think the menubar is the MacOS place to put a reminder and it looks like someone has built that: https://lifehacker.com/tech/one-thing-app-turns-your-macs-me...
Re: I hacked my clock to control my focus
#25I like this constant on screen reminder though and might give it a try myself :)
Re: I hacked my clock to control my focus
#26Earlier quoted context omitted.
I don't take breaks per se, which is a core part of that technique iirc.
I think the break can be a reflection and note taking period. Unfocus a bit, but not too far.
Re: I hacked my clock to control my focus
#27I've added an hourly chime to my work computer's clock, similar to a Casio wristwatch. It's a subtle reminder of the passing time, prompting me to pause, reflect, and reassess my actions to stay on track and avoid procrastination. I like this constant on screen reminder though and might give it a try myself :)
The gods confound the man who first found out
how to distinguish hours! Confound him, too,
who in this place set up a sundial,
to cut and hack my days so wretchedly
into small portions! When I was a boy,
my belly was my sundial — one surer,
truer, and more exact than any of them.
This dial told me when ’twas proper time
to go to dinner, when I had aught to eat;
But nowadays, why even when I have,
I can’t fall-to unless the sun gives leave.
The town’s so full of these confounded dials
the greatest part of the inhabitants,
shrunk up with hunger, crawl along the street.
— Plautus (c.254-184 BC)(Originally posted 11 years ago: https://news.ycombinator.com/item?id=7007731#7008338>)
Re: I hacked my clock to control my focus
#28I've added an hourly chime to my work computer's clock, similar to a Casio wristwatch. It's a subtle reminder of the passing time, prompting me to pause, reflect, and reassess my actions to stay on track and avoid procrastination. I like this constant on screen reminder though and might give it a try myself :)
Re: I hacked my clock to control my focus
#29I've added an hourly chime to my work computer's clock, similar to a Casio wristwatch. It's a subtle reminder of the passing time, prompting me to pause, reflect, and reassess my actions to stay on track and avoid procrastination. I like this constant on screen reminder though and might give it a try myself :)
Re: I hacked my clock to control my focus
#30Its really cool because it lets you use any shell-executable file, including bash scripts, python scripts (with shebangs and made executable), as a menu bar tool. The standard output is expected to follow a very simple structure and will be used to create the menu bar tool's text/icon. You can have your scripts simply output emoji as well!
Not just that, but any output after a `---` will be treated as drop down options, and depending on format, those can contain info, or be exectuable actions.
Verrrry useful for all sorts of things.