ags: implement per-monitor brightness control

This commit is contained in:
MoetaYuko
2024-05-01 15:23:30 +08:00
parent de0d5ffdf0
commit 7d45e9dc1b
6 changed files with 81 additions and 26 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ export const Bar = async (monitor = 0) => {
const minHeight = styleContext.get_property('min-height', Gtk.StateFlags.NORMAL);
// execAsync(['bash', '-c', `hyprctl keyword monitor ,addreserved,${minHeight},0,0,0`]).catch(print);
},
startWidget: (await WindowTitle()),
startWidget: (await WindowTitle(monitor)),
centerWidget: Widget.Box({
className: 'spacing-h-4',
children: [