Polybar: Change content of secondary bars, add empty module
The empty module is so that you can null out a section of the bar more easily i.e. PB_BAR_PRIMARY_MODULES_LEFT=nothing
This commit is contained in:
parent
cced146f39
commit
b8d737cb5c
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
export PB_BAR_WIDTH=2548
|
||||
export PB_BAR_SECONDARY_WIDTH=1908
|
||||
export PB_MODULE_BAR_WIDTH=75
|
||||
export PB_MODULE_BAR_WIDTH=60
|
||||
export PB_MODULE_WLAN_INTERFACE=wlp5s0
|
||||
|
||||
|
@ -115,9 +115,9 @@ width = ${env:PB_BAR_SECONDARY_WIDTH:1908}
|
||||
monitor = ${env:PB_MONITOR}
|
||||
inherit = template/bar
|
||||
|
||||
modules-left = ${env:PB_BAR_SECONDARY_MODULES_LEFT:bspwm}
|
||||
modules-left = ${env:PB_BAR_SECONDARY_MODULES_LEFT: }
|
||||
modules-center = ${env:PB_BAR_SECONDARY_MODULES_CENTER: }
|
||||
modules-right = ${env:PB_BAR_SECONDARY_MODULES_RIGHT: }
|
||||
modules-right = ${env:PB_BAR_SECONDARY_MODULES_RIGHT:date}
|
||||
|
||||
[bar/secondary-2]
|
||||
width = ${env:PB_BAR_SECONDARY_WIDTH:1908}
|
||||
@ -129,7 +129,7 @@ border-bottom-size = 4
|
||||
border-top-size = 0
|
||||
|
||||
modules-left = ${env:PB_BAR_SECONDARY_2_MODULES_LEFT:bspwm}
|
||||
modules-center = ${env:PB_BAR_SECONDARY_2_MODULES_CENTER: }
|
||||
modules-center = ${env:PB_BAR_SECONDARY_2_MODULES_CENTER:xwindow}
|
||||
modules-right = ${env:PB_BAR_SECONDARY_2_MODULES_RIGHT: }
|
||||
|
||||
#========================================
|
||||
@ -148,6 +148,10 @@ type = custom/text
|
||||
content = " "
|
||||
content-background = ${res/colors.border}
|
||||
|
||||
[module/nothing]
|
||||
type = custom/text
|
||||
content = " "
|
||||
|
||||
# OTHER
|
||||
#====================
|
||||
[module/bspwm]
|
||||
|
Loading…
Reference in New Issue
Block a user