Add smoothe sound theme for gui installs.

This commit is contained in:
Storm Dragon 2022-04-06 02:28:57 -04:00
parent 5ee85b703d
commit 5d36442a19

View File

@ -16,7 +16,7 @@ case "${1}" in
*) session="$1";; *) session="$1";;
esac 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 # Configure nodm
sudo sed -i "s/{user}/$USER/g" /etc/nodm.conf sudo sed -i "s/{user}/$USER/g" /etc/nodm.conf
@ -196,6 +196,27 @@ alias go_to_workspace_four exec rpws 4
EOF EOF
fi 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 # Configure speech-dispatcher
if [[ ! -d ~/.config/speech-dispatcher ]]; then if [[ ! -d ~/.config/speech-dispatcher ]]; then
spd-conf -n spd-conf -n