Skip to content

Commit 2372b25

Browse files
change gsd-backlight-helper path and set correct version number
1 parent 0cad740 commit 2372b25

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
project(
22
'budgie-brightness-control-applet',
33
['c', 'vala'],
4-
version: '1.0.0',
4+
version: '0.2.1',
55
license: [
66
'GPL-2.0'
77
],

src/BudgieBrightnessControlApplet.vala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ public class Applet : Budgie.Applet
226226
*/
227227
private int get_max_brightness() {
228228
try {
229-
string[] spawn_args = {"pkexec", "/usr/lib/gnome-settings-daemon/gsd-backlight-helper",
229+
string[] spawn_args = {"pkexec", "/usr/lib/gsd-backlight-helper",
230230
"--get-max-brightness"};
231231
string[] spawn_env = Environ.get ();
232232
string ls_stdout;
@@ -254,7 +254,7 @@ public class Applet : Budgie.Applet
254254
*/
255255
private int get_brightness() {
256256
try {
257-
string[] spawn_args = {"pkexec", "/usr/lib/gnome-settings-daemon/gsd-backlight-helper",
257+
string[] spawn_args = {"pkexec", "/usr/lib/gsd-backlight-helper",
258258
"--get-brightness"};
259259
string[] spawn_env = Environ.get ();
260260
string ls_stdout;
@@ -282,7 +282,7 @@ public class Applet : Budgie.Applet
282282
*/
283283
private void set_brightness(int brightness) {
284284
try {
285-
string[] spawn_args = {"pkexec", "/usr/lib/gnome-settings-daemon/gsd-backlight-helper",
285+
string[] spawn_args = {"pkexec", "/usr/lib/gsd-backlight-helper",
286286
"--set-brightness", brightness.to_string()};
287287
string[] spawn_env = Environ.get ();
288288
string ls_stdout;

0 commit comments

Comments
 (0)