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
|
monitor = DP-2
|
||||||
|
|
||||||
modules-left = xworkspaces xwindow
|
modules-left = xworkspaces xwindow-short
|
||||||
modules-center = tray
|
modules-center = tray
|
||||||
modules-right = pulseaudio backlight battery memory cpu wlan date menu-power
|
modules-right = pulseaudio backlight battery memory cpu wlan date menu-power
|
||||||
|
|
||||||
|
@ -201,16 +201,20 @@ label-empty-padding = 1
|
||||||
|
|
||||||
[module/xwindow]
|
[module/xwindow]
|
||||||
type = internal/xwindow
|
type = internal/xwindow
|
||||||
#label = %title:0:60:...%
|
|
||||||
label = %title:0:164:...%
|
label = %title:0:164:...%
|
||||||
|
|
||||||
|
[module/xwindow-short]
|
||||||
|
type = internal/xwindow
|
||||||
|
label = %title:0:75:...%
|
||||||
|
|
||||||
#[module/xbacklight]
|
|
||||||
#type = internal/xbacklight
|
[module/backlight]
|
||||||
#output = HDMI-A-0
|
type = internal/backlight
|
||||||
#output = DisplayPort-1
|
label = %{F#F0C674}BKL%{F-} %percentage%%
|
||||||
#output = DisplayPort-0
|
format-foreground = ${colors.primary}
|
||||||
#label = %{colors.primary}BKL%{F-} %percentage%%
|
card = nvidia_0
|
||||||
|
enable-scroll = true
|
||||||
|
scroll-interval = 10
|
||||||
|
|
||||||
|
|
||||||
[module/change-background]
|
[module/change-background]
|
||||||
|
@ -415,13 +419,6 @@ screenchange-reload = true
|
||||||
pseudo-transparency = true
|
pseudo-transparency = true
|
||||||
|
|
||||||
|
|
||||||
[module/backlight]
|
|
||||||
type = internal/backlight
|
|
||||||
card = nv_backlight
|
|
||||||
use-actual-brightness = true
|
|
||||||
enable-scroll = true
|
|
||||||
|
|
||||||
|
|
||||||
[module/mpd]
|
[module/mpd]
|
||||||
type = internal/mpd
|
type = internal/mpd
|
||||||
host = /run/mpd
|
host = /run/mpd
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue