Загрузка данных


[colors]
background = #121212
background-alt = #2a2a2a
foreground = #ffffff
primary = #ffffff
alert = #ff5555
disabled = #666666

[bar/main]
width = 100%
height = 22pt
radius = 0

background = ${colors.background}
foreground = ${colors.foreground}

line-size = 2pt

border-size = 0pt
border-color = #00000000

padding-left = 2
padding-right = 2

module-margin = 1

separator = |
separator-foreground = ${colors.disabled}

font-0 = monospace;2

modules-left = i3 xwindow
modules-right = pulseaudio memory cpu battery date

cursor-click = pointer
cursor-scroll = ns-resize
enable-ipc = true

[module/i3]
type = internal/i3
show-urgent = true
strip-wsnumbers = true
index-sort = true
enable-click = true
enable-scroll = false

format = <label-state> <label-mode>

label-focused = %name%
label-focused-background = ${colors.background-alt}
label-focused-foreground = ${colors.foreground}
label-focused-padding = 2

label-unfocused = %name%
label-unfocused-foreground = ${colors.disabled}
label-unfocused-padding = 2

label-visible = %name%
label-visible-padding = 2

label-urgent = %name%
label-urgent-background = ${colors.alert}
label-urgent-foreground = ${colors.foreground}
label-urgent-padding = 2

[module/xwindow]
type = internal/xwindow
label = %title:0:25:...%
label-foreground = ${colors.disabled}

[module/pulseaudio]
type = internal/pulseaudio
format-volume = vol <label-volume>
label-volume = %percentage%%
label-muted = muted
label-muted-foreground = ${colors.disabled}

[module/memory]
type = internal/memory
interval = 2
format-prefix = "ram "
label = %percentage_used%%

[module/cpu]
type = internal/cpu
interval = 2
format-prefix = "cpu "
label = %percentage%%

[module/battery]
type = internal/battery
full-at = 99
low-at = 15

; Чтобы узнать точные имена адаптера и батареи для твоей системы, можно выполнить в терминале: ls /sys/class/power_supply/
battery = BAT0
adapter = AC

format-charging = chr <label-charging>
format-discharging = bat <label-discharging>
format-full = full <label-full>

label-charging = %percentage%%
label-discharging = %percentage%%
label-full = %percentage%%

[module/date]
type = internal/date
interval = 1
date = %H:%M
label = %date%

[settings]
screenchange-reload = true
pseudo-transparency = true