Skip to content

Commit 9a1d14d

Browse files
authored
Update OSD command to show all brightness indicators
1 parent 08132c9 commit 9a1d14d

File tree

1 file changed

+1
-1
lines changed
  • src/osd/providers/experimental

1 file changed

+1
-1
lines changed

src/osd/providers/experimental/gnome.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ void show_gnome_osd(gdouble brightness_percentage) {
44
gchar command[300];
55
sprintf(
66
command,
7-
"gdbus call --session --dest org.gnome.Shell --object-path /dev/ramottamado/EvalGjs --method dev.ramottamado.EvalGjs.Eval \"Main.osdWindowManager.show(-1, Gio.Icon.new_for_string('display-brightness-symbolic'), null, %f, 1);\" > /dev/null",
7+
"gdbus call --session --dest org.gnome.Shell --object-path /dev/ramottamado/EvalGjs --method dev.ramottamado.EvalGjs.Eval \"Main.osdWindowManager.showAll(Gio.Icon.new_for_string('display-brightness-symbolic'), null, %f, 1);\" > /dev/null",
88
brightness_percentage / 100.0
99
);
1010
system(command);

0 commit comments

Comments
 (0)