File: screenlock

package info (click to toggle)
tkdesk 2.0-12
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 6,596 kB
  • sloc: tcl: 20,764; ansic: 16,262; sh: 359; makefile: 233
file content (26 lines) | stat: -rw-r--r-- 362 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh

if [ $# != 0 ]; then
   mode=$1
   shift
else
   mode=nose
fi

/usr/bin/X11/xlock \
-mode $mode \
-program '/usr/games/fortune' \
-remote \
-usefirst \
-nice 18 \
-info "Are you a god?" \
-msgfont 10x20 \
-bg '#77A26D' \
-fg '#C8C365' \
-username "Wizard: " \
-password "Magic Word: " \
-validate "Invoking spell..." \
-invalid "Bugger off..." \
$*