tobi-wan-kenobi / bumblebee-status

bumblebee-status is a modular, theme-able status line generator for the i3 window manager.
https://bumblebee-status.readthedocs.io/en/main/
MIT License
1.21k stars 229 forks source link

Sun and Weather modules not and not quite working, respectively #759

Closed ghost closed 3 years ago

ghost commented 3 years ago

Bug Report

Description

Affected module: sun and weather Version used: latest git On ArcoLinux latest kernel.

First day trying this out, and I'm impressed, however I don't program so it's Greek to me where to set the lat and long values for the sun module to work. I went to util.location, but no breakthrough. I'm sure it's embarrassingly simple though... For fun I messed with weather.py in case I could blunder my way to the solution for that. Still no luck. The weather module works, but doesn't use my geographical location, and the IP it uses is in the next province. How can I set that correctly? Thanks.

How to reproduce

Load the module with default values.

ghost commented 3 years ago

I've done more homework, since I needed to ... The -p parameter simply isn't working in any module so far.

cpu2 doesn't display temp or frequency, but does display a max frequency, it seems. The cpu module displays a fixed 27C, but does correctly display frequency and load %. I haven't found a string that displays the day of the week, and the one from my Polybar is apparently not it.

tobi-wan-kenobi commented 3 years ago

Hello and sorry that it took a while to get back to you!

Can you show us the command you are using?

Reg. weather / parameters in general:

Those look something like this:

bumblebee-status -m weather cpu -p weather.location=London

(not 100% sure which city names are accepted, would need to look that up)

Date/time strings are strftime compatible strings (https://strftime.org/)

Hope that helps a bit!

ghost commented 3 years ago

Hi and thanks for the reply,

Progress - the datetime module is working fine. That was too easy. The weather module works when I type in the location using the formatting in your example. So that's two for two facepalms. :)

As for sensor related issues, I have a 2700 and an RX-580 on a Crosshair VII and somewhere between the UEFI and ArcoLinux, some info vanishes. I know there was/is a module/driver missing/not yet available and haven't actually checked in a while. It also seems to depend on the DE/TWM, but since I don't usually stress-test the hardware, it's not been priority.

I've been having fun making themes and wonder if alternate spacer shapes are on your list. :)

ghost commented 3 years ago

Hi, no worries,

That certainly helped. Lots of progress.

-sun required python packages I hadn't installed. It's off by about 25 minutes, so this cpu.lat="36,9256" cpu.lon="-65,8845" (not the actual values being used) doesn't match the weathernetwork.

That's it for today.

tobi-wan-kenobi commented 3 years ago

Glad that there is some progress :)

Thanks also for the typo reports, those should be fixed now.

Hope this helps!

ghost commented 3 years ago

Update:

tobi-wan-kenobi commented 3 years ago

have fun and thanks for using bumblebee!

ghost commented 3 years ago

Thanks for the info. System now works, though it isn't displaying an icon. Maybe a logout/in thing. No biggy. The spacer is the one I'll have to tinker with the most. Last question before letting my keyboard cool off - is it possible to load a second bar?

But otherwise, I'll give you a break and go back to theming. I'm making rainbow themes, and eventually I'll make some from the palettes generated by Oomox that I happen to have lying around. :)

tobi-wan-kenobi commented 3 years ago

Glad to hear it!

Yes you can have multiple bars, that is an i3 feature. In the config, just specify one bar for top and one for bottom.

New colorful themes sounds promising :)

have fun!

ghost commented 3 years ago

Very cool. I'll git themes when they're ready.

ghost commented 3 years ago

Yup. Two bars is a piece of cake to set up. Having a veritable blast with this. :) I'm using rounded corners, so they look really slick.

ghost commented 3 years ago

Is there a way to fade the arandr screen off/on transition?

tobi-wan-kenobi commented 3 years ago

That is a question more for the arandr maintainers or, since arandr mostly is a frontend for xrandr, the xrandr devs.

However, since fade in/out functionality is mostly done by composite window managers, I think it is unlikely to work out of the box. Maye if you look at something like compiz, you find a way to achieve this.

ghost commented 3 years ago

Thanks for the info.

Nothing is making arch-update work, unfortunately. I'm missing something, I suppose.

Found a typo in the indicator section:

indicator.signalstype: If you want the signali type color to be ‘critical’ or ‘warning’ (defaults to ‘warning’)

signal

tobi-wan-kenobi commented 3 years ago

Do you have the check-updates binary?

ghost commented 3 years ago

No I don't and I've searched my system, the arch repo and AUR. Elusive little sucker.

On Tue, Feb 16, 2021 at 7:49 AM tobi-wan-kenobi notifications@github.com wrote:

Do you have the check-updates binary?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tobi-wan-kenobi/bumblebee-status/issues/759#issuecomment-779815790, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMYM3JJNFX52H56NRHGCT7TS7JSW7ANCNFSM4XMF2ZXA .

--

All the world's problems can be fixed in a garden - Geoff Lawton

tobi-wan-kenobi commented 3 years ago

https://man.archlinux.org/man/community/pacman-contrib/checkupdates.8.en

It is part of the pacman-contrib package.

tobi-wan-kenobi commented 3 years ago

(sorry about the wrong "-" in the name I mentioned earlier)

ghost commented 3 years ago

Most bizarre, because it's working just like that now. Check another off the list.

On Fri, Feb 19, 2021 at 3:43 AM tobi-wan-kenobi notifications@github.com wrote:

(sorry about the wrong "-" in the name I mentioned earlier)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tobi-wan-kenobi/bumblebee-status/issues/759#issuecomment-781926174, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMYM3JJ3LS4OFVQ66GDVBSTS7YQCRANCNFSM4XMF2ZXA .

--

All the world's problems can be fixed in a garden - Geoff Lawton

ghost commented 3 years ago

I'll make a final comment here that there seems to have been a connection between Ibhagwan's fork and redshift. I went through the wiki and added a required line for the services, and also added killall redshift && before exec redshift & in the i3 config, and so far, so good. No need to keep this issue going.