xdg-brightness
v2.0.3
Published
Change screen brightness on Linux systems
Downloads
122
Readme
xdg-brightness
Change screen brightness on Linux systems
Install
$ npm install --save xdg-brightness
Usage
var xdgBrightness = require('xdg-brightness');
xdgBrightness.get(function (err, brightness) {
console.log(brightness);
// 0.5
});
xdgBrightness.set(0.8, function (err) {
console.log('Changed brightness to 80%');
});
CLI
See the brightness CLI.
License
MIT © Kevin Mårtensson