wok view fluxbox/stuff/fluxbox-session @ rev 12475
fluxbox: better SliTaz integration, use XDG xsessions
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 23 15:17:56 2012 +0200 (2012-04-23) |
parents | |
children | e000ccc93a7b |
line source
1 #!/bin/sh
2 #
3 # SliTaz GNU/Linux Fluxbox session script. This script let use Flux
4 # like Openbox autostart and user dont have to call fluxbox into ther
5 # startup script. We also set some XDG variables.
6 #
8 fluxdir="$HOME/.fluxbox"
10 # Export XDG standard directories.
11 export XDG_CONFIG_HOME="$HOME/.config"
12 export XDG_CACHE_HOME="$HOME/.cache"
13 export XDG_CURRENT_DESKTOP=fluxbox
15 # Make sure we have config files.
16 if [ ! -x "$fluxdir/startup" ]; then
17 cp /usr/share/slitaz/fluxbox/startup $fluxdir
18 chmod +x $fluxdir/startup
19 fi
21 # Run the user Fluxbox startup script.
22 $fluxdir/startup
24 # Now we start fluxbox itself.
25 exec fluxbox