Fix backlight module for laptop
This commit is contained in:
parent
b5be1da354
commit
4999137e95
1 changed files with 12 additions and 15 deletions
|
@ -105,7 +105,7 @@ border-bottom-size = -1pt
|
|||
|
||||
monitor = DP-2
|
||||
|
||||
modules-left = xworkspaces xwindow
|
||||
modules-left = xworkspaces xwindow-short
|
||||
modules-center = tray
|
||||
modules-right = pulseaudio backlight battery memory cpu wlan date menu-power
|
||||
|
||||
|
@ -201,16 +201,20 @@ label-empty-padding = 1
|
|||
|
||||
[module/xwindow]
|
||||
type = internal/xwindow
|
||||
#label = %title:0:60:...%
|
||||
label = %title:0:164:...%
|
||||
|
||||
[module/xwindow-short]
|
||||
type = internal/xwindow
|
||||
label = %title:0:75:...%
|
||||
|
||||
#[module/xbacklight]
|
||||
#type = internal/xbacklight
|
||||
#output = HDMI-A-0
|
||||
#output = DisplayPort-1
|
||||
#output = DisplayPort-0
|
||||
#label = %{colors.primary}BKL%{F-} %percentage%%
|
||||
|
||||
[module/backlight]
|
||||
type = internal/backlight
|
||||
label = %{F#F0C674}BKL%{F-} %percentage%%
|
||||
format-foreground = ${colors.primary}
|
||||
card = nvidia_0
|
||||
enable-scroll = true
|
||||
scroll-interval = 10
|
||||
|
||||
|
||||
[module/change-background]
|
||||
|
@ -415,13 +419,6 @@ screenchange-reload = true
|
|||
pseudo-transparency = true
|
||||
|
||||
|
||||
[module/backlight]
|
||||
type = internal/backlight
|
||||
card = nv_backlight
|
||||
use-actual-brightness = true
|
||||
enable-scroll = true
|
||||
|
||||
|
||||
[module/mpd]
|
||||
type = internal/mpd
|
||||
host = /run/mpd
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue