Closed sdrwtf closed 2 years ago
Hi @sdrwtf ! Thanks for the detailed bug report and fix proposal. I don't see any problems with your update. Would you like to setup a Pull Request?
Hi @kgilmer,
yep of course, I'll create the PR tomorrow and will also include the microphone script.
Hey,
I'm currently testing regolith with an virtual minimal Ubuntu installation (like it's described here https://regolith-desktop.com/docs/howtos/minimal-ubuntu-install/) and figured out that if I change the volume below 10% the volume is not displayed anymore:
If the volume is >= 10% everything is fine:
The same behavior applies for the microphone volume.
The reason seems to be the
sed
regex which is used within themixer_value
function: https://github.com/regolith-linux/regolith-i3xrocks-config/blob/7bb3464cc56ec3e42830e9126a246769a86d3bba/scripts/volume#L66I think it would be better to only filter on a single number and add a
0
prefix in case the value is less than 10, for example:So volume below 10% is also displayed as expected: