This commit is contained in:
[yuri]
2025-11-10 17:35:26 +01:00
parent 10e475f142
commit 6ea9bcbf0a

View File

@@ -127,6 +127,7 @@ if [[ "${DE}" == "xfce" || "${DDE}" == "xfce" ]]; then
# Add indicator-plugin to panel if not already present
if command -v xfconf-query >/dev/null 2>&1; then
xfconf-query -c xfce4-panel -p /panels -n -t int -s 1 || true
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