bugfix
This commit is contained in:
@@ -127,6 +127,7 @@ if [[ "${DE}" == "xfce" || "${DDE}" == "xfce" ]]; then
|
|||||||
|
|
||||||
# Add indicator-plugin to panel if not already present
|
# Add indicator-plugin to panel if not already present
|
||||||
if command -v xfconf-query >/dev/null 2>&1; then
|
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)
|
PANEL_ID=$(xfconf-query -c xfce4-panel -p /panels -v | grep -Eo '[0-9]+' | head -n1)
|
||||||
# Add indicator plugin to first panel
|
# 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 "$(($(xfconf-query -c xfce4-panel -p /plugins/plugin-ids | wc -l)+1))" || true
|
||||||
|
|||||||
Reference in New Issue
Block a user