Polybar: Create and apply xbacklight indicator
This commit is contained in:
parent
11d14b21d3
commit
181b228438
@ -74,7 +74,7 @@ border-bottom-color = ${res/colors.primary}
|
||||
|
||||
modules-left = i3 bspwm || wlan || mpd
|
||||
modules-center = xwindow
|
||||
modules-right = temperature-ramp || cpu-label memory-label || volume-ramp battery-ramp || date
|
||||
modules-right = temperature-ramp || cpu-label memory-label || xbacklight-label volume-ramp battery-ramp || date
|
||||
|
||||
;========================================
|
||||
; MODULES
|
||||
@ -583,6 +583,14 @@ card = acpi_video0
|
||||
label = B
|
||||
bar-fill-foreground = ${template/module/bar.bar-fill-foreground-setting}
|
||||
|
||||
[module/xbacklight-label]
|
||||
type = internal/xbacklight
|
||||
format = <label>
|
||||
|
||||
label = %percentage%%
|
||||
label-foreground = ${res/colors.foreground}
|
||||
label-background = ${res/colors.background}
|
||||
|
||||
[module/xkeyboard]
|
||||
type = internal/xkeyboard
|
||||
format = <label-indicator><label-layout>
|
||||
|
Loading…
Reference in New Issue
Block a user