sineto / nmcli-rofi

A simple manager for network connections using rofi and nmcli
MIT License
62 stars 16 forks source link

Network bar does not appear, and also receive an error #11

Open FrenzyExists opened 4 years ago

FrenzyExists commented 4 years ago

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.

sinetoami commented 4 years ago

@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.