Remove backlight from polybar

This commit is contained in:
Dave Gallant
2020-07-16 19:18:51 -04:00
parent be3c4fbd2a
commit 8bdcde106b
3 changed files with 6 additions and 28 deletions

View File

@@ -35,7 +35,7 @@ font-0 = Fira Code:size=11;0
modules-left = bspwm powermenu
modules-center = xwindow
modules-right = filesystem xbacklight pulseaudio memory cpu wlan battery temperature date
modules-right = filesystem pulseaudio memory cpu wlan battery temperature date
tray-position = right
tray-padding = 2
@@ -87,28 +87,6 @@ label-empty-padding = 2
; Separator in between workspaces
; label-separator = |
[module/xbacklight]
type = internal/xbacklight
format = <label> <bar>
label = BL
bar-width = 10
bar-indicator = |
bar-indicator-foreground = #fff
bar-indicator-font = 2
bar-fill = ─
bar-fill-font = 2
bar-fill-foreground = #9f78e1
bar-empty = ─
bar-empty-font = 2
bar-empty-foreground = ${colors.foreground-alt}
[module/backlight-acpi]
inherit = module/xbacklight
type = internal/backlight
card = intel_backlight
[module/cpu]
type = internal/cpu
interval = 2
@@ -214,11 +192,13 @@ full-at = 98
format-charging = <animation-charging> <label-charging>
format-charging-underline = #ffb52a
format-charging-prefix = "++"
format-discharging-prefix = "--"
format-discharging = <animation-discharging> <label-discharging>
format-discharging-underline = ${self.format-charging-underline}
format-full-prefix = ""
format-full-prefix = "=="
format-full-prefix-foreground = ${colors.foreground-alt}
format-full-underline = ${self.format-charging-underline}