From 5d36442a1922adf80db6298e40e8d506e4f7dc94 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Wed, 6 Apr 2022 02:28:57 -0400 Subject: [PATCH] Add smoothe sound theme for gui installs. --- .includes/gui.sh | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/.includes/gui.sh b/.includes/gui.sh index 3d5ccb3..7cac3a0 100755 --- a/.includes/gui.sh +++ b/.includes/gui.sh @@ -16,7 +16,7 @@ case "${1}" in *) session="$1";; esac -install_package ${packages} firefox nodm-dgw orca speech-dispatcher xclip xf86-video-dummy-with-vt xorg +install_package ${packages} firefox nodm-dgw orca sound-theme-smooth speech-dispatcher xclip xf86-video-dummy-with-vt xorg # Configure nodm sudo sed -i "s/{user}/$USER/g" /etc/nodm.conf @@ -196,6 +196,27 @@ alias go_to_workspace_four exec rpws 4 EOF fi + +# Create file ~/.gtkrc-2.0 +cat << "EOF" > ~/.gtkrc-2.0 +gtk-modules="canberra-gtk-module" +gtk-enable-event-sounds=1 +gtk-enable-input-feedback-sounds=1 +gtk-sound-theme-name="Smooth" +EOF + + +# Create file ~/.config/gtk-3.0/settings.ini +mkdir -p ~/.config/gtk-3.0/ +cat << "EOF" > ~/.config/gtk-3.0/settings.ini +[Settings] +gtk-modules=canberra-gtk-module +gtk-enable-event-sounds=1 +gtk-enable-input-feedback-sounds=1 +gtk-sound-theme-name=Smooth +EOF + + # Configure speech-dispatcher if [[ ! -d ~/.config/speech-dispatcher ]]; then spd-conf -n