macbook: fix keyboard backlight keybinds to use brightnessctl
swayosd-client does not support --keyboard-brightness; use brightnessctl directly to control smc::kbd_backlight. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
cdb4cbd6c0
commit
b97920df45
1 changed files with 2 additions and 2 deletions
|
|
@ -313,8 +313,8 @@ in
|
||||||
", XF86MonBrightnessUp, exec, swayosd-client --brightness raise"
|
", XF86MonBrightnessUp, exec, swayosd-client --brightness raise"
|
||||||
", XF86MonBrightnessDown, exec, swayosd-client --brightness lower"
|
", XF86MonBrightnessDown, exec, swayosd-client --brightness lower"
|
||||||
] ++ lib.optionals isMacbook [
|
] ++ lib.optionals isMacbook [
|
||||||
", XF86KbdBrightnessUp, exec, swayosd-client --keyboard-brightness raise"
|
", XF86KbdBrightnessUp, exec, brightnessctl -d smc::kbd_backlight set +10%"
|
||||||
", XF86KbdBrightnessDown, exec, swayosd-client --keyboard-brightness lower"
|
", XF86KbdBrightnessDown, exec, brightnessctl -d smc::kbd_backlight set 10%-"
|
||||||
];
|
];
|
||||||
|
|
||||||
bindl = [
|
bindl = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue