include-file = ./colors.ini
[bar/bar_left]
inherit = section/bar
width = 33.5%
modules-left =
modules-center = date cpu-temperature gpu-temperature network battery xkeyboard
[bar/bar_center]
inherit = section/bar
width = 30%
offset-x = 34.5%
modules-center = now_playing
[bar/bar_right]
inherit = section/bar
width = 26%
offset-x = 65.5%
modules-center = i3 cpu memory brightness pulseaudio
[bar/bar_tray]
inherit = section/bar
width = 7.5%
offset-x = 92.52%
modules-right = tray
[section/bar]
height = 24
; radius = 12
offset-y = 12
screenchange-reload = true
pseudo-transparency = true
transparency = true
; dpi = 96
background = ${colors.base}
foreground = ${colors.text}
; line-size = 3pt
module-margin = 1
modules-left = left
modules-right = right
; border-size = 2pt
; border-color = ${colors.overlay1}
; separator =
; separator-foreground = ${colors.BG1}
font-0 = JetBrainsMono Nerd Font,JetBrainsMono NF:pixelsize=11:weight=bold;2
font-1 = DejaVuSansM Nerd Font Mono:pixelsize=22:weight=bold:antialias=true;05
; content-font = 2
cursor-click = pointer
cursor-scroll = ns-resize
enable-ipc = true
; tray-position = right
; wm-restack = generic
; wm-restack = bspwm
wm-name = i3
wm-restack = i3
override-redirect = true
fixed-center = true
[module/left]
; █
type = custom/text
content = %{O0}
content-foreground = ${colors.base}
content-background = #00000000
content-font = 2
[module/right]
; █
type = custom/text
content = %{O0}
content-foreground = ${colors.base}
content-background = #00000000
content-font = 2
[module/tray]
type = internal/tray
tray-padding = 4
tray-size = 75%
[module/cava]
type = custom/script
tail = true
exec = ~/.config/polybar/custom_scripts/cava.sh
format = <label>
; format-font = 3
label = %{F#f5c2e7}%output%%{F-}
[module/now_playing]
type = custom/script
tail = true
format = <label>
exec = ~/.config/polybar/custom_scripts/now_playing.py
[module/cpu-temperature]
type = internal/temperature
format = <ramp> <label>
format-warn = <ramp>! <label>
hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon5/temp1_input
label = %temperature-c%
ramp-0 =
ramp-1 =
ramp-2 =
ramp-3 =
ramp-4 =
ramp-foreground = ${colors.red}
interval = 1
[module/gpu-temperature]
type = internal/temperature
format = <ramp> <label>
format-warn = <ramp>! <label>
hwmon-path = /sys/devices/pci0000:00/0000:00:06.0/0000:02:00.0/nvme/nvme0/hwmon3/temp1_input
label = %temperature-c%
ramp-0 =
ramp-1 =
ramp-2 =
ramp-3 =
ramp-4 =
ramp-foreground = ${colors.red}
interval = 1
[module/i3]
type = internal/i3
show-urgent = true
index-sort = true
reverse-scroll = false
format = <label-state>
label-focused =
label-focused-foreground = ${colors.red}
label-focused-padding = 1
label-unfocused =
label-unfocused-foreground = ${colors.blue}
label-unfocused-padding = 1
label-urgent =
label-urgent-foreground = ${colors.yellow}
label-urgent-padding = 1
label-separator =
label-separator-padding = 0
label-separator-foreground = ${colors.surface2}
[module/xwindow]
type = internal/xwindow
label = %title:0:60:...%
[module/filesystem]
type = internal/fs
interval = 1
mount-0 = /
mount-1 = /home
label-mounted = %{F#f9e2af}%mountpoint%%{F-} %percentage_used%%
format-mounted-prefix =
format-mounted-prefix-foreground = ${colors.maroon}
format-unmounted-prefix =
format-unmounted-prefix-foreground = ${colors.crust}
[module/pulseaudio]
type = internal/pulseaudio
format-volume = <ramp-volume> <label-volume>
format-muted = <label-muted>
label-muted = MUTE
label-muted-foreground = ${colors.subtext0}
ramp-volume-0 =
ramp-volume-1 =
ramp-volume-2 =
ramp-volume-3 =
; ramp-volume-font = 2
ramp-volume-foreground = ${colors.teal}
label-volume = %percentage%%
[module/xkeyboard]
type = internal/xkeyboard
blacklist-0 = num lock
blacklist-1 = caps lock
blacklist-2 = scroll lock
label-layout = %icon%
label-layout-foreground = ${colors.overlay1}
layout-icon-default =
layout-icon-0 = us;en
layout-icon-1 = ara;ar
[module/memory]
type = internal/memory
interval = 1
format-prefix = " "
format-prefix-foreground = ${colors.blue}
label = "%percentage_used%%"
[module/cpu]
type = internal/cpu
interval = 1
format = <label>
format-prefix = " "
; format-prefix-font = 2
format-prefix-foreground = ${colors.yellow}
label = %percentage%%
[module/network]
type = internal/network
interface-type = wireless
label-connected = %{F#F0C674}%{F-} %downspeed% %upspeed%%{A}
interval = 1
accumulate-stats = true
unknown-as-up = true
format-connected = <ramp-signal>%{O8} <label-connected>
format-disconnected = <label-disconnected>
format-disconnected-prefix = " "
; format-disconnected-prefix-font = 2
format-disconnected-foreground = ${colors.overlay1}
label-disconnected = not connected
; Only applies if <ramp-signal> is used
ramp-signal-0 =
ramp-signal-1 =
ramp-signal-2 =
ramp-signal-3 =
ramp-signal-4 =
ramp-signal-foreground = ${colors.mauve}
; ramp-signal-font = 2
[module/date]
type = internal/date
interval = 1
time = %H:%M
time-alt = %A %d/%m/%Y
format = <label>
format-prefix = " "
; format-prefix-font = 2
format-prefix-foreground = ${colors.sapphire}
label = %time%
[module/battery]
type = internal/battery
full-at = 95
low-at = 20
format-full = <ramp-capacity> <label-full>
format-charging = <animation-charging> <label-charging>
format-discharging = <animation-discharging> <label-discharging>
format-low = <animation-low> <label-low>
ramp-capacity-0 =
ramp-capacity-1 =
ramp-capacity-foreground = ${colors.green}
animation-low-foreground = ${colors.red}
label-full = %percentage%%
label-charging = %percentage%%
label-discharging = %percentage%%
label-low = %percentage%%
animation-charging-0 =
animation-charging-1 =
animation-charging-2 =
animation-charging-3 =
animation-charging-4 =
animation-charging-framerate = 400
animation-discharging-0 =
animation-discharging-1 =
animation-discharging-2 =
animation-discharging-3 =
animation-discharging-4 =
animation-discharging-framerate = 200
animation-low-0 = !
animation-low-1 =
animation-low-framerate = 100
poll-interval = 1
[module/brightness]
type = internal/backlight
; Use the following command to list available cards:
; $ ls -1 /sys/class/backlight/
;card = ${system.graphics_card}
use-actual-brightness = true
card = intel_backlight
enable-scroll = true
format = <ramp> <label>
;format-prefix=
label = %percentage%%
ramp-0 =
ramp-1 =
ramp-2 =
ramp-3 =
ramp-4 =
ramp-5 =
ramp-6 =
ramp-7 =
ramp-8 =
ramp-9 =
ramp-10 =
ramp-11 =
ramp-12 =
ramp-13 =
ramp-14 =
ramp-foreground = ${colors.sky}