Comments (17)
oh and cargo/rust:
$ rustc --version
rustc 1.17.0 (56124baa9 2017-04-24)
$ cargo --version
cargo 0.18.0 (fe7b0cdcf 2017-04-24)
from i3status-rust.
also, I installed the font awesome fonts via:
sudo apt install fonts-font-awesome
My bar is:
bar {
font pango:DejaVu Sans Mono, Icons 8
status_command /home/me/.i3/i3status-rust/target/release/i3status-rs /home/me/.i3/i3status-rust.json --icons awesome --theme solarized-dark
position top
colors {
separator #666666
background #222222
statusline #dddddd
focused_workspace #0088CC #0088CC #ffffff
active_workspace #333333 #333333 #ffffff
inactive_workspace #333333 #333333 #888888
urgent_workspace #2f343a #900000 #ffffff
}
}
from i3status-rust.
Hey, start by removing the sound block from your config, I'll fix it tomorrow.
from i3status-rust.
thanks!
from i3status-rust.
What's the output of amixer get Master
on your system? The sound block currently only supports amixer.
from i3status-rust.
$ amixer get Master
amixer: Unable to find simple control 'Master',0
my regular i3status (which has a work volume indicator) is formatted like this:
volume master {
device = "default"
mixer = "Master"
mixer_idx = 0
format = "♪ %volume "
}
not sure if that helps
from i3status-rust.
Just $ amixer
please... Currently the sound block only uses Master, which doesn't seem to work...
from i3status-rust.
$ amixer
Simple mixer control 'Mic',0
Capabilities: cvolume cvolume-joined cswitch cswitch-joined
Capture channels: Mono
Limits: Capture 0 - 52
Mono: Capture 44 [85%] [-27.00dB] [on]
from i3status-rust.
See, I'm not very familiar with the sound systems in Linux. Your main audio output is apparently not using amixer, so you can either switch to a system that enables you to use amixer or add functionality for your setup to the sound block, and hit me with a PR, that way others with your setup may profit. Good luck, I hope for contributions! :)
from i3status-rust.
I'm not familiar with linux sound either. seems to be a bit of a mess.
I think I'm using pulseaudio
from i3status-rust.
I am, too. But there are usually multiple subsystems working together, going from hardware to the highest software level abstractions, provided by pulse.
from i3status-rust.
Looking through the sound system part of the Arch wiki, it appears the Alsa system is indeed very ubiquitous. The arch wiki also suggests using amixer or alsamixer to adjust volume etc.. I'd suggest you check your setup, maybe you can fix it easily :) There definitely should be a 'Master' output listed when calling $ amixer
.
from i3status-rust.
Cool, I'll do some googlin' and post my findings here
from i3status-rust.
I fixed this issue by installing pulseaudio-alsa on manjaro linux, maybe that'll work for others as well
from i3status-rust.
@greshake Is there are reason you're not using alsa-rs but instead are calling amixer
directly? I would need to pass additional parameters to amixer
on my system (my soundcard is on index 1 instead of 0), I would reckon a proper API would make it easier to add other configuration options?
from i3status-rust.
@moritzheiber I don't believe we were familiar with that project at the time, but it's a nice find. I'd be happy to see some work moving towards using that library instead of shelling out. It might fix some of the issues I've encountered when hotplugging audio devices, too.
from i3status-rust.
I consider this closed by #245.
from i3status-rust.
Related Issues (20)
- Issue setting brightness with scroll in xrandr block with multiple monitors HOT 4
- Tea timer done_cmd not run when using i3's "mode hide" HOT 2
- Help with custom block HOT 2
- Error formatting HOT 1
- Pomodoro: Alternative number format: arabic / decimal HOT 1
- docs.rs build fails HOT 3
- "v4l" driver for Privacy block needs more documentation or a new function to update webcam devices HOT 2
- privacy block ignores webcam HOT 4
- Theme no longer being applied in swaybar after update HOT 4
- new privacy block seems to create some instability when switching on and off display outputs HOT 1
- new privacy block causes i3status-rs to be unstable in some conditions, especially when gamescope and certain games are launched HOT 1
- feature: add `format_alt` and `format_list` to all blocks HOT 3
- Wrong icons in sound block HOT 5
- Upgrading an old configuration to later i3status-rust versions HOT 6
- Typo in GitHub repository About description, "resourcefriendly" should be "resource-friendly"
- How to hide sound blocks for devices that are not present? (bluetooth/USB headsets, etc) HOT 4
- .Xresources color definition import? HOT 2
- Feature: Add support for non sway/i3 wayland compositors HOT 1
- amd_gpu: improve the error when a device does not exist HOT 3
- Implement format_alt for sound block HOT 4
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 i3status-rust.