88 lines
2.0 KiB
INI
88 lines
2.0 KiB
INI
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||
;; POLYBAR CYBERPUNK — Static Neon Red version (no scripts)
|
||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||
|
||
[colors]
|
||
background = #0d0d0d
|
||
foreground = #c8c8c8
|
||
accent = #ff003c
|
||
dim = #444444
|
||
|
||
[bar/cyberpunk]
|
||
width = 100%
|
||
height = 30
|
||
background = ${colors.background}
|
||
foreground = ${colors.foreground}
|
||
border-size = 1
|
||
border-color = ${colors.accent}
|
||
padding-left = 2
|
||
padding-right = 2
|
||
|
||
font-0 = "Noto Sans:style=Regular:size=10;2"
|
||
font-1 = "Font Awesome 6 Free:style=Solid:pixelsize=12"
|
||
|
||
modules-left = workspaces
|
||
; modules-center =
|
||
modules-right = cpu memory network date tray
|
||
|
||
[settings]
|
||
screenchange-reload = true
|
||
|
||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||
;; MODULES
|
||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||
|
||
[module/workspaces]
|
||
type = internal/xworkspaces
|
||
label-active = %name%
|
||
label-active-background = ${colors.accent}
|
||
label-active-foreground = ${colors.background}
|
||
label-active-padding = 2
|
||
|
||
label-occupied = %name%
|
||
label-occupied-foreground = ${colors.accent}
|
||
label-occupied-padding = 2
|
||
|
||
label-empty = %name%
|
||
label-empty-foreground = ${colors.dim}
|
||
label-empty-padding = 2
|
||
|
||
[module/cpu]
|
||
type = internal/cpu
|
||
interval = 2
|
||
format = <label> %percentage%%
|
||
label = %{F#ff003c}%{F-} CPU
|
||
|
||
[module/memory]
|
||
type = internal/memory
|
||
interval = 5
|
||
format = <label> %percentage_used%%
|
||
label = %{F#ff003c}%{F-} RAM
|
||
|
||
[module/network]
|
||
type = internal/network
|
||
; если у тебя другое устройство, укажи его (например enp3s0, wlan0)
|
||
interface = wlan0
|
||
interval = 3
|
||
format-connected = %{F#ff003c}%{F-} %downspeed% %upspeed%
|
||
format-disconnected = %{F#444444} Offline%{F-}
|
||
|
||
[module/date]
|
||
type = internal/date
|
||
interval = 1
|
||
date = %Y-%m-%d
|
||
time = %H:%M:%S
|
||
format = <label>
|
||
label = %{F#ff003c}%{F-} %date% %time%
|
||
|
||
[module/tray]
|
||
type = internal/tray
|
||
format = <tray>
|
||
tray-spacing = 6
|
||
tray-size = 18
|
||
tray-background = ${colors.background}
|
||
tray-foreground = ${colors.accent}
|
||
tray-padding = 2
|
||
|
||
|