Git Product home page Git Product logo

Comments (14)

elParaguayo avatar elParaguayo commented on July 17, 2024 1

I've submitted a fix. If the tests pass then I'll merge this.

from qtile-extras.

elParaguayo avatar elParaguayo commented on July 17, 2024

Sorry. It's not clear what I'm meant to be looking at here.

When the mode is "both" you get the icon on your bar all of the time (I assume that volume icon is from this widget) and, when you change the volume, you'll see the bar.

Is that not what you're seeing or what you want?

Also, how have you imported qtile-extras into your config?

from qtile-extras.

elParaguayo avatar elParaguayo commented on July 17, 2024

Also, I should add, that bar looks really nice!

from qtile-extras.

ACosmicWolf avatar ACosmicWolf commented on July 17, 2024

I am not able to see the bar when i change the volume and yes that icon is from the widget.
i have imported qtile extras like from qtile_extras import widget

from qtile-extras.

ACosmicWolf avatar ACosmicWolf commented on July 17, 2024

Also, I should add, that bar looks really nice!

Thanks :)

from qtile-extras.

elParaguayo avatar elParaguayo commented on July 17, 2024

OK. Anything in your log?

What happens when you run amixer get Master from a terminal?

from qtile-extras.

ACosmicWolf avatar ACosmicWolf commented on July 17, 2024

Nothing in the log.

Output of amixer get Master

~ ❯ amixer get Master                                                             5m 16s
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 59 [68%] [-21.00dB] [on]

from qtile-extras.

elParaguayo avatar elParaguayo commented on July 17, 2024

ok. Try this:

qtile cmd-obj -o widget alsawidget -f eval -a self.volume

from qtile-extras.

ACosmicWolf avatar ACosmicWolf commented on July 17, 2024

The bar still doesnt appear :(

Output of the command.

(True, '-1')

from qtile-extras.

elParaguayo avatar elParaguayo commented on July 17, 2024

Thanks - this is just showing what the widget thinks is the current volume.

The issue is the regular expression is not matching anything with that output. I'll need to submit a fix.

from qtile-extras.

elParaguayo avatar elParaguayo commented on July 17, 2024

If you do qtile cmd-obj -o widget alsawidget -f eval -a "self.status_change(50,False)" you should hopefully see the bar - (it's not a fix though).

from qtile-extras.

ACosmicWolf avatar ACosmicWolf commented on July 17, 2024

If you do qtile cmd-obj -o widget alsawidget -f eval -a "self.status_change(50,False)" you should hopefully see the bar - (it's not a fix though).

Thanks it works.

from qtile-extras.

ACosmicWolf avatar ACosmicWolf commented on July 17, 2024

Oh sorry forgot it wasnt a fix.
I will try to solve it if I can.

from qtile-extras.

ACosmicWolf avatar ACosmicWolf commented on July 17, 2024

oh ok.
Thank You Very Much.

from qtile-extras.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.