summaryrefslogtreecommitdiff
path: root/app/xlockmore/etc/genlauncher/xmlock.modes.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'app/xlockmore/etc/genlauncher/xmlock.modes.tpl')
-rw-r--r--app/xlockmore/etc/genlauncher/xmlock.modes.tpl19
1 files changed, 19 insertions, 0 deletions
diff --git a/app/xlockmore/etc/genlauncher/xmlock.modes.tpl b/app/xlockmore/etc/genlauncher/xmlock.modes.tpl
new file mode 100644
index 000000000..0591b98b1
--- /dev/null
+++ b/app/xlockmore/etc/genlauncher/xmlock.modes.tpl
@@ -0,0 +1,19 @@
+typedef struct LockStruct_s
+{
+ char *cmdline_arg; /* mode name */
+ /* Maybe other things should be added here from xlock? */
+ /* Should read in XLock as well to set defaults */
+ char *desc; /* text description of mode */
+} LockStruct;
+
+static LockStruct LockProcs[] =
+{
+$%LISTMOTIF#ifdef USE_BOMB
+{(char *) "bomb", (char *) "Shows a bomb and will autologout after a time"},
+{(char *) "random", (char *) "Shows a random mode (except blank and bomb)"}
+#else
+{(char *) "random", (char *) "Shows a random mode (except blank)"}
+#endif
+};
+
+#define numprocs (sizeof(LockProcs) /sizeof(LockProcs[0]))