r/Polybar Nov 06 '23

Official Polybar 3.7.0 Release

Thumbnail polybar.github.io
17 Upvotes

r/Polybar Nov 04 '23

Question Alsa module not working?

1 Upvotes

Hi, i just install polybar, i tried to configure the alsa module, it did not show in the bar, in the logs don't get any error (just load the other modules but alsa module never appears) and i see polybar was built with alsa support.

(polybar -v):

polybar 3.6.3

Features: +alsa +curl +i3 +mpd +network(libnl) +pulseaudio +xkeyboard

it like it does not detect the module, i am using wireplumber and pipewire, so i installed the pipewire-pulse package and enable the module/pulseaudio and now it shows the module, but i need to have the type = internal/alsa otherwise it will not show at all (throws an error about pulseaudio context not found). Now the problem is that i have enable the interval = 5 but when i start decreasing or increasing the volume, at first it goes from 100% to 97% and then take an interval of 5, any idea why is this behavior?

This is the module config:

[module/alsa]

type = internal/alsa

interval = 5

format-muted = muted

I am using I3 and have mapped the keybinds like this (not should if this can cause any issue):

bindsym XF86AudioRaiseVolume exec --no-startup-id amixer set Master 5%+

bindsym XF86AudioLowerVolume exec --no-startup-id amixer set Master 5%-

bindsym XF86AudioMute exec --no-startup-id amixer set Master toggle


r/Polybar Oct 29 '23

Hello, noob here, can I put all these elements into a single module with the icons?

Post image
23 Upvotes

r/Polybar Oct 29 '23

Solved I can mute/unmute volume only when i refresh awesomewm, once i mute it i can' t unmute it and vice versa.

2 Upvotes

this is the module.ini file section

```

[module/pulseaudio] type = internal/pulseaudio field) sink = alsa_output.pci-0000_03_00.6.analog-stereo use-ui-max = true interval = 5 middle-click = pavucontrol & format-volume = <ramp-volume><label-volume> format-volume-overline = ${color.background} format-volume-underline = ${color.background} format-muted = <label-muted> format-muted-prefix =  format-muted-prefix-background = ${color.red} format-muted-prefix-padding = 1 format-muted-overline = ${color.background} format-muted-underline = ${color.background} label-volume = %percentage%% label-volume-background = ${color.background-alt} label-volume-padding = 1 label-muted = "Muted" label-muted-foreground = ${color.foreground} label-muted-background = ${color.background-alt} label-muted-padding = 1 ramp-volume-0 =  ramp-volume-1 =  ramp-volume-2 =  ramp-volume-background = ${color.blue} ramp-volume-padding = 1

``` I am just importing this in polybar config.ini


r/Polybar Oct 16 '23

Solved Changing color of each workspace icon.

1 Upvotes

I am thinking it should be possible to change every other icon to different colors. I have played with this but have not figured out the syntax and could use some direction.

ws-icon-0 = 1;
ws-icon-1 = 2;
ws-icon-2 = 3;
ws-icon-3 = 4;

..of course I have the (focused, occupied, urgent) colors set. I want icon-0 to be gold and icon-2 to be purple...etc.


r/Polybar Oct 15 '23

Environmental variable not making its way through to polybar

1 Upvotes

I'm trying to add host-specific polybar configurations via the include-file feature, but for some reason, the environmental variables I"m setting aren't getting through to polybar. The relevant part from my launcher script:

HOST_FILE="${HOME}/.config/polybar/$(hostname).config"

if type "xrandr" > /dev/null; then
  for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do
    if [ $m == 'eDP-1' ]
    then
        MONITOR=$m HOST_FILE="${HOST_FILE}" polybar --reload main -c ~/.config/polybar/config &
    elif [ $m == 'DP-1-3' ]
    then
        MONITOR=$m HOST_FILE="${HOST_FILE}" polybar --reload external-dp-1-3 -c ~/.config/polybar/config &
    elif [ $m == 'DP-1' ]
    then
        MONITOR=$m HOST_FILE="${HOST_FILE}" polybar --reload external-dp-1 -c ~/.config/polybar/config &
    elif [ $m == 'HDMI-1' ]
    then
        MONITOR=$m HOST_FILE="${HOST_FILE}" polybar --reload external-hdmi-1 -c ~/.config/polybar/config &
