wok-6.x annotate fluxbox/stuff/fluxbox-session @ rev 13695

separate .conf file
author xfred222
date Thu Dec 13 20:04:39 2012 -0500 (2012-12-13)
parents 96d7eeb131d6
children
rev   line source
pankso@12475 1 #!/bin/sh
pankso@12475 2 #
pankso@12475 3 # SliTaz GNU/Linux Fluxbox session script. This script let use Flux
pankso@12475 4 # like Openbox autostart and user dont have to call fluxbox into ther
pankso@12527 5 # startup script. We also set some XDG variables.
pankso@12475 6 #
pankso@12475 7
pankso@12475 8 fluxdir="$HOME/.fluxbox"
pankso@12475 9
pankso@12475 10 # Export XDG standard directories.
pankso@12475 11 export XDG_CONFIG_HOME="$HOME/.config"
pankso@12475 12 export XDG_CACHE_HOME="$HOME/.cache"
pankso@12475 13 export XDG_CURRENT_DESKTOP=fluxbox
pankso@12475 14
pankso@12475 15 # Make sure we have config files.
pankso@12475 16 if [ ! -x "$fluxdir/startup" ]; then
pankso@12527 17 mkdir -p $fluxdir
pankso@12475 18 cp /usr/share/slitaz/fluxbox/startup $fluxdir
pankso@12475 19 chmod +x $fluxdir/startup
pankso@12475 20 fi
pankso@12475 21
pankso@12475 22 # Run the user Fluxbox startup script.
pankso@12475 23 $fluxdir/startup
pankso@12475 24
pankso@12475 25 # Now we start fluxbox itself.
pankso@12475 26 exec fluxbox