mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2026-02-17 22:12:45 +00:00
feat: monitor brightness control
This commit is contained in:
@@ -56,8 +56,7 @@ export default () =>
|
||||
children: [
|
||||
Row([Volume()], [SinkSelector(), AppMixer()]),
|
||||
Microhone(),
|
||||
/*Brightness()*/
|
||||
,
|
||||
Brightness(),
|
||||
],
|
||||
}),
|
||||
Row(
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
import Widget from "resource:///com/github/Aylur/ags/widget.js";
|
||||
import icons from "../../icons.js";
|
||||
import Brightness from "../../services/brightness.js";
|
||||
import * as Utils from "resource:///com/github/Aylur/ags/utils.js";
|
||||
|
||||
const CanSupportBrightness = () => Utils.exec("which gbmonctl");
|
||||
|
||||
const BrightnessSlider = () =>
|
||||
Widget.Slider({
|
||||
|
||||
Reference in New Issue
Block a user