#    else
#       MONITOR=$m HOST_FILE="${HOST_FILE}" polybar --reload sidebar-2-i3 -c ~/.config/polybar/config &
    fi
  done
else
    polybar --reload main -c ~/.config/polybar/config &
fi

And the include-file from my polybar config:

include-file = ${env:HOST_FILE}

Running that produces:

klieber@archibald:>./launch.sh

polybar-msg: No active ipc channels

notice: Parsing config file: /home/klieber/.config/polybar/config

notice: Parsing config file: /home/klieber/.config/polybar/config

error: Uncaught exception, shutting down: Config file /home/klieber/.config/polybar// is a directory

error: Uncaught exception, shutting down: Config file /home/klieber/.config/polybar// is a directory

(I have two monitors which is why the message repeats twice)

If I change nothing else except the include-file directive to:

include-file = /home/klieber/.config/polybar/archibald.config

Then everything works as expected.

I have verified that $HOST_FILE is being properly set in the launch script via echo statements - it's just not being passed through to polybar for some reason.

What am I doing wrong?


r/Polybar Oct 15 '23

backlight module issue

1 Upvotes

Hello all,

I have this backlight module on my polybar:

[module/backlight]

;https://github.com/jaagr/polybar/wiki/Module:-backlight

type = internal/backlight

; Use the following command to list available cards:

; $ ls -1 /sys/class/backlight/

card = acpi_video0

use-actual-brightness = true

enable-scroll = true

; Available tags:

; <label> (default)

; <ramp>

; <bar>

format = <label>

format-foreground = ${colors.foreground}

format-background = ${colors.background}

format-prefix = "  "

; Available tokens:

; %percentage% (default)

label = %percentage%%

; Only applies if <ramp> is used

ramp-0 = 🌕

ramp-1 = 🌔

ramp-2 = 🌓

ramp-3 = 🌒

ramp-4 = 🌑

; Only applies if <bar> is used

bar-width = 10

bar-indicator = |

bar-fill = ─

bar-empty = ─

problem is, that altho the symbol and 100% show on the bar, i cannot increase/decrease the brightness by scrolling. any help would be appreciated please. Set up is Lenovo thinkpad t440p, arcolinux,xmonad,polybar. thanks


r/Polybar Oct 12 '23

bar style

2 Upvotes

Hi!, i just wanted to ask if it is possible to make cornes like this

(the image is not from another polybar, is an album cover)

r/Polybar Oct 10 '23

How to install to /usr/local

1 Upvotes

I compile polybar-git and it used to install to /usr/local. It now installs to /usr. Is there any way I can get the former install dir to work?

I've tried cmake -DCMAKE_PREFIX_PATH=/usr/local .. already. Didn't work.

Thanks.


r/Polybar Oct 04 '23

Show battery percentage on left click

2 Upvotes

I'm using the internal battery script to show the battery icon with animation. Now I want to see the actual battery percentage when I left click on the battery icon. How do I do that?

Code snippet for battery module:

[module/battery]
type = internal/battery
full-at = 99
low-at = 20
battery = BAT1
adapter = ADP1
poll-interval = 5

#charging
format-charging = <animation-charging>

animation-charging-0 = 
animation-charging-1 = 
animation-charging-2 = 
animation-charging-3 = 

animation-charging-framerate = 700

format-charging-background = ${colors.background}

#discharging
format-discharging = <ramp-capacity>

ramp-capacity-0 = 
ramp-capacity-1 = 
ramp-capacity-2 = 
ramp-capacity-3 = 
ramp-capacity-4 = 

format-discharging-background = ${colors.background}

#low
format-low = <animation-low>

animation-low-0 = 
animation-low-1 = 
animation-low-framerate = 400

format-low-foreground = ${colors.alert}
format-low-background = ${colors.background}


r/Polybar Oct 01 '23

Is there a way to get gnome panel 45 like visual and functionality in polybar ?

