nmcli-rofi icon indicating copy to clipboard operation
nmcli-rofi copied to clipboard

Network bar does not appear, and also receive an error

Open FrenzyExists opened this issue 5 years ago • 1 comments

error: Disabling module "network_2" (reason: Missing parameter "module/network_2.ramp-signal-0")

Hi! I'm somewhat a novice guy in working with polybar and .ini files. I'm getting this error after executing polybar. I'm not sure if I'm using correctly the script, this is what I have in the network module:

[module/network_2] type = internal/network format-background = ${color.blue} format-padding = 2 format-connected = %{A1:$HOME/.config/polybar/scripts/nmcli-rofi:}%{A} format-disconnected = %{A1:$HOME/.config/polybar/scripts/nmcli-rofi:}icon-or-label%{A}

What I'm doing wrong? If the fix is dumb-simple I apologize, I'm still getting used to polybar and configuring dotfiles in general.

FrenzyExists avatar May 30 '20 03:05 FrenzyExists

@FrenzyExists Probably it's because that you forgot to put <ramp-signal> before %{A} on format-connected attribute.

format-connected = %{A1:$HOME/.config/polybar/scripts/nmcli-rofi:}<ramp-signal>%{A}

Let me know if works.

sinetoami avatar Jun 03 '20 21:06 sinetoami