Add xwindow module and some font changes

This commit is contained in:
fanyx 2022-06-10 14:24:40 +02:00
parent dd7a70dd59
commit afe58a5677
1 changed files with 16 additions and 3 deletions

View File

@ -25,7 +25,8 @@ crystal-4 = #4048A4
font-0 = Font Awesome 5 Free:style=solid:size=13;3
font-1 = FiraCode Nerd Font Mono:style=bold:size=13;3
font-2 = JetBrainsMono Nerd Font Mono:style=bold:size=13;3
font-2 = JetBrainsMono Nerd Font Mono:style=bold:size=11;3
font-3 = JetBrainsMono Nerd Font Mono:style=bold:size=10;3
[bar/primary]
monitor = DP-0
@ -45,10 +46,11 @@ line-size = 3
font-0 = ${fonts.font-0}
font-1 = ${fonts.font-1}
font-2 = ${fonts.font-2}
font-3 = ${fonts.font-3}
modules-left = bspwm xwindow
modules-center = date
modules-right = pulseaudio filesystem cpu memory eth powermenu
modules-right = pulseaudio cpu memory eth powermenu
[bar/secondary]
monitor = DP-4
@ -66,8 +68,9 @@ foreground = ${colors.foreground}
font-0 = ${fonts.font-0}
font-1 = ${fonts.font-1}
font-2 = ${fonts.font-2}
font-3 = ${fonts.font-3}
modules-left = bspwm xwindow
modules-left = bspwm
modules-center = date
# modules-right =
@ -110,6 +113,16 @@ label-empty-foreground = ${colors.disabled}
label-separator = |
label-separator-foreground = ${colors.disabled}
[module/xwindow]
type = internal/xwindow
format = <label>
format-padding = 2
format-font = 4
label = %title%
label-maxlen = 50
[module/pulseaudio]
type = internal/pulseaudio
use-ui-max = false