summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util/fbsetbg10
-rwxr-xr-xutil/fluxbox-generate_menu4
-rwxr-xr-xutil/startfluxbox.in11
3 files changed, 14 insertions, 11 deletions
diff --git a/util/fbsetbg b/util/fbsetbg
index b72c7cc..4cd0ab3 100644
--- a/util/fbsetbg
+++ b/util/fbsetbg
@@ -23,7 +23,7 @@
23# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 23# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
24# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 24# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25# 25#
26# $Id: fbsetbg,v 1.19 2003/09/20 16:03:30 fluxgen Exp $ 26# $Id: fbsetbg,v 1.20 2003/09/29 11:59:35 fluxgen Exp $
27 27
28# Portability notes: 28# Portability notes:
29# To guarantee this script works on all platforms that support fluxbox 29# To guarantee this script works on all platforms that support fluxbox
@@ -45,7 +45,7 @@
45 45
46 46
47# The wallpapersetter is selected in this order 47# The wallpapersetter is selected in this order
48wpsetters='feh Esetroot wmsetbg chbg display qiv xv xsri xli xsetbg' # broken icewmbg' 48wpsetters='Esetroot wmsetbg feh chbg display qiv xv xsri xli xsetbg' # broken icewmbg'
49lastwallpaper=${HOME}/.fluxbox/lastwallpaper 49lastwallpaper=${HOME}/.fluxbox/lastwallpaper
50 50
51 51
@@ -346,6 +346,6 @@ Run '$WPSETTER $option "$wallpaper"' from an xterm to find out what."
346fi 346fi
347 347
348#remember previous wallpaper 348#remember previous wallpaper
349[ ! "$remember" = false ] && remembercommand 349if [ ! "$remember" = false ]; then
350# Off course this returns 1 most of the time. 350 remembercommand
351exit 0 351fi
diff --git a/util/fluxbox-generate_menu b/util/fluxbox-generate_menu
index e2a74e9..cc1c986 100755
--- a/util/fluxbox-generate_menu
+++ b/util/fluxbox-generate_menu
@@ -22,7 +22,7 @@
22# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23# DEALINGS IN THE SOFTWARE. 23# DEALINGS IN THE SOFTWARE.
24# 24#
25# $Id: fluxbox-generate_menu,v 1.52 2003/09/22 18:45:31 fluxgen Exp $ 25# $Id: fluxbox-generate_menu,v 1.53 2003/09/29 11:59:35 fluxgen Exp $
26 26
27# 27#
28# Portability notes: 28# Portability notes:
@@ -910,7 +910,7 @@ append_submenu "${FBSETTINGSMENU}"
910 # Backgroundmenu 910 # Backgroundmenu
911 addbackground() { 911 addbackground() {
912 picturename=`basename "$1"` 912 picturename=`basename "$1"`
913 append "[exec] (${picturename%.???}) {fbsetbg -f \"$1\" }" 913 append "[exec] (${picturename%.???}) {fbsetbg -a \"$1\" }"
914 } 914 }
915 915
916 if [ "$BACKGROUNDMENUITEM" = yes ]; then 916 if [ "$BACKGROUNDMENUITEM" = yes ]; then
diff --git a/util/startfluxbox.in b/util/startfluxbox.in
index f3ba2f9..8e9daeb 100755
--- a/util/startfluxbox.in
+++ b/util/startfluxbox.in
@@ -1,11 +1,14 @@
1#!/bin/sh 1#!/bin/sh
2if [ -e ~/.fluxbox/startup ];then 2# $Id: startfluxbox.in,v 1.2 2003/09/29 11:59:35 fluxgen Exp $
3if [ -x ~/.fluxbox/startup ];then
4 exec ~/.fluxbox/startup
5elif [ -r ~/.fluxbox/startup ]; then
3 exec sh ~/.fluxbox/startup 6 exec sh ~/.fluxbox/startup
4else 7else
5 if [ ! -d ~/.fluxbox ];then 8 if [ ! -d ~/.fluxbox ];then
6 mkdir -p ~/.fluxbox/{backgrounds,styles} 9 mkdir -p ~/.fluxbox/{backgrounds,styles,pixmaps}
7 fi 10 fi
8 cp @pkgdatadir@/startup ~/.fluxbox 11 cp @pkgdatadir@/startup ~/.fluxbox
9 @pkgbindir@/bsetroot -solid Black 12 chmod 755 ~/.fluxbox/startup
10 exec @pkgbindir@/fluxbox 13 exec ~/.fluxbox/startup
11fi 14fi