arch newb here - polybar crashing
The current error I get trying to run the default "example" bar is this.
dont mind the warning, happens also when I explictely set it to DP-1.
notice: Parsing config file: /home/norlin/.config/polybar/config
warn: No monitor specified, using "DP-1"
/usr/include/c++/10.2.0/bits/basic_string.h:1116: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reference std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::back() [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reference = char&]: Assertion '!empty()' failed.
Aborted (core dumped)
I tried it with both polybar and polybar-git aur package.
Not sure where the problem is read the err message tbh.
any input would be great
About this post
- Posted
- Archived
- Score
- 1 · 60% up
- Kind
- Text
- ID
- mxkqvi
3 comments
Seems like a problem with the polybar config file. maybe comment out the monitor part in the config?
Otherwise, you may try asking in the r/Polybar sub.
i managed to get it working thanks, mustve been either that or build, because i built it from scratch and it worked fine, which is weird.
This is a polybar bug, unearthed by the recent changes to the default makepkg flags: https://github.com/polybar/polybar/issues/2416