Comments (4)
Looks like in theory theory this is possible with https://electronjs.org/docs/api/power-monitor#event-lock-screen-macos-windows
However, I'm curious as to why you think this is necessary when there's already the idle reset functionality? When you come back to your computer after it having been locked the break will reset due to you having been idle anyway.
from breaktimer-app.
from breaktimer-app.
Oh so you're saying that the problem is it always resets and you don't want it to?
Do you have idle reset turned on? If so, what value is it set to?
If you lock your screen then immediately unlock it, does it reset? If so, turn on the idle reset notification option, and it should tell you in the notification how long you were considered idle. How long does it say?
from breaktimer-app.
Will close for now. If we receive more information then we can re-open.
from breaktimer-app.
Related Issues (20)
- Suggestion: Incorporating Pomodoro Technique into Your Break Timer App
- [FEATURE REQUEST] Countdown to Next Break Pop-Up HOT 2
- [Feature Request] Notificate before break and disable for a certain time period HOT 3
- [FEATURE] Blur background + remain until user clicks close HOT 2
- Rest break active immediately upon unlocking after long period (macOS 14 / Sonoma) HOT 2
- Issue using the app on macOS Ventura 13.4.1 HOT 1
- Hardcoded path causes notarization to fail on arm64 (and generally different targets)
- Can't open settings HOT 2
- Tauri as build target HOT 3
- Countdown timer stuck in next break in less a minutes HOT 2
- Feature request: Disable while Zoom is open HOT 1
- [FEATURE REQUEST] Allow max number of skips per day
- [Feature Request] Add volume setting for the gong sound
- No tray icon in Plasma 6 HOT 2
- [FEATURE] Capture keys during popup
- [Feature] Time logging
- no settings menu, can't uninstall HOT 1
- FEATURE REQUEST - Disable during Calls/Meetings on Microsoft Teams HOT 1
- [Feature Request] Pause break during system game mode HOT 1
- [Feature Request] Add Apple Shortcuts support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from breaktimer-app.