update polybar config
This commit is contained in:
parent
ffb35d0e95
commit
6676ddf3ae
|
@ -60,10 +60,10 @@ font-2 = siji:pixelsize=12;2
|
|||
modules-left = ipc bspwm
|
||||
modules-center = xwindow
|
||||
#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-padding = 2
|
||||
;tray-position = none
|
||||
;tray-padding = 2
|
||||
;tray-background = #0063ff
|
||||
|
||||
wm-restack = bspwm
|
||||
|
@ -80,6 +80,27 @@ override-redirect = true
|
|||
cursor-click = pointer
|
||||
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]
|
||||
type = internal/xwindow
|
||||
label = %title:0:100:...%
|
||||
|
@ -200,13 +221,13 @@ format-disconnected =
|
|||
type = internal/date
|
||||
interval = 5
|
||||
|
||||
date =
|
||||
date-alt = " %Y-%m-%d"
|
||||
date =
|
||||
|
||||
time = %H:%M
|
||||
time-alt = %H:%M:%S
|
||||
time = %H:%M
|
||||
|
||||
format-prefix =
|
||||
format-prefix =
|
||||
format-prefix-foreground = ${colors.foreground-alt}
|
||||
format-underline = #0a6cf5
|
||||
|
||||
|
@ -216,7 +237,7 @@ label = %date% %time%
|
|||
type = internal/pulseaudio
|
||||
|
||||
format-volume = <label-volume> <bar-volume>
|
||||
label-volume = VOL %percentage%%
|
||||
label-volume = vol %percentage%%
|
||||
label-volume-foreground = ${root.foreground}
|
||||
|
||||
label-muted = 🔇 muted
|
||||
|
|
Loading…
Reference in New Issue