add volumeicon

This commit is contained in:
[yuri]
2025-11-10 17:27:43 +01:00
parent 5ee50bc858
commit 177e9b6548

View File

@@ -46,7 +46,7 @@ say_yellow "Starting full setup..."
bash "$SCRIPT_DIR/debian-minimal.sh" bash "$SCRIPT_DIR/debian-minimal.sh"
# Add extra packages # Add extra packages
install_packages arandr catfish galculator network-manager network-manager-applet network-manager-openvpn numlockx pavucontrol playerctl gparted install_packages arandr catfish galculator network-manager network-manager-applet network-manager-openvpn numlockx pulseaudio pavucontrol xfce4-indicator-plugin playerctl gparted xfce4-mixer xfce4-volumed-pulse
# Ensure NetworkManager manages all interfaces # Ensure NetworkManager manages all interfaces
echo "Setting NetworkManager to manage all interfaces..." echo "Setting NetworkManager to manage all interfaces..."
@@ -125,6 +125,13 @@ if [[ "${DE}" == "xfce" || "${DDE}" == "xfce" ]]; then
say_green "XFCE defeault terminal set to alacritty!" say_green "XFCE defeault terminal set to alacritty!"
fi fi
# Add indicator-plugin to panel if not already present
if command -v xfconf-query >/dev/null 2>&1; then
PANEL_ID=$(xfconf-query -c xfce4-panel -p /panels -v | grep -Eo '[0-9]+' | head -n1)
# Add indicator plugin to first panel
xfconf-query -c xfce4-panel -p /plugins/plugin-ids -t int -a -s "$(($(xfconf-query -c xfce4-panel -p /plugins/plugin-ids | wc -l)+1))" || true
xfconf-query -c xfce4-panel -p /plugins/plugin-ids -t int -a -s "indicator-plugin" || true
fi
fi fi
# End of script # End of script