Giter Club home page Giter Club logo

slumber's Introduction

slumber

a shakeable sleep timer for almost all media players on SailfishOS

Slumber is a sleep timer program for SailfishOS with sensors support.

This means you can use the accelerometer or proximity sensor (or a few other means like a smart watch connected to Amazfish) to reset the timer if the display is lit: Just place your device on your bed and slap the mattress in it's general direction to reset the timer. Note: When the display is off, sensors are disabled, but there are settings to address that.

It's designed to pause local media players or Kodi/VLC via network. If your device supports it (Jolla1 does not), aliendalvik/android media players shown on the lock screen should work, too. Optionally, an audible notification plays for the last few seconds before pausing your media.

Note: Sounds are CC0, not GPL. Click here for Details.

Screenshots:
screenshots

Known restrictions:

  • Does not work with Android media players on jolla1 phone.
  • Does not work in Sailfish Browser (working alternative: WebPirate Browser)
  • Sensors won't work when Display is off. But there is an option to keep it on while the timer runs. (If you know how to fix: please tell me!)
  • Phone Vibration might trigger Accelerometer. (Well…)

Install

Want to help?

talk

Please let me know if it works for your favourite player and feel free to discuss: http://talk.maemo.org/showthread.php?p=1486493.

code

You can send bug reports & pull requests right here on github!

translate

Help me translate slumber to your language at https://www.transifex.com/velocode/slumber/

slumber's People

Contributors

carlosgonz0 avatar eson57 avatar jgi-comspace avatar jgibbon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

carlosgonz0

slumber's Issues

Feature request: Fadeout timer speed setting

Hei.

I think that the "Fade out when falling asleep" feature is very nice, but it is too fast. Can you add a settings feature that lets me set a custom delay? At the moment it starts fading "ca the last 10 seconds of the timer", and I'd like to try some different numbers. (e.g. a fadeout for the last 30 seconds or 2 minutes)

Thanks.

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.