Skip to content

Commit a86041c

Browse files
authored
brightness-and-gamma-applet 3.0.3: Bug fix: xsct now launches correctly on certain platforms (#8279)
1 parent da7a5f8 commit a86041c

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

brightness-and-gamma-applet@cardsurf/files/brightness-and-gamma-applet@cardsurf/6.6/applet.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1210,8 +1210,8 @@ class BrightnessAndGamma extends Applet.IconApplet {
12101210
update_xsct() {
12111211
let xsct_temp = this.screen_temp;
12121212
let xsct_brightness = Math.min(this.brightness / 100, 1.0);
1213-
//~ Util.spawnCommandLineAsync(`/usr/bin/env sh -c "xsct ${xsct_temp} ${xsct_brightness}"`);
1214-
Util.spawnCommandLineAsync(`xsct ${xsct_temp} ${xsct_brightness}`);
1213+
Util.spawnCommandLineAsync(`/usr/bin/env sh -c "${this.xsct_name} ${xsct_temp} ${xsct_brightness}"`);
1214+
//~ Util.spawnCommandLineAsync(`xsct ${xsct_temp} ${xsct_brightness}`);
12151215
}
12161216

12171217
is_screen_output_valid(output_index) {

brightness-and-gamma-applet@cardsurf/files/brightness-and-gamma-applet@cardsurf/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
### v3.0.3~20260204
2+
* Bug fix: xsct now launches correctly on certain platforms.
3+
14
### v3.0.2~20260203
25
* Asynchronously change of Screen Temperature.
36

brightness-and-gamma-applet@cardsurf/files/brightness-and-gamma-applet@cardsurf/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"description": "Sets brightness and gamma levels of a screen",
3-
"version": "3.0.2",
3+
"version": "3.0.3",
44
"uuid": "brightness-and-gamma-applet@cardsurf",
55
"name": "Brightness and gamma applet",
66
"author": "claudiux"

0 commit comments

Comments
 (0)