forked from Shinonome/dots-hyprland
Brightness fix: Use percentage brightness to handle multiple devices correctly
This commit is contained in:
@@ -110,7 +110,7 @@ Singleton {
|
|||||||
|
|
||||||
function initialize() {
|
function initialize() {
|
||||||
monitor.ready = false;
|
monitor.ready = false;
|
||||||
initProc.command = isDdc ? ["ddcutil", "-b", busNum, "getvcp", "10", "--brief"] : ["sh", "-c", `echo "a b c $(brightnessctl g --device intel_backlight) $(brightnessctl m --device intel_backlight)"`];
|
initProc.command = isDdc ? ["ddcutil", "-b", busNum, "getvcp", "10", "--brief"] : ["sh", "-c", `echo "a b c $(brightnessctl g) $(brightnessctl m)"`];
|
||||||
initProc.running = true;
|
initProc.running = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user