Coder Social home page Coder Social logo

keep awake interval about onlyswitch HOT 8 OPEN

jacklandrin avatar jacklandrin commented on June 28, 2024
keep awake interval

from onlyswitch.

Comments (8)

jacklandrin avatar jacklandrin commented on June 28, 2024

Sure. Because of the different interactive mode, I haven't figured out how to implement it yet.

from onlyswitch.

WladyX avatar WladyX commented on June 28, 2024

Another one from oneswitch that i sometimes use is: Do not disturb.

from onlyswitch.

jacklandrin avatar jacklandrin commented on June 28, 2024

You mean controlling focus mode?

from onlyswitch.

WladyX avatar WladyX commented on June 28, 2024

Yes, you are correct.

from onlyswitch.

devops-42 avatar devops-42 commented on June 28, 2024

Hey, also from my side thanks for sharing this wonderful app. 🚀

Regarding the keep-awake functionality: Is it possible to activate at least the screensaver in order to lock the computer on inactivity?

Cheers!

from onlyswitch.

jacklandrin avatar jacklandrin commented on June 28, 2024

@devops-42 I am not sure if my understanding is right. You want to keep display on when entering screen saver or lock screen. Like the configuration in System Settings below:
Screenshot 2023-10-06 at 22 07 28
If yes, the current design of Keep Awake switch cannot implement your requirement, because it always prevents entering screen saver like when you are playing a video. However, I will explore whether there is another solution that can directly modify the Lock Screen settings to implement it. If there is possible, need to develop a new switch for it.

from onlyswitch.

devops-42 avatar devops-42 commented on June 28, 2024

Hi @jacklandrin , thanks for yor response.
I think, you got my point: I want to prevent the system going to sleep (which kills my VPN everytime), but need to lock the screen on inactivity.
Maybe this is another story and has nothing much in common with the „keep awake“ plugin :)

from onlyswitch.

jacklandrin avatar jacklandrin commented on June 28, 2024

Hi @devops-42
I added a Clamshell model on Evolution Gallery in the latest version. Can you try if it meets your requirements? It will keep background tasks running though you close the lid or Lock Screen on inactivity.
Evolution Gallery
This switch always asks for your password. If you feel it is annoying, you can add your Mac password after the turn on and off commands, like:
do shell script "sudo pmset -a disablesleep 1" with prompt "OnlySwitch" with administrator privileges password "xxxx"

from onlyswitch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.