added pause and debug function
added fix to stop pcspeaker from activating if chicago95 is installed.
This commit is contained in:
2025-03-04 11:39:16 +10:00
parent 4ca92f09de
commit b13d43bdd9

View File

@@ -55,6 +55,16 @@ start() {
fi
}
pause() {
read -n 1 -s -r -p "Press any key to continue"
}
debug() {
if [ "$1" -eq "DEBUG" ]; then
read -n 1 -s -r -p "Press any key to continue"
fi
}
vMenuMain() {
menuItems=(
"1. Software"
@@ -346,6 +356,8 @@ installChicago95() {
xfconf-query -r -c xfce4-keyboard-shortcuts -p "/commands/custom/<Primary>Escape"
xfconf-query -c xfwm4 -p "/general/tile_on_move" -s true
xfconf-query xfconf-query -c xfce4-desktop -p "/backdrop/screen0/monitoreDP-1/workspace0/last-image" -s "$user_home/.themes/Chicago95/wallpapers/clouds.jpg"
echo [Chicago95] Disabling pc speaker
echo "blacklist pcspkr" | sudo tee -a /etc/modprobe.d/blacklist.conf > /dev/null
echo [Chicago95] Okay done
return 1
}