diff --git a/config/astal/components/QuickActions/modules/Brightness/Brightness.tsx b/config/astal/components/QuickActions/modules/Brightness/Brightness.tsx index 5ddaa36..34da61f 100644 --- a/config/astal/components/QuickActions/modules/Brightness/Brightness.tsx +++ b/config/astal/components/QuickActions/modules/Brightness/Brightness.tsx @@ -4,11 +4,22 @@ import Brightness from "../../../../util/brightness"; const brightness = Brightness.get_default(); const BrightnessModule = () => { + const setBrightness = ( value: number ) => { + brightness.set_property('screen', value); + } return ( - + setBrightness(self.value)} + > ); }; diff --git a/config/astal/components/bar/bar.scss b/config/astal/components/bar/bar.scss index 0e84599..3f13c37 100644 --- a/config/astal/components/bar/bar.scss +++ b/config/astal/components/bar/bar.scss @@ -61,6 +61,6 @@ window.Bar { } .quick-view-symbol { - margin: 3px; + margin: 2px; } } diff --git a/config/astal/components/bar/modules/QuickView.tsx b/config/astal/components/bar/modules/QuickView.tsx index 88e00f4..a0efc95 100644 --- a/config/astal/components/bar/modules/QuickView.tsx +++ b/config/astal/components/bar/modules/QuickView.tsx @@ -143,11 +143,13 @@ const BrightnessWidget = () => { const screen_brightness = bind(brightness, "screen"); return ( - + + + + ); };