feat(service/brightness): remove unnecessary console.log
This commit is contained in:
parent
96098fae19
commit
6f90989dcc
1 changed files with 0 additions and 2 deletions
|
@ -23,14 +23,12 @@ export default class Brightness extends GObject.Object {
|
|||
}
|
||||
|
||||
set screen(percent) {
|
||||
console.log(percent);
|
||||
if (percent < 0) percent = 0;
|
||||
|
||||
if (percent > 1) percent = 1;
|
||||
|
||||
execAsync(`brightnessctl set ${Math.floor(percent * 100)}% -q`).then(
|
||||
() => {
|
||||
console.log(percent);
|
||||
this.#screen = percent;
|
||||
this.notify("screen");
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue