polybar: set time format, animations, etc
This commit is contained in:
parent
4047386cef
commit
ac39fad3e9
|
@ -52,15 +52,16 @@ separator-foreground = ${colors.separator}
|
|||
|
||||
font-0 = Open Sans:size=10;2
|
||||
|
||||
modules-left = xworkspaces xwindow
|
||||
modules-right = filesystem xkeyboard brightness memory cpu battery wlan eth date
|
||||
modules-left = xworkspaces xwindow round-right
|
||||
modules-center = round-left date
|
||||
modules-right = filesystem xkeyboard brightness memory cpu battery wlan eth
|
||||
|
||||
cursor-click = pointer
|
||||
cursor-scroll = ns-resize
|
||||
|
||||
enable-ipc = true
|
||||
|
||||
tray-position = center
|
||||
tray-position = right
|
||||
|
||||
wm-restack = generic
|
||||
|
||||
|
@ -152,9 +153,18 @@ label = %percentage:2%%
|
|||
|
||||
[module/battery]
|
||||
type = internal/battery
|
||||
battery = BAT
|
||||
battery = BAT0
|
||||
adapter = AC
|
||||
low-at = 15
|
||||
low-at = 10
|
||||
format-charging = <animation-charging> <label-charging>
|
||||
label-charging = Charging %percentage%%
|
||||
animation-charging-0 =
|
||||
animation-charging-1 =
|
||||
animation-charging-2 =
|
||||
animation-charging-3 =
|
||||
animation-charging-4 =
|
||||
; Framerate in milliseconds
|
||||
animation-charging-framerate = 750
|
||||
|
||||
[network-base]
|
||||
type = internal/network
|
||||
|
@ -177,7 +187,7 @@ label-connected = %{F#F0C674}%ifname%%{F-} %local_ip%
|
|||
type = internal/date
|
||||
interval = 1
|
||||
|
||||
date = %H:%M
|
||||
date = %H:%M - %A %d %B
|
||||
date-alt = %Y-%m-%d %H:%M:%S
|
||||
|
||||
label = %date%
|
||||
|
|
Loading…
Reference in a new issue