3 ms·
I've recently added a repeating popup reminder to my Mac - it pops up a dialog box every 30 minutes that says "Are you wasting time?". The answer is allowed to
by vosper 11y ago
I've recently added a repeating popup reminder to my Mac - it pops up a dialog box every 30 minutes that says "Are you wasting time?". The answer is allowed to be "yes" sometimes - I need breaks - but the point is to make sure it's a conscious choice, and that 30 minutes of browsing or playing games doesn't turn into 2 hours.
- helsinki 11y agoHow did you enable a popup to appear every thirty minutes on OSX?
- bentrevor 11y agoYou can use `osascript` to show a popup. Depending on which shell you're using, it would look something like this: for i in {1..4}; do sleep $(expr 60 \* 30) osascript -e 'tell app "System Events" to display dialog "Are you wasting time?"' done