wok-6.x annotate lxde/stuff/lxde-logout @ rev 14193
emacs-pkg-lua-mode: tidy receipt
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Mar 12 23:04:56 2013 +0100 (2013-03-12) |
parents | |
children |
rev | line source |
---|---|
pankso@12416 | 1 #!/bin/sh |
pankso@12416 | 2 # |
pankso@12416 | 3 # SliTaz LXDE Logout. |
pankso@12416 | 4 # |
pankso@12416 | 5 |
pankso@12416 | 6 case "$1" in |
pankso@12416 | 7 *.png|*.jpg) banner="$1" ;; |
pankso@12416 | 8 --*|help|usage) echo "Usage: $(basename $0) [image]" && exit 0 ;; |
pankso@12416 | 9 *) banner="/usr/share/images/slitaz-banner.png" ;; |
pankso@12416 | 10 esac |
pankso@12416 | 11 |
pankso@12416 | 12 lxsession-logout --banner "$banner" --side=top |