feat: monitor brightness control

This commit is contained in:
2024-01-09 00:50:50 +01:00
parent 5b1d5b06ff
commit d44992db17
3 changed files with 11 additions and 4 deletions

View File

@@ -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({