;   To learn more about how to configure Polybar
;   go to https://github.com/polybar/polybar

include-file = $HOME/.config/polybar/colors.ini

include-file = $HOME/.config/polybar/modules/margin.ini
include-file = $HOME/.config/polybar/modules/round-left.ini
include-file = $HOME/.config/polybar/modules/round-right.ini

include-file = $HOME/.config/polybar/modules/cpu.ini
include-file = $HOME/.config/polybar/modules/date.ini
include-file = $HOME/.config/polybar/modules/i3.ini
include-file = $HOME/.config/polybar/modules/launcher.ini
include-file = $HOME/.config/polybar/modules/memory.ini
include-file = $HOME/.config/polybar/modules/network.ini
include-file = $HOME/.config/polybar/modules/pulseaudio.ini
include-file = $HOME/.config/polybar/modules/session.ini
include-file = $HOME/.config/polybar/modules/title.ini
include-file = $HOME/.config/polybar/modules/xworkspaces.ini
include-file = $HOME/.config/polybar/modules/updates.ini

[bar/main]
monitor = ${env:MONITOR:}
width = 100%
height = 30
offset-y = 5
fixed-center = true

override-redirect = true
wm-restack = i3
enable-ipc = true

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

include-file = $HOME/.config/polybar/fonts.ini

modules-left = margin round-left i3 round-right margin round-left title round-right
modules-center = round-left date round-right
modules-right = round-left updates round-right margin round-left cpu round-right margin round-left memory round-right margin round-left network round-right margin round-left pulseaudio round-right margin

tray-background = ${colors.grey-9}
tray-position = none
tray-maxsize = 16

cursor-click = pointer
cursor-scroll = ns-resize

[settings]
screenchange-reload = true
