add backlight and backlight keyboard feature for macbooks
This commit is contained in:
parent
8eb76c60fa
commit
d16a30e790
1 changed files with 15 additions and 2 deletions
|
@ -54,7 +54,7 @@
|
|||
"mpris",
|
||||
"notifications",
|
||||
"backlight",
|
||||
"backlight#tpacpi",
|
||||
"backlight#keyboard",
|
||||
"volume",
|
||||
"buttons-grid"
|
||||
],
|
||||
|
@ -80,16 +80,29 @@
|
|||
"image-size": 96,
|
||||
"image-radius": 12
|
||||
},
|
||||
{{- if and (eq .chezmoi.os "linux") (eq .chezmoi.arch "arm64") }}
|
||||
"backlight": {
|
||||
"label": "",
|
||||
"device": "apple-panel-bl",
|
||||
"min": 10
|
||||
},
|
||||
"backlight#keyboard": {
|
||||
"label": "",
|
||||
"device": "kbd_backlight",
|
||||
"subsystem": "leds"
|
||||
},
|
||||
{{- else }}
|
||||
"backlight": {
|
||||
"label": "",
|
||||
"device": "intel_backlight",
|
||||
"min": 10
|
||||
},
|
||||
"backlight#tpacpi": {
|
||||
"backlight#keyboard": {
|
||||
"label": "",
|
||||
"device": "tpacpi::kbd_backlight",
|
||||
"subsystem": "leds"
|
||||
},
|
||||
{{- end }}
|
||||
"volume": {
|
||||
"label": ""
|
||||
},
|
Loading…
Add table
Reference in a new issue