use noctalia ipc for brightness
This commit is contained in:
parent
d3665d35c1
commit
7b3da66748
1 changed files with 2 additions and 2 deletions
|
|
@ -192,12 +192,12 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
"XF86MonBrightnessUp" = {
|
"XF86MonBrightnessUp" = {
|
||||||
action.spawn = ["brightnessctl" "--class=backlight" "set" "+5%"];
|
action.spawn = ["noctalia-shell" "ipc" "call" "brightness" "increase"];
|
||||||
allow-when-locked = true;
|
allow-when-locked = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
"XF86MonBrightnessDown" = {
|
"XF86MonBrightnessDown" = {
|
||||||
action.spawn = ["brightnessctl" "--class=backlight" "set" "5%-"];
|
action.spawn = ["noctalia-shell" "ipc" "call" "brightness" "decrease"];
|
||||||
allow-when-locked = true;
|
allow-when-locked = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue