Comments (8)
p.s.: the volumearc works without a problem...
from awesome-wm-widgets.
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.
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.
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.
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.
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.
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.
I've add this to the readme of the volumebar widget. Thanks for help!
from awesome-wm-widgets.
Related Issues (20)
- Consider using wttr.in for weather widget HOT 2
- Weather widget does not work, but there are 0 errors
- volume-widget: Mixer selection
- pactl-widget: No way to set limit on max volume HOT 2
- brightness_widget: incorrect brightnessctl command for getting current brightness level HOT 1
- Change color font on the spotify-widget Widget HOT 3
- cpu widget gets placed off screen sometimes HOT 1
- Install dir not found
- README.md installation info is missing HOT 2
- Are there any plans to support hibernate in logout popup? HOT 1
- scripts
- Batteryarc shows battery warning when battery is fully charged
- [Calendar] `focus_date_bg` and `focus_date_fg` broken after updating to last commits HOT 4
- apt widget not working because icon does not show in bar HOT 3
- calendar-widget: 'today' day is not set when opening the calendar
- Battery widget doesn't handle well two batteries
- OpenWeatherMap API 2.5 deprecation HOT 5
- Typo in logout-popup-widget
- Volume widget seems to malfunction after upgrading pavucontrol to v6.0
- volume-widget issue: volume-widget/volume.lua:243: bad argument #2 to 'format' (number expected, got nil)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from awesome-wm-widgets.