Coder Social home page Coder Social logo

helmare / pcsleeptimer Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 90 KB

PcSleepTimer is a native app for Windows, Linux, and Mac, which gives your PC a sleep timer similar to the ones found in your TV.

HTML 5.95% CSS 13.49% JavaScript 80.55%
sleep-timer electron-app cross-platform

pcsleeptimer's Introduction

Welcome To The PcSleepTimer App!

PcSleepTimer is a native app for Windows, Linux, and Mac, which gives your PC a sleep timer similar to the ones found in your TV. You can setup your own duration and the process that is ran once the time is up (default is the shutdown command for the OS).

How Do I Get It?

There are two ways to get a copy of PcSleepTimer: Download the latest release under the release tab (windows only), or compile from source.

How To Compile From Source

  1. Install Node JS and npm on your PC.
  2. Fork and clone the repository.
  3. Run command npm install --save-dev on the cloned folder.
  4. Create a folder called build and move the icon file to that folder.
  5. Run command electron-builder build --windows

The app files will be built in the dist folder. If you need to build for other operating systems, replace --windows with your OS specific flag (Linux: --linux, Mac: --mac). Other OS flags can be found here.

Note: This has not been tested on linux or mac. Any contribution on that front will be greatly appriciated!

Settings

After you run PcSleepTimer for the first time it will create a settings.json file. You can change all the settings int this file, but the app must be restarted for them to take affect.

Setting Description
duration Duration of the sleep timer.
overtime Duration of the overtime period.
fullscreen Whether the app will switch to fullscreen duration overtime.
process The process that will run if the timer is not reset after overtime.

pcsleeptimer's People

Contributors

helmare avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.