LemonBoy / bar

A featherweight, lemon-scented, bar based on xcb
MIT License
1.61k stars 194 forks source link

%{Sn} doesn't work as expected #231

Closed ghost closed 3 years ago

ghost commented 3 years ago

I have two monitors detected by xrandr, eDP-1 and DP-1-1. Using %{S0} puts the message on DP-1-1, and using %{S1} puts the message on eDP-1. However, the %{Sn(xrandr monitor name)} doesn't seem to be working, both

while true;
do
echo "%{SneDP-1}test"
done | lemonbar

and

while true;
do
echo "%{SnDP-1-1}test"
done | lemonbar

puts the message on monitor number 0, DP-1-1.

domsson commented 3 years ago

Just to make sure, are you running v1.4?

I'm asking because Debian, for example, is still on 1.3. You can check by running lemonbar -h.

ghost commented 3 years ago

Nevermind, I'm using the XFT version and think it's an issue with that.