OkayDave / barr

Barr is a status line style generator for LemonBar
MIT License
80 stars 8 forks source link

i3 bugs (?) #41

Open Doshirae opened 7 years ago

Doshirae commented 7 years ago

Hey i'm using i3wm, but the I3 module of barr isn't working that well Is there a way i can put an instant refresh interval ? 1 second is pretty slow Also, can I change the color of the current workspace ? One colour is not very understandable

And, also, the mpd module isn't working at, it says "barr.rb:22:in main: uninitialized constant Barr::Blocks::MPD (NameError)"

OkayDave commented 7 years ago

You can set the interval to a tenth of a second - it's not quite instant but it's really quick. Something like

i3 = Barr::Blocks::I3.new interval: 0.1

There isn't currently a way of setting the current workspace to a specific colour, though you can invert the colours for the focused workspace. For example, if you're using white text on a black background you can have it so the focused workspace is black text on a white background.

i3 = Barr::Blocks::I3.new invert_focus_colors: true

Having specific colours is on my to-do list, but no ETA for them just yet.

Thanks for reporting MPD issue. I'll take a look at it, though it likely won't be until the weekend.

Doshirae commented 7 years ago

Actually, for me the interval of 0.1 isn't working at all, Maybe that is a problem with the way i am launching the bar ? As i am testing the bar, i launch it with ruby barr.rb | lemonbar -d -B "#333333" -f "Roboto Mono Medium:size=9" -f "Font Awesome:size=11" | sh (the way it is told in the README, i just removed the geometry because it involved some errors)

OkayDave commented 7 years ago

That looks okay - would you mind pasting the contents of your barr.rb file please?

Could you also check which version of Barr you have installed please? If you're not sure, the easiest way is probably to open irb and run the following:

require 'barr'
puts Barr::VERSION