![](/static/253f0d9b/assets/icons/icon-96x96.png)
![](https://lemmy.ml/pictrs/image/d3d059e3-fa3d-45af-ac93-ac894beba378.png)
I think this should work (I haven’t tested it):
make a new file called default (.) pa in the pulseaudio congfig folder (.config/pulse)
this will mute source_name (replace source_name with your source name):
#include this config file
.include /etc/pulse/default.pa
set-source-mute source_name true
run this command to list source names:
pactl list short sources
Were you thinking about something like this?
**Tip:** The default source can be referred as `@DEFAULT_SOURCE@` in commands, for example: `$ pactl set-source-mute @DEFAULT_SOURCE@ toggle`
Default sink:
@DEFAULT_SINK@