Skip to content

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

1 points3 comments
Open on Reddit
About this post
Posted
Archived
Score
1 · 60% up
Kind
Text
ID
mxkqvi

Author

11
posts
21
comments
2
media
View profile

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.

3 points

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.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.