wok-6.x annotate lxde/stuff/lxde-logout @ rev 18309
Up cookutils (750)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 25 12:04:37 2015 +0200 (2015-08-25) |
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 |