update polybar config

This commit is contained in:
ktyl 2022-06-01 19:07:25 +01:00
parent ffb35d0e95
commit 6676ddf3ae
1 changed files with 28 additions and 7 deletions

View File

@ -60,10 +60,10 @@ font-2 = siji:pixelsize=12;2
modules-left = ipc bspwm modules-left = ipc bspwm
modules-center = xwindow modules-center = xwindow
#modules-right = filesystem xbacklight alsa pulseaudio xkeyboard memory cpu wlan eth battery temperature date powermenu #modules-right = filesystem xbacklight alsa pulseaudio xkeyboard memory cpu wlan eth battery temperature date powermenu
modules-right = pulseaudio battery date modules-right = xkeyboard pulseaudio battery date
tray-position = right ;tray-position = none
tray-padding = 2 ;tray-padding = 2
;tray-background = #0063ff ;tray-background = #0063ff
wm-restack = bspwm wm-restack = bspwm
@ -80,6 +80,27 @@ override-redirect = true
cursor-click = pointer cursor-click = pointer
cursor-scroll = ns-resize cursor-scroll = ns-resize
[module/xkeyboard]
type = internal/xkeyboard
blacklist-0 = num lock
blacklist-1 = scroll lock
layout-icon-0 = us;
layout-icon-1 = ru;
format-prefix = ""
format-prefix-foreground = ${colors.foreground-alt}
format-prefix-underline = ${colors.secondary}
label-layout = %layout%
label-layout-underline = ${colors.secondary}
label-indicator-padding = 2
label-indicator-margin = 1
label-indicator-background = ${colors.secondary}
label-indicator-underline = ${colors.secondary}
[module/xwindow] [module/xwindow]
type = internal/xwindow type = internal/xwindow
label = %title:0:100:...% label = %title:0:100:...%
@ -200,13 +221,13 @@ format-disconnected =
type = internal/date type = internal/date
interval = 5 interval = 5
date =
date-alt = " %Y-%m-%d" date-alt = " %Y-%m-%d"
date =
time = %H:%M
time-alt = %H:%M:%S time-alt = %H:%M:%S
time = %H:%M
format-prefix = format-prefix =
format-prefix-foreground = ${colors.foreground-alt} format-prefix-foreground = ${colors.foreground-alt}
format-underline = #0a6cf5 format-underline = #0a6cf5
@ -216,7 +237,7 @@ label = %date% %time%
type = internal/pulseaudio type = internal/pulseaudio
format-volume = <label-volume> <bar-volume> format-volume = <label-volume> <bar-volume>
label-volume = VOL %percentage%% label-volume = vol %percentage%%
label-volume-foreground = ${root.foreground} label-volume-foreground = ${root.foreground}
label-muted = 🔇 muted label-muted = 🔇 muted