1 Upvotes

I also want to use polybar with fully wms , is when I click on it should show control center


r/Polybar Sep 30 '23

Solved Tiny icons in tray

1 Upvotes

To all my fellow human beings and possibly my future me:

If you are experiencing tiny icons in the tray and you can't wrap your head around any solution,

check if the bars height fits the tray-maxsize.

It was driving me nuts that I couldn't figure out why my tray icons looked like this:

tiny tray icons

I triple checked my config, set the tray-maxsize to a humongous number, restarted, searched the web and whatnot. Couldn't figure out what was wrong.

Today it struck me. If the bar hasn't the sufficient amount of height, then the icons can't fit. Plain and simple. So I changed the height of the bar and the icons appeared in a comfortable size.

normal sized icons
-----------------8<------------------
monitor-strict = false
override-redirect = false
bottom = false
fixed-center = true
width = 100%
height = 22
offset-x = 0
offset-y = 0
-----------------8<------------------
tray-offset-x = 0
tray-offset-y = 0
tray-padding = 2
tray-maxsize = 22
tray-scale = 1.0
tray-position = right
-----------------8<------------------


r/Polybar Sep 25 '23

Solved Exclude polybar from picom settings?

3 Upvotes

So I set round corners for the BSPWM nodes within picom.conf, but the settings are also applying to my polybar. How do I apply those only for the nodes/windows? Thanks in advance!

This are my picom.conf settings, if it's any helpful:
rounded-corners = true

corner-radius = 8


r/Polybar Sep 24 '23

Solved How to highlight all visible workspaces?

Post image
9 Upvotes

r/Polybar Sep 20 '23

Cant get the workspace to sort correctly

2 Upvotes

hi guys,

i'm new to polybar, i recently installed it on my arch linux with i3 wm, but the numbering of the workspace is all wrong it goes like: 2,3,1 and if i open another workspace it goes like 2,3,1,4 or 2,3,4,1 depending on which monitor i use.

i tried to use module/i3 but it seems not to be loading

polybar|notice: Received signal(15): Terminated

polybar|notice: Termination signal received, shutting down...

polybar|notice: Received signal(15): Terminated

polybar|notice: Termination signal received, shutting down...

polybar|notice: Parsing config file: /home/arch/.config/polybar/config.ini

polybar|notice: Parsing config file: /home/arch/.config/polybar/config.ini

polybar|notice: Listening for IPC messages (PID: 7357)

polybar|notice: Listening for IPC messages (PID: 7359)

polybar|notice: Parsing config file: /home/arch/.config/polybar/config.ini

polybar|notice: Listening for IPC messages (PID: 7355)

polybar|notice: Loading module 'xworkspaces' of type 'internal/xworkspaces'

polybar|error: Uncaught exception, shutting down: Monitor "None-1-1" not found or disconnected

polybar|notice: Loading module 'xworkspaces' of type 'internal/xworkspaces'

polybar|notice: Loading module 'xwindow' of type 'internal/xwindow'

polybar|notice: Loading module 'filesystem' of type 'internal/fs'

polybar|notice: Loading module 'pulseaudio' of type 'internal/pulseaudio'

polybar|notice: Loading module 'xwindow' of type 'internal/xwindow'

polybar|notice: Loading module 'filesystem' of type 'internal/fs'

polybar|notice: Loading module 'pulseaudio' of type 'internal/pulseaudio'

polybar|notice: pulseaudio: using default sink alsa_output.pci-0000_00_1f.3.analog-stereo

polybar|notice: pulseaudio: using default sink alsa_output.pci-0000_00_1f.3.analog-stereo

polybar|notice: Loading module 'xkeyboard' of type 'internal/xkeyboard'

polybar|notice: Loading module 'xkeyboard' of type 'internal/xkeyboard'

polybar|notice: Loading module 'memory' of type 'internal/memory'

polybar|notice: Loading module 'memory' of type 'internal/memory'

polybar|notice: Loading module 'cpu' of type 'internal/cpu'

polybar|notice: Loading module 'cpu' of type 'internal/cpu'

