update from Han
fluxgen fluxgen
3 files changed,
14 insertions(+),
11 deletions(-)
M
util/fbsetbg
→
util/fbsetbg
@@ -23,7 +23,7 @@ # CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE # SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # -# $Id: fbsetbg,v 1.19 2003/09/20 16:03:30 fluxgen Exp $ +# $Id: fbsetbg,v 1.20 2003/09/29 11:59:35 fluxgen Exp $ # Portability notes: # To guarantee this script works on all platforms that support fluxbox@@ -45,7 +45,7 @@ # other ways.
# The wallpapersetter is selected in this order -wpsetters='feh Esetroot wmsetbg chbg display qiv xv xsri xli xsetbg' # broken icewmbg' +wpsetters='Esetroot wmsetbg feh chbg display qiv xv xsri xli xsetbg' # broken icewmbg' lastwallpaper=${HOME}/.fluxbox/lastwallpaper@@ -346,6 +346,6 @@ exit 1
fi #remember previous wallpaper -[ ! "$remember" = false ] && remembercommand -# Off course this returns 1 most of the time. -exit 0 +if [ ! "$remember" = false ]; then + remembercommand +fi
M
util/startfluxbox.in
→
util/startfluxbox.in
@@ -1,11 +1,14 @@
#!/bin/sh -if [ -e ~/.fluxbox/startup ];then +# $Id: startfluxbox.in,v 1.2 2003/09/29 11:59:35 fluxgen Exp $ +if [ -x ~/.fluxbox/startup ];then + exec ~/.fluxbox/startup +elif [ -r ~/.fluxbox/startup ]; then exec sh ~/.fluxbox/startup else if [ ! -d ~/.fluxbox ];then - mkdir -p ~/.fluxbox/{backgrounds,styles} + mkdir -p ~/.fluxbox/{backgrounds,styles,pixmaps} fi cp @pkgdatadir@/startup ~/.fluxbox - @pkgbindir@/bsetroot -solid Black - exec @pkgbindir@/fluxbox + chmod 755 ~/.fluxbox/startup + exec ~/.fluxbox/startup fi