Giter VIP home page Giter VIP logo

slight's People

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

cyrinux maximbaz

slight's Issues

Different transition speed when using `n%` and `+n%`

Starting both examples with 0% brightness, and printing the value here instead of changing it as you suggested results in the output below.

sys/class/backlight/apple-panel-bl/max_brightness contains 500.

$ ./target/debug/slight '50%'
1
2
3
4
5
6
7
8
9
10
11
...
248
249
250

$ ./target/debug/slight '+50%'
5
10
15
20
24
30
35
40
44
49
55
...
240
244
250

TODO

  • Split into bin + lib
  • Stabilize behaviour
  • Add readme
  • Add 90-backlight.rules
  • Use udev::Device instead my owd Device
  • Implement toggling device
  • Logind support
  • Tests
  • Implement stdout mode
  • Logging
  • Implement verbose mode
  • https://docs.rs/ddc-hi
  • More tests
  • Release
    ...
  • Status popup
  • ?Config file?
  • Allow to limit mix & max brightness ?via config file?
  • Save & restore device/s brightness ?on startup/shutdown?
  • ?Brightness schedule, sunset/rise?

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.