/
NikErmak
/
ArchlinuxConfig
Обзор
Документация
Войти
/
NikErmak
/
ArchlinuxConfig
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
polybar/config.ini
286 строк
6 KB
Nikolay Ermakov
commit qutebrowser, polybar, alacritty
30 окт 2025, 19:50
30 окт 2025, 19:50
8f84e89
Код
Авторство
О чём код?
[colors] background = #282A2E00 background-alt = #373B41 foreground = #C5C8C6 primary = #F0C674 secondary = #8ABEB7 alert = #A54242 disabled = #707880 bottom-line = #5A8C08 cpu = #5A8C08 cpu50 = #D4FF8F filesystem = #8C4708 memory = #08748C battery = #71088C pulseaudio = #8FEAFF ; #18434D ; #E4FFB9 #8FEAFF #301637 #372616 #2A3716 [bar/nikermak] width = 100% height = 24pt ; dpi = 96 background = ${colors.background} foreground = ${colors.foreground} line-size = 2pt border-size = 4pt border-color = #00000000 padding-left = 0 padding-right = 1 module-margin = 2 ;separator = | ;separator-foreground = ${colors.disabled} font-0 = "JetBrains:size=12;1" font-1 = "JetBrainsMono Nerd Font:size=15;2" modules-left = xworkspaces modules-center = memory filesystem cpu temperature battery modules-right = xkeyboard pulseaudio tray date cursor-click = pointer cursor-scroll = ns-resize enable-ipc = true wm-restack = i3 ;=========================================== ;========[MODULE-LEFT]====================== ;=========================================== [module/xworkspaces] type = internal/xworkspaces label-active = %name% label-active-background = ${colors.background-alt} label-active-underline= ${colors.primary} label-active-padding = 1 label-occupied = %name% label-occupied-padding = 1 label-urgent = %name% label-urgent-background = ${colors.alert} label-urgent-padding = 1 label-empty = %name% label-empty-foreground = ${colors.disabled} label-empty-padding = 1 ;=========================================== ;========[MODULE-CENTER]==================== ;=========================================== [module/memory] type = internal/memory interval = 2 warn-percentage = 90 format = <label> format-underline = ${colors.memory} format-prefix = "" format-prefix-padding-right = 4 format-prefix-foreground = ${colors.memory} label = %gb_used% / ( %percentage_used%% ) [module/filesystem] type = internal/fs interval = 25 mount-0 = / format-mounted = <label-mounted> format-mounted-underline = ${colors.filesystem} format-mounted-prefix = "" format-mounted-prefix-padding-right = 3 label-mounted = %percentage_free%% format-mounted-prefix-foreground = ${colors.filesystem} label-mounted-foreground = ${colors.foreground} [module/cpu] type = internal/cpu interval = 3 warn-percentage = 80 format = <label> format-prefix = "" format-prefix-padding-right = 2 format-prefix-foreground = ${colors.cpu} label = %percentage:2% format-underline = ${colors.cpu} format-warn = <label-warn> format-warn-prefix = " " format-warn-prefix-padding-riht = 2 format-warn-prefix-foreground = ${colors.cpu50} label-warn = %percentage:2% format-warn-underline = ${colors.cpu} [module/temperature] type = internal/temperature interval = 2 base-temperature = 20 warn-temperature = 80 format-underline = ${colors.cpu} format = <ramp> <label> label = %temperature-c% label-foreground = ${colors.foreground} format-warn = <ramp> <label-warn> label-warn = %temperature-c% label-warn-foreground = ${colors.primary} format-warn-underline = ${colors.cpu} ramp-0 = "" ramp-1 = "" ramp-2 = "" ramp-3 = "" ramp-0-foreground = ${colors.cpu} ramp-1-foreground = ${colors.cpu} ramp-2-foreground = ${colors.cpu50} ramp-3-foreground = ${colors.cpu50} ramp-0-padding-right = 1 ramp-1-padding-right = 1 ramp-2-padding-right = 1 ramp-3-padding-right = 1 [module/battery] type = internal/battery full-at = 99 low-at = 20 battery = BAT0 adapter = ADP1 poll-interval = 3 format-discharging-underline = ${colors.battery} format-discharging-underline-size = 2 format-charging = <animation-charging><label-charging> animation-charging-padding-right = 2 label-charging = %percentage% animation-charging-0 = animation-charging-1 = animation-charging-2 = animation-charging-3 = animation-charging-4 = animation-charging-framerate = 750 animation-charging-foreground = ${colors.battery} format-charging-underline = ${colors.battery} format-discharging = <ramp-capacity><label-discharging> ramp-capacity-padding-right = 2 label-discharging = %percentage% ramp-capacity-0 = ramp-capacity-1 = ramp-capacity-2 = ramp-capacity-3 = ramp-capacity-4 = ramp-capacity-5 = ramp-capacity-foreground = ${colors.battery} format-full = <ramp-capacity><label-full> label-full = %percentage% ;label-full-prefix-foreground = ${colors.battery} format-full-underline = ${colors.battery} format-low = <label-low><animation-low> label-low = label-low-padding-right = 3 animation-low-0 = animation-low-1 = animation-low-framerate = 500 label-low-foreground = ${colors.battery} animation-low-foreground = ${colors.primary} format-low-underline = ${colors.battery} ;=========================================== ;========[MODULE-RIGHT]===================== ;=========================================== [module/xkeyboard] type = internal/xkeyboard blacklist-0 = num lock label-indicator-on = +%icon% label-indicator-on-capslock = label-indicator-off-capslock = label-indicator-on-capslock-foreground = ${colors.primary} label-indicator-off-capslock-foreground = ${colors.background} [module/pulseaudio] type = internal/pulseaudio use-ui-max = false format-volume = <ramp-volume><label-volume> format-volume-underline = ${colors.pulseaudio} label-volume = %percentage% ramp-volume-0 = ramp-volume-1 = ramp-volume-2 = ramp-volume-foreground = ${colors.pulseaudio} ramp-volume-padding-right = 3 label-muted = label-muted-foreground = ${colors.disabled} [network-base] type = internal/network interval = 5 format-connected = <label-connected> format-disconnected = <label-disconnected> label-disconnected = %{F#F0C674}%ifname%%{F#707880} disconnected [module/wlan] inherit = network-base interface-type = wireless label-connected = %{F#F0C674}%ifname%%{F-} %essid% %local_ip% [module/eth] inherit = network-base interface-type = wired label-connected = %{F#F0C674}%ifname%%{F-} %local_ip% [module/tray] type = internal/tray format-margin = 5pt tray-spacing = 20pt [module/date] type = internal/date interval = 1 date = %H:%M date-alt = %Y-%m-%d %H:%M:%S label = %date% label-foreground = ${colors.primary} [settings] screenchange-reload = true pseudo-transparency = true ; vim:ft=dosini