feat: toggling audio between speakers

This commit is contained in:
2025-04-28 18:13:34 +01:00
parent 693dcccdf0
commit 98d8d45529
4 changed files with 21 additions and 3 deletions

1
scripts/status Normal file
View File

@@ -0,0 +1 @@
headphones

View File

@@ -0,0 +1,12 @@
#!/bin/bash
cd ~/Code/dotfiles/scripts
status=$(cat ./status)
if [ $status == "speakers" ]; then
wpctl set-default 62
echo "headphones" > ./status
else
wpctl set-default 68
echo "speakers" > ./status
fi