1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-10-10 03:21:16 +02:00

audio: changed all audio references to pw

This commit is contained in:
2023-11-07 17:53:32 +01:00
parent 910422efec
commit b87ad024b5
5 changed files with 36 additions and 27 deletions

View File

@@ -1,10 +1,11 @@
#!/bin/sh
if amixer get Capture | tail -2 | grep -q '\[on\]'; then
paplay ~/.local/bin/tools/audio/mic_muted.wav
amixer set Master unmute >/dev/null 2>&1
amixer set Capture nocap >/dev/null 2>&1
lmc mute
lmc undeaf
else
amixer set Master unmute >/dev/null 2>&1
amixer set Capture cap >/dev/null 2>&1
lmc unmute
lmc undeaf
paplay ~/.local/bin/tools/audio/mic_activated.wav
fi
pkill -RTMIN+4 $STATUSBAR