mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Expose audio soft mixer as a tweak
This commit is contained in:
@@ -145,8 +145,9 @@ show_toggle_menu() {
|
||||
}
|
||||
|
||||
show_tweaks_menu() {
|
||||
case $(menu "Tweaks" " Toggle Hybrid GPU") in
|
||||
case $(menu "Tweaks" " Toggle Hybrid GPU\n Toggle Audio Soft Mixer") in
|
||||
*"Toggle Hybrid GPU"*) present_terminal omarchy-toggle-hybrid-gpu ;;
|
||||
*"Toggle Audio Soft Mixer"*) omarchy-toggle-audio-soft-mixer ;;
|
||||
*) show_trigger_menu ;;
|
||||
esac
|
||||
}
|
||||
|
||||
@@ -7,12 +7,12 @@ if [[ ! -f ~/.config/wireplumber/wireplumber.conf.d/alsa-soft-mixer.conf ]]; the
|
||||
cp $OMARCHY_PATH/default/wireplumber/wireplumber.conf.d/alsa-soft-mixer.conf ~/.config/wireplumber/wireplumber.conf.d/
|
||||
rm -rf ~/.local/state/wireplumber/default-routes
|
||||
|
||||
notify-send "Enabled audio soft mixing"
|
||||
notify-send " Enabled audio soft mixing"
|
||||
else
|
||||
rm -rf ~/.config/wireplumber/wireplumber.conf.d/alsa-soft-mixer.conf
|
||||
rm -rf ~/.local/state/wireplumber/default-routes
|
||||
|
||||
notify-send "Disabled audio soft mixing"
|
||||
notify-send " Disabled audio soft mixing"
|
||||
fi
|
||||
|
||||
systemctl --user restart wireplumber
|
||||
|
||||
Reference in New Issue
Block a user