benji / polybar-blap

~/.config/polybar/config-blap Commits Diff Raw
[bar/mybar]
  font-0 = SourceCodePro:pixelsize=15;2

  width = 100%
  height = 24

  background = #ff333333
  foreground = #ffe6e6e6

  border-color = #ff00ff00

  padding-right = 2

  modules-left = i3 sep wifi
  modules-center = mem sep cpu sep temp
  modules-right = bat sep time

[module/sep]
  type = custom/text

  content = " | "

[module/i3]
  type = internal/i3

  label-focused-foreground = #ff338ce6

  strip-wsnumbers = true

[module/time]
  type = internal/date

  interval = 1.0

  date = %Y-%m-%d
  time = %H:%M:%S
  label = %date% %time%

[module/cpu]
  type = internal/cpu

  interval = 0.5

  label = %percentage-cores%

[module/temp]
  type = internal/temperature

  interval = 0.5

  units = true
  label = %temperature-f%

[module/mem]
  type = internal/memory

  interval = 0.5

  label = %mb_free%

[module/wifi]
  type = internal/network

  interval = 0.5

  interface = wlp2s0

  label-connected = %local_ip% - %essid%
  label-disconnected = no network

[module/bat]
  type = internal/battery

  battery=BAT0
  adapter=AC

  poll-interval = 1

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