-
-
Notifications
You must be signed in to change notification settings - Fork 717
Closed
Description
Checklist
- I have read the appropriate section in the contributing guidelines
- I believe this issue is a problem with polybar itself and not a misconfiguration on my part
- I have searched for other open and closed issues that may have already reported this problem
- I have checked the known issues page for this problem.
- I have followed the debugging guide to narrow down the problem to a minimal config.
Steps to reproduce
bspc wm -r
- run
polybar -q main -c /path/to/mininal/cfg
from bspwmrc
Minimal config
[bar/main]
wm-restack = bspwm
bottom = false
fixed-center = true
enable-ipc = false
background = ${color.BACKGROUND}
foreground = ${color.FOREGROUND}
border-color = ${color.FOREGROUND}
radius = 12
line-size = 0
border-size = 0
width = 1908
height = 35
offset-x = 6
offset-y = 6
padding = 12px
module-margin = 14px
font-0 = "JetBrainsMono Nerd Font:size=12;3"
font-1 = "Iosevka Nerd Font:size=13;3"
font-2 = "google\-mdi:size=13;3"
font-3 = "Iosevka:style=bold:"size=13;3"
#modules-left = bspwm
modules-center = xwindow
[module/bspwm]
type = internal/bspwm
# ...
[module/xwindow]
type = internal/xwindow
# ...
Polybar log
notice: Parsing config file: /home/inqognitoo/.config/bspwm/polybar/config.ini
error: /home/inqognitoo/.config/bspwm/polybar/config.ini:27: Value '"google\-mdi:size=13;3"' of key 'font-2' contains one or more unescaped backslashes, please prepend them with the backslash escape character.
notice: Loading module 'bspwm' of type 'internal/bspwm'
notice: Loading module 'xwindow' of type 'internal/xwindow'
notice: Loading module 'tray' of type 'internal/tray'
notice: Loading module 'network' of type 'internal/network'
notice: Loading module 'battery' of type 'internal/battery'
notice: Loading module 'xkeyboard' of type 'internal/xkeyboard'
notice: Loading module 'date' of type 'internal/date'
notice: Loaded 7 modules
notice: Loaded font "JetBrainsMono Nerd Font:size=12" (name=JetBrainsMono Nerd Font, offset=3, file=/usr/share/fonts/TTF/JetBrainsMonoNerdFont-Regular.ttf)
notice: Loaded font "Iosevka Nerd Font:size=13" (name=Iosevka, offset=3, file=/usr/share/fonts/archcraft/nerd-fonts/Iosevka Nerd Font Complete.ttf)
notice: Loaded font "google\-mdi:size=13" (name=google-mdi, offset=3, file=/usr/share/fonts/archcraft/icon-fonts/google-mdi.ttf)
notice: Loaded font "Iosevka:style=bold:"size=13" (name=Iosevka, offset=3, file=/usr/share/fonts/archcraft/normal-fonts/Iosevka/iosevka-bold.ttf)
Expected behavior
Polybar works fine after bspwm reload.
Actual behavior
Polybar overlaps fullscreen windows after bspwm reload.
Window Manager and Version
bspwm 0.9.10-3
Linux Distribution
Arch Linux (6.3.5-arch1-1)
Polybar version
polybar 3.6.3-206-g2cd0809a
Features: +alsa +curl +i3 +mpd +network(libnl) +pulseaudio +xkeyboard
X extensions: +randr (+monitors) +composite +xkb +xrm +xcursor
Build type: Release
Compiler: /usr/bin/c++
Compiler flags: -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -O3 -DNDEBUG -Wall -Wextra -Wpedantic -Wdeprecated-copy-dtor -Wsuggest-override
Linker flags: -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wall -Wextra -Wpedantic -Wdeprecated-copy-dtor -Wsuggest-override -Wall -Wextra -Wpedantic -Wdeprecated-copy-dtor -Wsuggest-override
Additional Context / Screenshots
Interesting observation: this problem occurs with all internal modules like internal/xwindow
but doesn't occurs when only internal/bspwm
module is active.
The problem arose when switching from polybar
to polybar-git
package.
Note: the only one error in logs belongs to font's 'issue', but but is not influencing at all sutuation.
echovl and ZhymabekRoman