Introduction
Introduction Statistics Contact Development Disclaimer Help
Adding in audio switch script. - dotfiles - These are my dotfiles. There are ma…
Log
Files
Refs
README
---
commit d126ee79f48342fa56ee99e8a709ca976460b08b
parent 0390da675eaad582a0a8dd59589dd8a2cbf5c3c7
Author: Jay Scott <[email protected]>
Date: Sun, 6 Oct 2024 11:33:58 +0100
Adding in audio switch script.
Diffstat:
D bin/old/switch_audio.sh | 7 -------
A bin/switch_audio | 7 +++++++
2 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/bin/old/switch_audio.sh b/bin/old/switch_audio.sh
@@ -1,7 +0,0 @@
-#!/bin/sh
-
-if ! [ "$(pactl get-default-sink)" = "alsa_output.pci-0000_27_00.1.hdmi-stereo…
- pactl set-default-sink "alsa_output.pci-0000_27_00.1.hdmi-stereo"
-else
- pactl set-default-sink "alsa_output.usb-KTMicro_KT_USB_Audio_2020-02-2…
-fi
diff --git a/bin/switch_audio b/bin/switch_audio
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+if ! [ "$(pactl get-default-sink)" = "alsa_output.pci-0000_00_1f.3.hdmi-stereo…
+ pactl set-default-sink "alsa_output.pci-0000_00_1f.3.hdmi-stereo"
+else
+ pactl set-default-sink "alsa_output.usb-KTMicro_KT_USB_Audio_2020-02-2…
+fi
You are viewing proxied material from jay.scot. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.