Giter Club home page Giter Club logo

Comments (5)

streetturtle avatar streetturtle commented on August 24, 2024

Thank you for trying to use them!
Let's go one by one:

  • VolumeArc
    Widget uses following command to control the volume:

    local GET_VOLUME_CMD = 'amixer -D pulse sget Master'
    local INC_VOLUME_CMD = 'amixer -D pulse sset Master 5%+'
    local DEC_VOLUME_CMD = 'amixer -D pulse sset Master 5%-'
    local TOG_VOLUME_CMD = 'amixer -D pulse sset Master toggle'

    Try to run them in terminal and see if volume changes - maybe the problem is that you don't have alsamixer installed.

  • Brightness
    Same thing, try these commands in terminal first:

    local GET_BRIGHTNESS_CMD = "light -G"   -- "xbacklight -get"
    local INC_BRIGHTNESS_CMD = "light -A 1" -- "xbacklight -inc 5"
    local DEC_BRIGHTNESS_CMD = "light -U 1" -- "xbacklight -dec 5"
  • BatteryArc - the problem is in font size, try to decrease it in here

Please let me know it something from above helped. And sorry for misleading docs.

from awesome-wm-widgets.

streetturtle avatar streetturtle commented on August 24, 2024

Regarding the missing text in batterarc widget there was a problem indeed - the value had a decimal part, so if was overflowing the box, this commit fix it. Also make sure that you have Play font installed. Please let me know if it helped.

from awesome-wm-widgets.

matthiasbe avatar matthiasbe commented on August 24, 2024

Hello,
Thank you for your quick answers.

I guess I was expecting to get the exact same layout as you showed in screenshots, and I was preoccupied because I did not get the same nice associated text (brightness percentage for example) and gap between icons.

Deducing from your answers, I guess those layout settings have to be set in addition to your widget.

I'm trying your tip about battery arc icon, and I'll get back to you ;)

Matthias

from awesome-wm-widgets.

matthiasbe avatar matthiasbe commented on August 24, 2024

Pulling changes and installing fonts solved the problem, thanks !

Also I didn't know there was mouse control on the icon, this is pretty cool, even if I'm using keyboard shortcut most of the time.

It's working okay for the volume, but brightness doesn't work as I haven't light installed.
I myself am using xbacklight for shortcuts :

awful.key({ }, "XF86MonBrightnessDown", function ()
    awful.util.spawn("xbacklight -dec 5") end),
awful.key({ }, "XF86MonBrightnessUp", function ()
    awful.util.spawn("xbacklight -inc 5") end),

from awesome-wm-widgets.

streetturtle avatar streetturtle commented on August 24, 2024

Inside the brightness widget code you just need to replace light commands with the ones you use.

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.