add volumeicon
This commit is contained in:
@@ -46,7 +46,7 @@ say_yellow "Starting full setup..."
|
||||
bash "$SCRIPT_DIR/debian-minimal.sh"
|
||||
|
||||
# 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
|
||||
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!"
|
||||
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
|
||||
|
||||
# End of script
|
||||
|
||||
Reference in New Issue
Block a user