So I thought a script would be able to do this, it turned out to be quite easy to achieve, so I'll get straight to how to do it.
Be Careful Not To Over Write xfdesktop-settings
First of all, in " /usr/bin " find " xfdesktop-settings " and rename it to ' xfdesktop-setting " , in the same directory create a new file and name it " xfdesktop-settings ", open it with a text editor and paste the code below.
Code: Select all
#!/bin/sh
# Kill wbar
killall wbar
# Run Desktop
exec xfdesktop-setting &
# Wait for Desktop to close
wait $!
# Run wbar
/root/.wbar.sh
Now go to " /root " and create a new file there and name it " .wbar.sh " and as above edit it pasting the code below
Code: Select all
#!/bin/sh
#wait for the desktop to settle
sleep 3
#start wbar
wbar -above-desk -jumpf 1 -pos bottom -offset 30 -nanim 3 -zoomf 1.8 -idist 10 -isize 38 -bpress -balfa 0 -falfa 100 &
#exec $CURRENTWM
exit 0
That's it, one less click of the mouse to worry about.
EDIT:
I've had another look at it and made a small change that will speed it up, when refreshing wbar it isn't necessary to have a sleep statement in the script, so I made another script named " .wbar-refresh ", I left the " .wbar.sh " as it is so XFCE can use it in autostart and changed " xfdesktop-settings " to run " .wbar-refresh " so now they look like this.
xfdesktop-settings:
Code: Select all
#!/bin/sh
# Kill wbar
killall wbar
# Run Desktop
exec xfdesktop-setting &
# Wait for Desktop to close
wait $!
# Run wbar
/root/.wbar-refresh
Code: Select all
#!/bin/sh
#start wbar
wbar -above-desk -jumpf 1 -pos bottom -offset 30 -nanim 3 -zoomf 1.8 -idist 10 -isize 38 -bpress -balfa 0 -falfa 100 &