如何獲得脈搏聲級?

如何獲得脈搏聲級?

我使用簡單的鍵盤快捷鍵來調整我的聲音級別fluxbox

123 :Exec amixer sset Master,0 5+
122 :Exec amixer sset Master,0 5-

不過,我想添加一些實際聲級的通知(通知發送)。

你能幫我嗎?

答案1

我用這個命令弄清楚了:

notify-send "$(amixer -D pulse get Master | awk '$2== "Left:" {print $5}')"

相關內容