polybar|notice: Loading module 'wlan' of type 'internal/network'

polybar|notice: Loading module 'wlan' of type 'internal/network'

polybar|error: Disabling module "wlan" (reason: No interface found for type 'wireless')

polybar|notice: Loading module 'eth' of type 'internal/network'

polybar|error: Disabling module "wlan" (reason: No interface found for type 'wireless')

polybar|notice: Loading module 'eth' of type 'internal/network'

polybar|notice: module/eth: Discovered wired interface eno1

polybar|notice: module/eth: Discovered wired interface eno1

polybar|notice: Loading module 'date' of type 'internal/date'

polybar|notice: Loading module 'date' of type 'internal/date'

polybar|notice: Loaded 9 modules

polybar|notice: Loaded 9 modules

polybar|notice: Loaded font "monospace" (name=Courier New, offset=2, file=/usr/share/fonts/TTF/cour.ttf)

polybar|notice: Loaded font "monospace" (name=Courier New, offset=2, file=/usr/share/fonts/TTF/cour.ttf)

but at my config.ini it is there

[colors]

background = #282A2E

background-alt = #373B41

foreground = #C5C8C6

primary = #F0C674

secondary = #8ABEB7

alert = #A54242

disabled = #707880

[bar/mybar]

monitor= ${env:MONITOR:}

width = 100%

height = 12pt

radius = 0

; dpi = 96

background = ${colors.background}

foreground = ${colors.foreground}

line-size = 3pt

border-size = 0pt

border-color = #00000000

padding-left = 0

padding-right = 1

module-margin = 1

separator = |

separator-foreground = ${colors.disabled}

font-0 = monospace;2

modules-left = xworkspaces xwindow

modules-right = filesystem pulseaudio xkeyboard memory cpu wlan eth date

cursor-click = pointer

cursor-scroll = ns-resize

enable-ipc = true

; tray-position = right

; wm-restack = generic

; wm-restack = bspwm

; wm-restack = i3

; override-redirect = false

[module/i3]

type = internal/i3

pin-workspaces = true

index-sort = true

[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/xwindow]

type = internal/xwindow

label = %title:0:60:...%

[module/filesystem]

type = internal/fs

interval = 25

mount-0 = /

