Giter Club home page Giter Club logo

Comments (8)

jshamg avatar jshamg commented on August 24, 2024

p.s.: the volumearc works without a problem...

from awesome-wm-widgets.

streetturtle avatar streetturtle commented on August 24, 2024

Regarding the current volume level, on my laptop amixer get Master returns much less information than amixer -D pulse sget Master:

$ amixer get Master
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 127
  Mono: Playback 104 [82%] [-11.50dB] [on]
$ amixer -D pulse sget Master
Simple mixer control 'Master',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 65536
  Mono:
  Front Left: Playback 42237 [64%] [on]
  Front Right: Playback 42237 [64%] [on]

Same for setting volume level. So I think it depends on the laptop/PC. I'll mention it in README.

from awesome-wm-widgets.

jshamg avatar jshamg commented on August 24, 2024

You are absolutely right. yesterday I ported everything to my thinkpad and I had to to set an a ~/sound.conf in order use direct commands like amixer get mixer and the regular toggle amixer set Master toggle didn't work. instead all your commands worked great. I don't know, the other laptop always has issues because of its strange amd-proz and ati-graf... I think your solution is better. But the volume bar isn't working, too haha :) . everything else works!

from awesome-wm-widgets.

streetturtle avatar streetturtle commented on August 24, 2024

Hmm, that's strange. I would recommend to change colors, just to be sure that it's not an issue. Also could you please tell which version of Awesome you're using?

from awesome-wm-widgets.

jshamg avatar jshamg commented on August 24, 2024

I'm gonna figure everything a little bit out and I will answer when I find out what was wrong. I use awesome 4.0 btw. I have another problem with the battery widget wich pops up an alert when the battery is critcal. The script is a loop thats why the popup appears over and over again while I tryed to fix it, it stopped appearing over and over again. Now I dont know If it was a simple error or something else is wrong. Maybe you have an idea... greetings!

from awesome-wm-widgets.

streetturtle avatar streetturtle commented on August 24, 2024

I agree, the popping up warning is annoying :) I raised an issue for that. I think I'll fix it some time soon.

from awesome-wm-widgets.

Goomb avatar Goomb commented on August 24, 2024
volumebar_widget = wibox.widget {
    max_value = 1,
    forced_width = 50,
    forced_height = 1,
    paddings = 0,
    border_width = 0.5,
    color = bar_color,
    background_color = background_color,
    shape = gears.shape.bar,
    clip = true,
    margins       = {
        top = 9,
        bottom = 10,
    },
    set_value = function(self, value)
        self.value = value
    end,
    widget = wibox.widget.progressbar
}

Change to top = 9, fix that. The line is too thin.

from awesome-wm-widgets.

streetturtle avatar streetturtle commented on August 24, 2024

I've add this to the readme of the volumebar widget. Thanks for help!

from awesome-wm-widgets.

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.