Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i3 bugs (?) #41

Open
Doshirae opened this issue Dec 6, 2016 · 3 comments
Open

i3 bugs (?) #41

Doshirae opened this issue Dec 6, 2016 · 3 comments

Comments

@Doshirae
Copy link

Doshirae commented Dec 6, 2016

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
Copy link
Owner

OkayDave commented Dec 6, 2016

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
Copy link
Author

Doshirae commented Dec 7, 2016

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
Copy link
Owner

OkayDave commented Dec 8, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants