Added dgx-switcher script
This commit is contained in:
parent
617a218e13
commit
94e094b53b
|
@ -0,0 +1,23 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
CARD=$(grep /proc/asound/cards -e "DGX" | cut -d' ' -f2 -)
|
||||||
|
|
||||||
|
if [ "$CARD" = "" ]; then
|
||||||
|
echo "Keine Xonar DGX gefunden, beende."
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
AOUT=$(amixer -c $CARD sget 'Analog Output' | grep -e "Item0:" | cut -d"'" -f2 -)
|
||||||
|
|
||||||
|
echo "Analog Output momentan geschaltet auf: $AOUT"
|
||||||
|
|
||||||
|
if [ "$AOUT" = "Multichannel" ]; then
|
||||||
|
|
||||||
|
echo "Schalte um auf Kopfhörer (Front Panel)"
|
||||||
|
amixer -c $CARD sset 'Analog Output' 'Stereo Headphones FP' > /dev/null
|
||||||
|
|
||||||
|
else
|
||||||
|
echo "Schalte um auf Mehrkanalausgabe"
|
||||||
|
amixer -c $CARD sset 'Analog Output' 'Multichannel' > /dev/null
|
||||||
|
fi
|
||||||
|
|
|
@ -8,6 +8,8 @@ Trigger warning: Most of them need "zenity" to be installed.
|
||||||
- Creates symlinks so Divinity: Original Sin 2 can be played with proton
|
- Creates symlinks so Divinity: Original Sin 2 can be played with proton
|
||||||
- games/witcher-2-import
|
- games/witcher-2-import
|
||||||
- Creates a symlink to your The Witcher savegames, allowing the Linux version of The Witcher 2 to import these.
|
- Creates a symlink to your The Witcher savegames, allowing the Linux version of The Witcher 2 to import these.
|
||||||
|
- hardware/dxg-switcher
|
||||||
|
- Switches between `Multichannel` and `Stereo Headphones (FP)` on ASUS Xonar DGX cards
|
||||||
- hardware/zwattman.sh
|
- hardware/zwattman.sh
|
||||||
- Simple Zenity GUI for changing Wattman settings on Kernel 4.17+
|
- Simple Zenity GUI for changing Wattman settings on Kernel 4.17+
|
||||||
- playonlinux/pol-steamhelp
|
- playonlinux/pol-steamhelp
|
||||||
|
|
Loading…
Reference in New Issue