NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Script update
Date: Wed, 25 Mar 2026 11:49:26 -0300
From: Isac =?UTF-8?B?TW9uw6fDo28=?= <isacmoncao%disroot.org@localhost>
Message-ID: <20260325114926.502e0ce6@moncao>
| Thank you so much for taking the time to comment on my code!
No problem - but note that while I understand sh, and scripts,
mixerctl isn't really my thing, and it turns out that you
really want to just add/subtract 1 each time, not $INCREMENT
(unless that is just 1) - each 1 up/down seems to increase
(or decrease) by the delta value.
With that, I'd just put a literal '1' in the += and -= commands,
unless you want to add another command to make a bigger change
(so you don't have to do "vol up" 30 times...)
You could also look at adding mute/unmute
kre
Home |
Main Index |
Thread Index |
Old Index