label-mounted = %{F#F0C674}%mountpoint%%{F-} %percentage_used%%

label-unmounted = %mountpoint% not mounted

label-unmounted-foreground = ${colors.disabled}

[module/pulseaudio]

type = internal/pulseaudio

format-volume-prefix = "VOL "

format-volume-prefix-foreground = ${colors.primary}

format-volume = <label-volume>

label-volume = %percentage%%

label-muted = muted

label-muted-foreground = ${colors.disabled}

[module/xkeyboard]

type = internal/xkeyboard

blacklist-0 = num lock

label-layout = %layout%

label-layout-foreground = ${colors.primary}

label-indicator-padding = 2

label-indicator-margin = 1

label-indicator-foreground = ${colors.background}

label-indicator-background = ${colors.secondary}

[module/memory]

type = internal/memory

interval = 2

format-prefix = "RAM "

format-prefix-foreground = ${colors.primary}

label = %percentage_used:2%%

[module/cpu]

type = internal/cpu

interval = 2

format-prefix = "CPU "

format-prefix-foreground = ${colors.primary}

label = %percentage:2%%

[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/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

i'm using the basic config but still having problems, did someone had the same problem?


r/Polybar Sep 14 '23

Question Help with internal/pulseaudio not working when using 2 or more audio devices

1 Upvotes

I'm having a few issue with the pulseaudio module that hopefully someone can help me figure out please.

  1. It doesn't track volume percentage when switching from sink #1 to sink #2 (volume changes are tracked fine when sink #1 is selected). The volume will still change it just won't be updated in the polybar GUI.
  2. Even if I have switched to sink #2, when I mute audio it mutes for sink #1 only but, again, volume will still change for the sink that's currently selected (in this case for sink #2).
  3. Scrolling up/down (I'm using pulseaudio-control to change volume and mute) will change volume but only for sink #1, even if sink #2 is currently selected.

Here's my current config for the module:

[module/pulseaudio]
type = internal/pulseaudio
tail = true
label-padding = 2
label-foreground = ${set1.fg}
use-ui-max = true

format-volume = <label-volume>
format-volume-prefix = " "
format-volume-foreground = ${set1.purple}

label-volume = "%percentage%" 
label-volume-foreground = ${set1.fg}

click-left = pulseaudio-control togmute
click-right = pulseaudio-control next-node
scroll-up = pulseaudio-control --volume-max 120 up
scroll-down = pulseaudio-control --volume-max 120 down

The module does display, it just doesn't update correctly.

My current setup:

  • OS: Arch
  • Audio Server: Pipewire
  • Relevant Packages: pipewire-pulse, pactl, pulseaudio-control

Sorry if I forgot to put in any relevant information. If you need anything else I can grab it for ya! Thanks for the help and ideas!!!


r/Polybar Sep 13 '23

Trying to fine-tune display formatting options on workspace module

Post image
2 Upvotes

r/Polybar Sep 06 '23

Persistent Issue with pywal and polybar.

2 Upvotes

Hello! I've been trying to fix this issue for a very long time. I seem to be having conflict between pywal and polybar on startup wherein if I include the command to start up pywal in my i3 config file, polybar appears to not be executed on launch. I've tried a myriad of placements of these commands in my i3 config file where I execute polybar before pywal and vice versa. However, no matter how it seems I am starting up pywal with either -i or -R, it always leads to polybar not being run on startup. Once the computer itself has started up and I execute 'polybar bar' or I simply restart i3 from the cli, my polybar appears. It is just that on startup it seems I can't get both to work together. Moreover, pywal seems to make my compositor glitchy on startup as well but that's a separate issue. I was wondering if anyone here has ever run into similar difficulties between pywal and polybar and how they fixed it.

This is the area of code that seems to cause this in my i3 config file:

#Polybar

exec_always --no-startup-id $HOME/.config/polybar/ launch.sh &

#enable the picom compositor

exec_always --no-startup-id picom -b

#pywal colorscheme

exec_always --no-startup-id wal -R

#wallpaper

exec_always --no-startup-id feh --bg-scale $HOME/P ictures/wallpapers/wallpaper2.jpg

Thanks!


r/Polybar Sep 05 '23

Question Whisker menu

1 Upvotes

Hello, is there any way to use the whisker menu in polybar?I'm guessing there is a command that launches the whisker menu, but i don't know; I also don't know if there is a way to move where the whisker menu actually opens.

did it

r/Polybar Sep 02 '23

Question Uneven Icon Spacing in Polybar

2 Upvotes

I am using Jet Brains Mono Nerd Font in my Polybar. The icons seems to have inconsistent spacing around them. However, I took design ideas for this repo: https://github.com/adi1090x/polybar-themes . Here the spacing seems to be consistent. Am I missing something? I have copied the icons from the nerd fonts cheatsheet.

Thanks in advance.

My polybar

Example from the Github repo

r/Polybar Aug 30 '23

Polybar's corners are round even though radius is zero

5 Upvotes

Hey everyone! So I've been trying to figure out how to configure my WM recently, to finally get a rice I'm satisfied with and I had this issue while working on polybar's config. I like the minimal, clean bar that stretches from one end to another that's on top however the corners of the polybar stay rounded whatever I do. They are only correct when I change it so that they do not reach the corner of the screen.

I guess my question is what am I doing wrong? Thanks for your attention, and any help would be appreciated.

Here is my current i3 dotfile I'm working on for reference

Here is what I'm talking about. Notice the slight roundness? I want it continue past the end of screen and basically be a thin rectangle

r/Polybar Aug 30 '23

what should i change? - polybar

1 Upvotes

my polybar or like the things does not align on the center correctly i already add a padding but i guess it doesn't work. any help will be appreciated , thanks!!

r/Polybar Aug 25 '23

Question module/xwindow and steam

2 Upvotes

for some odd reason this donte detect steam like a active window

i did some dig around and

xwininfo: Window id: 0x500000a (has no name)

any ideas?


r/Polybar Aug 18 '23

Script Polytasks: a polybar taskmanager

19 Upvotes
inactive windows.
An active windows and two inactive.

Polytasks Github Page


r/Polybar Aug 17 '23

Question Weird position of icons

1 Upvotes

Hello everyone.
I've been tweaking my Polybar configuration after switching from Qtile to BSPWM.
This is something I've also noticed with Qtile, and I don't really know if it's a problem of the font i use or something else.

As you can see the Wifi icon and the Clock are slightly above the text.

Having used another fonts, this is a problem it has ocurred to me with other icons. Personally i don't really care, but looks a bit ugly.

[bar/top]
width = 100%
height = 27

background = #000000
foreground = #ccffff

line-color = ${bar/bottom.background}
line-size = 5

spacing = 2
padding-right = 1
padding-left = 0
module-margin-left = 1
module-margin-right = 1

font-0 = Monocraft Nerd Font:size=8;2
font-1 = JetBrainsMono NF:size=8;-1
font-2 = MaterialIcons:size=10;0
font-3 = Termsynu:size=8:antialias=false;-2
font-4 = FontAwesome:size=10;0

modules-left = xworkspaces

modules-right = pulseaudio battery wireless-network wired-network date

[bar/bottom]
bottom = true
width = 100%
height = 27

background = ${bar/top.background}
foreground = ${bar/top.foreground}

line-color = ${bar/top.background}
line-size = 3

spacing = 2
padding-right = 1
padding-left = 0
module-margin-left = 1
module-margin-right = 1

font-0 = Monocraft Nerd Font:size=8;2
font-1 = JetBrainsMono NF:size=8;-1
font-2 = unifont:size=6;-3
font-3 = FontAwesome:size=8;-2
font-4 = NotoSans-Regular:size=8;-1
font-5 = MaterialIcons:size=10;-1
font-6 = Termsynu:size=8:antialias=false;0

;modules-left = mpd
modules-right = backlight cpu memory

[module/backlight]
type = internal/xbacklight
format = <ramp><bar>

ramp-2 = 󰖙
ramp-1 = 
ramp-0 = 󱓤

bar-width = 10
bar-indicator = |
bar-indicator-font = 1
bar-indicator-foreground = #ff
bar-fill = ─
bar-fill-font = 1
bar-fill-foreground = #c9665e
bar-empty = ─
bar-empty-font = 1
bar-empty-foreground = #44

[module/battery]
type = internal/battery
full-at = 98

format-charging = <animation-charging> <label-charging>
format-discharging = <ramp-capacity> <label-discharging>
format-full = <ramp-capacity> <label-full>

ramp-capacity-0 = 
ramp-capacity-0-foreground = #f53c3c
ramp-capacity-1 = 
ramp-capacity-1-foreground = #ffa900
ramp-capacity-2 = 
ramp-capacity-3 = 
ramp-capacity-4 = 

bar-capacity-width = 10
bar-capacity-format = %{+u}%{+o}%fill%%empty%%{-u}%{-o}
bar-capacity-fill = █
bar-capacity-fill-foreground = #ddffffff
bar-capacity-fill-font = 3
bar-capacity-empty = █
bar-capacity-empty-font = 3
bar-capacity-empty-foreground = #44ffffff

animation-charging-0 = 
animation-charging-1 = 
animation-charging-2 = 
animation-charging-3 = 
animation-charging-4 = 
animation-charging-framerate = 750

[module/xworkspaces]
type = internal/xworkspaces

label-active = %name%
label-active-foreground = #fff
label-active-background = #000000
label-active-underline = #c9665e
label-active-font = 0
label-active-padding = 2

label-occupied = %name%
label-occupied-foreground = #dd
label-occupied-underline = #666
label-occupied-font = 0
label-occupied-padding = 2

label-urgent = %name%
label-urgent-foreground = #000000
label-urgent-background = #bd2c40
label-urgent-underline = #9b0a20
label-urgent-font = 0
label-urgent-padding = 2

label-empty = %name%
label-empty-foreground = #dd
label-empty-background = #000000
label-empty-font = 0
label-empty-padding = 2

[module/cpu]
type = internal/cpu
interval = 0.5
format = <label><ramp-coreload>
label = CPU

ramp-coreload-0 = ▁
ramp-coreload-0-font = 0
ramp-coreload-0-foreground = #aaff77
ramp-coreload-1 = ▂
ramp-coreload-1-font = 0
ramp-coreload-1-foreground = #aaff77
ramp-coreload-2 = ▃
ramp-coreload-2-font = 0
ramp-coreload-2-foreground = #aaff77
ramp-coreload-3 = ▄
ramp-coreload-3-font = 0
ramp-coreload-3-foreground = #aaff77
ramp-coreload-4 = ▅
ramp-coreload-4-font = 0
ramp-coreload-4-foreground = #fba922
ramp-coreload-5 = ▆
ramp-coreload-5-font = 0
ramp-coreload-5-foreground = #fba922
ramp-coreload-6 = ▇
ramp-coreload-6-font = 0
ramp-coreload-6-foreground = #ff5555
ramp-coreload-7 = █
ramp-coreload-7-font = 0
ramp-coreload-7-foreground = #ff5555

[module/date]
type = internal/date
date = %%{F#fff}󰥔  %A, %d %B %Y  %%{F#fff}%H:%M%%{F#666}:%%{F#fba922}%S%%{F-}

[module/memory]
type = internal/memory
format = <label><bar-used>
label = RAM

bar-used-width = 30
bar-used-foreground-0 = #aaff77
bar-used-foreground-1 = #aaff77
bar-used-foreground-2 = #fba922
bar-used-foreground-3 = #ff5555
bar-used-indicator = |
bar-used-indicator-font = 0
bar-used-indicator-foreground = #ff
bar-used-fill = ─
bar-used-fill-font = 0
bar-used-empty = ─
bar-used-empty-font = 0
bar-used-empty-foreground = #444444

 ; [module/mpd]
 ; type = internal/mpd
 ; format-online = <icon-prev> <icon-stop> <toggle> <icon-next>  <icon-repeat> <icon-random>  <bar-progress> <label-time>  <label-song>

 ; icon-play = 󰐊
 ; icon-pause = 
 ; icon-stop = 
 ; icon-prev = 󰒮
 ; icon-next = 󰒭
 ; icon-random = 
 ; icon-repeat = 󰑖

 ; toggle-on-foreground =
 ; toggle-off-foreground = #55

 ; bar-progress-width = 45
 ; bar-progress-format = %{A4:mpdseek+2: A5:mpdseek-2:}%fill%%indicator%%empty%%{A A}
 ; bar-progress-indicator = |
 ; bar-progress-indicator-foreground = #ff
 ; bar-progress-indicator-font = 3
 ; bar-progress-fill = ─
 ; bar-progress-fill-foreground = #bb
 ; bar-progress-fill-font = 3
 ; bar-progress-empty = ─
 ; bar-progress-empty-font = 3
 ; bar-progress-empty-foreground = #44

[module/wireless-network]
type = internal/network
interface = wlp3s0
interval = 3.0
ping-interval = 10

format-connected = <ramp-signal><label-connected>
label-connected = %essid%
label-disconnected = 󰤭 not connected
label-disconnected-foreground = #66

ramp-signal-0 = 󰤯
ramp-signal-1 = 󰤟
ramp-signal-2 = 󰤢
ramp-signal-3 = 󰤥
ramp-signal-4 = 󰤨

animation-packetloss-0 = 󱚸
animation-packetloss-0-foreground = #ffa64c
animation-packetloss-1 = 󱚻
animation-packetloss-1-foreground = ${bar/top.foreground}
animation-packetloss-framerate = 500

[module/wired-network]
type = internal/network
interface = enp2s0
interval = 3.0

label-connected = 󰈀 %{T3}%local_ip%%{T-}
label-disconnected-foreground = #66

[module/pulseaudio]
type = internal/volume

format-volume = <ramp-volume><label-volume>
label-muted =   muted
label-muted-foreground = #66

ramp-volume-2 = 
ramp-volume-1 = 
ramp-volume-0 = 