mokasin / apw Goto Github PK
View Code? Open in Web Editor NEWSmall and simple Awesome WM widget to control volume of Pulseaudio.
Small and simple Awesome WM widget to control volume of Pulseaudio.
Hi I am using awesome on Debian stable:
$ awesome -version
awesome debian/3.4.13-1 (Octopus)
• Build: Jul 16 2012 13:57:50 for x86_64 by gcc version 4.7.1 (@keller)
• D-Bus support: ✔
running
require("apw/widget")
gives
widget.lua:44: attempt to index field 'layout' (a nil value)
Did the awesome API change at some point? What can I do to get this working on my installation? Thanks!
The issue can be reproduced with the following (Awesome 4.1):
rc.lua
.mykeyboardlayout
).show_text = true
(or beautiful.apw_show_text = true
).Without show_text
, the widget works fine. If show_text
is enabled, then it occupies almost the whole screen and does not update.
Hi,
first off, your widget is awesome (… haha -.-)! I could think of one enhancement though, which is the ability to control the volume of multiple sinks at once — possibly and for the ease of use, all at once? I’m using a USB-DAC for HiFi listening, and my mainboards S/PDIF output for all other everyday tasks — and it would be really cool if the keybinds to APW would just control both simultaneously, so i don’t have to spawn pavucontrol for one …
Thanks!
-NebuK!
instead of
APWTimer:connect_signal("timeout", AWP.Update)
following will work
APWTimer:connect_signal("timeout", APW.Update)
lua 5.3 introduces a new integer subtype for numbers [0] and string.format() will only work with ints. Volume is used as a float and passed to string.format() --Line no.95 in pulseaudio.lua--, while this works fine prior to lua 5.3, it fails with 5.3.
Hi, I've added another little feature to the widget. But I actually committed it before I pulled from the new Beautiful integration. So how do I submit a pull request now? Should I merge it first or just send a pull request and let you merge it manually?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.