bugfix
This commit is contained in:
@@ -125,19 +125,6 @@ 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
|
|
||||||
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
|
|
||||||
xfconf-query -c xfce4-panel -p /plugins/plugin-ids -t int -a -s "indicator-plugin" || true
|
|
||||||
|
|
||||||
# Add clipboard manager plugin
|
|
||||||
NEXT_ID=$(( NEXT_ID + 1 ))
|
|
||||||
xfconf-query -c xfce4-panel -p /plugins/plugin-ids -t int -a -s "$NEXT_ID" || true
|
|
||||||
xfconf-query -c xfce4-panel -p /plugins/plugin-ids -t int -a -s "clipman" || true
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# End of script
|
# End of script
|
||||||
|
|||||||
Reference in New Issue
Block a user