mirror of
https://github.com/SinTan1729/random.git
synced 2025-02-05 14:12:38 -06:00
chg: Added muting
This commit is contained in:
parent
12c0c39e67
commit
c0d8372159
1 changed files with 2 additions and 0 deletions
|
@ -6,6 +6,8 @@ dnd=$(pgrep DND.py)
|
|||
if [[ $dnd ]];
|
||||
then
|
||||
kill $dnd
|
||||
pactl set-sink-mute @DEFAULT_SINK@ false
|
||||
else
|
||||
/home/sintan/.local/bin/personal/DND.py &
|
||||
pactl set-sink-mute @DEFAULT_SINK@ true
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue