question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Help with getting this working with sway

See original GitHub issue

If I use the status bar config block below, I just get the bar (which does show up) with in the right corner “[error reading from status command]”. This works perfectly in i3. What am I missing here? I couldn’t locate anything of clear use in the sway docs.

And of course there is the obvious cause – brain damage.

My bar section (slightly redacted):

bar {
  status_command bumblebee-status \
            -m sensors2 spacer load spacer memory \
                 spacer pasink pasource spacer spacer weather \
                 spacer indicator spacer time system \
            -p weather.location=redact,ed weather.showcity=true \
                weather.unit=imperial \
                weather.apikey=redacted \
            sensors2.chip_field_include=coretemp-isa-0000.temp1,amdgpu-pci-0100.temp1 \
            time.format="%d %b %Y - %I:%M:%S %P" \
            indicator.include=capslock,numlock,scrolllock \
            -t dracula-powerline
  
  position top
  
  font pango: Liberation Mono Bold 9
}

Thanks much! Andrew.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
andrewschottcommented, Oct 13, 2020

Your comment made me try something – the full damn path to the bb-status binary. That fixed things.

And for the record, pip userinstall.

Must be a sway thing that wants the full path for this. Noticed while tinkering around, a few things that are just … different. That said, thanks so much for putting up with this nonsense with me!

Must say, I am impressed with how well things are going with sway now that I can toy around and get stuff finished up.

1reaction
gkeepcommented, Oct 13, 2020

Hmm… Works just fine on my machine.

I’m guessing this is either an installation issue or an environment issue.

Can you tell how did you install bumblebee-status (git, AUR, PyPI)? And what Python version do you have installed?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting Started with Sway - Microsoft Support
Sway is a new app from Microsoft Office that makes it easy to create and share interactive reports, personal stories, presentations, and more....
Read more >
How To Sway
Sway offers you two types of photo grids. The Automatic grouping offers a dynamic layout to fit the screen size, and it changes...
Read more >
Sway - ArchWiki
It works with your existing i3 configuration and supports most of i3's features, ... On Arch Linux, Sway can get access to your...
Read more >
Sway - Teaching & Learning
This first of two videos shows you how Sway can help you get your message across in just the right ... Want to...
Read more >
Sway Review for Teachers | Common Sense Education
Although the sample presentations are outdated, the features are intuitive, and it's easy to get started with your own creations. Updated tutorials would...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found