Update polybar with newly updated modules

This commit is contained in:
Tanguy Herbron 2021-04-26 17:27:15 +02:00
parent 35c567f42d
commit 18909afa41

View File

@ -65,7 +65,7 @@ fixed-center = true
; the percentage can optionally be extended with a pixel offset like so: ; the percentage can optionally be extended with a pixel offset like so:
; 50%:-10, this will result in a width or height of 50% minus 10 pixels ; 50%:-10, this will result in a width or height of 50% minus 10 pixels
width = 100% width = 100%
height = 30 height = 17
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) ; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
; the percentage can optionally be extended with a pixel offset like so: ; the percentage can optionally be extended with a pixel offset like so:
@ -106,6 +106,10 @@ line-color = ${color.ac}
; The top and bottom borders are added to the bar height, so the effective ; The top and bottom borders are added to the bar height, so the effective
; window height is: ; window height is:
; height + border-top-size + border-bottom-size ; height + border-top-size + border-bottom-size
border-top-size = 4
border-top-color = ${color.bg}
border-bottom-size = 4
border-bottom-color = ${color.bg}
; Meanwhile the effective window width is defined entirely by the width key and ; Meanwhile the effective window width is defined entirely by the width key and
; the border is placed withing this area. So you effectively only have the ; the border is placed withing this area. So you effectively only have the
; following horizontal space on the bar: ; following horizontal space on the bar:
@ -116,13 +120,13 @@ line-color = ${color.ac}
; Number of spaces to add at the beginning/end of the bar ; Number of spaces to add at the beginning/end of the bar
; Individual side values can be defined using: ; Individual side values can be defined using:
; padding-{left,right} ; padding-{left,right}
padding = 1 ; padding = 1
; Number of spaces to add before/after each module ; Number of spaces to add before/after each module
; Individual side values can be defined using: ; Individual side values can be defined using:
; module-margin-{left,right} ; module-margin-{left,right}
module-margin-left = 1 ; module-margin-left = 1
module-margin-right = 1 ; module-margin-right = 1
; Fonts are defined using <font-name>;<vertical-offset> ; Fonts are defined using <font-name>;<vertical-offset>
; Font names are specified using a fontconfig pattern. ; Font names are specified using a fontconfig pattern.
@ -136,6 +140,9 @@ font-0 = "Fira Code Nerd Font:style=Medium:size=10;1"
font-1 = "Wuncon Siji:size=12;1" font-1 = "Wuncon Siji:size=12;1"
font-2 = "xos4 Terminus:size=12;2" font-2 = "xos4 Terminus:size=12;2"
; font-0 = "MesloLGS Nerd Font:style=Medium:size=8"
; font-1 = "Wuncon Siji:size=12"
; font-2 = "xos4 Terminus:size=4"
; Modules are added to one of the available blocks ; Modules are added to one of the available blocks
; modules-left = cpu ram ; modules-left = cpu ram
; modules-center = xwindow xbacklight ; modules-center = xwindow xbacklight
@ -159,9 +166,9 @@ font-2 = "xos4 Terminus:size=12;2"
;cpu_bar memory_bar filesystem_bar mpd_bar ;cpu_bar memory_bar filesystem_bar mpd_bar
;volume brightness battery_bar ;volume brightness battery_bar
modules-left = title modules-left = space keyboard | space backlight space pulseaudio-control
modules-center = workspaces modules-center = workspaces updates
modules-right = keyboard backlight battery pulseaudio-control checknetwork modules-right = nvidia space round-left cpu temperature round-right space memory | space filesystem space | space battery space round-left date round-right space
; The separator will be inserted between the output of each module ; The separator will be inserted between the output of each module
separator = separator =