You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<ramp-signal> does not update to ramp-signal-0, instead staying as the last <ramp-signal> icon it had before going offline. It WILL update to the proper icon when the wifi is switched back on however.
Re-launching polybar from the terminal WILL display the proper <ramp-signal> icon (ramp-signal-0).
notice: Parsing config file: /home/cameron/.config/polybar/config.ini
notice: Loading module 'network' of type 'internal/network'
notice: Loaded 1 modules
notice: Loaded font "EPSON 太丸ゴシック体B:style=Regular" (name=EPSON 太丸ゴシック体B, offset=2, file=/usr/share/fonts/EPSON/EPMGOBLD.ttf)
notice: Loaded font "Hack Nerd Font:style=Regular:size=17" (name=Hack Nerd Font, offset=2, file=/usr/share/fonts/TTF/Hack Regular Nerd Font Complete.ttf)
Expected behavior
When I use Fn + PrtScr my laptop disconnects the wifi. I should see the emoticon representative of my connection switch to one with x's for eyes, indicating there is no connection.
Actual behavior
The icon stays as whatever my last signal strength was before going offline.
Opening the terminal and launching a 2nd polybar on top of the first shows the proper signal icon. In either case, hitting Fn + PrtScr again to go back online WILL update the icon to reflect my online signal strength. It's only switching to offline that I get this issue.
Images attatched
Window Manager and Version
KWin 5.25.4
Linux Distribution
Arch 5.19.5
Polybar version
polybar 3.6.3
Additional Context / Screenshots
Intended output:
Actual output:
The text was updated successfully, but these errors were encountered:
Hmm, from a quick look at the code, it seems like the code updating the signal values may not run at all, leaving the signal value at the old value.
Just as a sanity check, what polybar command are you using? Are you by chance using the -q flag? Or maybe have set the log level to errors only (with -l error)? This would cause a potentially crucial warning message to be swallowed.
Also, can you add the %signal% token to label-connectedand label-disconnected to see whether that value also doesn't update in offline mode.
I have only been running "polybar" with no flags on both startup, and when I run it from the terminal.
When I add %signal% to label-connected and label-disconnected it also doesn't update when switched offline, and also updates when switched back online. When re-launched from the terminal with the wifi already switched off it shows the correct icon and %signal% value.
Checklist
Steps to reproduce
format-disconnected = <ramp-signal> <label-disconnected>
<ramp-signal>
does not update toramp-signal-0
, instead staying as the last<ramp-signal>
icon it had before going offline. It WILL update to the proper icon when the wifi is switched back on however.polybar
from the terminal WILL display the proper<ramp-signal>
icon (ramp-signal-0
).Minimal config
Polybar log
Expected behavior
When I use
Fn + PrtScr
my laptop disconnects the wifi. I should see the emoticon representative of my connection switch to one with x's for eyes, indicating there is no connection.Actual behavior
The icon stays as whatever my last signal strength was before going offline.
Opening the terminal and launching a 2nd polybar on top of the first shows the proper signal icon. In either case, hitting
Fn + PrtScr
again to go back online WILL update the icon to reflect my online signal strength. It's only switching to offline that I get this issue.Images attatched
Window Manager and Version
KWin 5.25.4
Linux Distribution
Arch 5.19.5
Polybar version
polybar 3.6.3
Additional Context / Screenshots
Intended output:
Actual output:
The text was updated successfully, but these errors were encountered: