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