You are not logged in.
Pages: 1
I'm assuming this belongs here as my other thread got moved...
In my polybar config I have the following module
[module/backlight]
type = internal/backlight
card = intel_backlight
format = <ramp> <label>
label-foreground = ${colours.white}
ramp-0 = ?
ramp-1 = ?
ramp-2 = ?
ramp-3 = ?
ramp-4 = ?
ramp-foreground = ${colours.maia}
bar-width = 6
bar-indicator =
bar-fill =
bar-fill-font = 3
bar-fill-foreground = ${colours.white}
bar-empty =
bar-empty-font = 3
bar-empty-foreground = ${colours.grey}The problem is that I have an nvidia card and of course there is no intel_backlight folder as per this error message
error: Disabling module "backlight" (reason: The file '/sys/class/backlight/intel_backlight/brightness' does not exist)The only folder in the /sys/class/backlight directory is "gmux_backlight" and the brightness document contains the numbers "614". Even changing the line "card = intel_backlight" to "card = gmux_backlight" produces no error message but doesn't load the module as it should. I didn't expect it to anyways but I at least I can presume that it is looking for a specific file.
The only way I have managed to get my backlight to work with this computer (Macbook Pro '15 model) is to create a service pointing to a script that contains the following.
#!/bin/bash
setpci -v -H1 -s 00:01.00 BRIDGE_CONTROL=0
exit 0What do I need to point this module to?
Offline
Pages: 1