Polybar: Add and polish i3 module, i3 mode module
This commit is contained in:
parent
f560d2142b
commit
cc72486aa9
@ -88,8 +88,8 @@ inherit = template/bar
|
|||||||
border-top-size = 0
|
border-top-size = 0
|
||||||
|
|
||||||
modules-left = ${env:PB_BAR_PRIMARY_MODULES_LEFT:battery cpu memory}
|
modules-left = ${env:PB_BAR_PRIMARY_MODULES_LEFT:battery cpu memory}
|
||||||
modules-center = ${env:PB_BAR_PRIMARY_MODULES_CENTER: bspwm}
|
modules-center = ${env:PB_BAR_PRIMARY_MODULES_CENTER:i3 bspwm}
|
||||||
modules-right = ${env:PB_BAR_PRIMARY_MODULES_RIGHT:tor xbacklight volume date}
|
modules-right = ${env:PB_BAR_PRIMARY_MODULES_RIGHT:tor i3-mode xbacklight volume date}
|
||||||
|
|
||||||
[bar/primary-2]
|
[bar/primary-2]
|
||||||
monitor = ${env:PB_MONITOR:eDP-1}
|
monitor = ${env:PB_MONITOR:eDP-1}
|
||||||
@ -264,23 +264,19 @@ label-focused-padding = ${res/config.padding}
|
|||||||
label-focused-foreground = ${res/colors.mod-wm}
|
label-focused-foreground = ${res/colors.mod-wm}
|
||||||
label-focused-font = 2
|
label-focused-font = 2
|
||||||
|
|
||||||
label-dimmed-overline = ${res/colors.background}
|
label-unfocused = ${self.label-focused}
|
||||||
label-dimmed-underline = ${self.label-dimmed-overline}
|
label-unfocused-padding = ${res/config.padding}
|
||||||
|
label-unfocused-font = 2
|
||||||
|
|
||||||
label-occupied = ${self.label-focused}
|
label-visible-foreground = ${res/colors.foreground-dark}
|
||||||
label-occupied-padding = ${res/config.padding}
|
label-visible-padding = ${res/config.padding}
|
||||||
label-occupied-font = 2
|
label-visible-font = 2
|
||||||
|
|
||||||
label-urgent = ${self.label-focused}
|
label-urgent = ${self.label-focused}
|
||||||
label-urgent-padding = ${res/config.padding}
|
label-urgent-padding = ${res/config.padding}
|
||||||
label-urgent-foreground = ${res/colors.alert}
|
label-urgent-foreground = ${res/colors.alert}
|
||||||
label-urgent-font = 2
|
label-urgent-font = 2
|
||||||
|
|
||||||
label-empty = ${self.label-focused}
|
|
||||||
label-empty-padding = ${res/config.padding}
|
|
||||||
label-empty-foreground = ${res/colors.foreground-dark}
|
|
||||||
label-empty-font = 3
|
|
||||||
|
|
||||||
[module/i3-mode]
|
[module/i3-mode]
|
||||||
type = internal/i3
|
type = internal/i3
|
||||||
format = <label-mode>
|
format = <label-mode>
|
||||||
|
Loading…
Reference in New Issue
Block a user