wok-next view fluxbox/stuff/fluxbox-session @ rev 18070
Up ms-sys (2.5.0), wkhtmltopdf (0.12.2.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 21 15:21:04 2015 +0200 (2015-05-21) |
parents | 96d7eeb131d6 |
children |
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 mkdir -p $fluxdir
18 cp /usr/share/slitaz/fluxbox/startup $fluxdir
19 chmod +x $fluxdir/startup
20 fi
22 # Run the user Fluxbox startup script.
23 $fluxdir/startup
25 # Now we start fluxbox itself.
26 exec fluxbox