Commit Graph

86 Commits

Author SHA1 Message Date
Ghost1227
4327bd6cf2 Merge pull request #8 from CasperVector/master
Fix bug in yesno(), plus minor improvements.
2012-08-24 10:55:05 -07:00
Casper Ti. Vector
4c5742336b consolekit -> ConsoleKit in comments. 2012-08-25 00:44:16 +08:00
Casper Ti. Vector
98dca034c3 Make better use of exitnormal(). 2012-08-25 00:43:00 +08:00
Casper Ti. Vector
e14c9fdaf5 Redirect all output of warn() and error() to stderr. 2012-08-25 00:41:52 +08:00
Casper Ti. Vector
8dd6f4f4b8 Fix yesno() implementation. 2012-08-25 00:39:54 +08:00
Ghost1227
3bba5d3944 Merge pull request #7 from CasperVector/master
Massive rearchitecturing and code sanitation - Thanks CasperVector!
2012-08-22 23:06:40 -07:00
Casper Ti. Vector
723149c6bd Merge branch 'master' of https://github.com/ghost1227/cdm 2012-08-23 13:33:34 +08:00
Casper Ti. Vector
46bed3d4c4 Again polish install.sh 2012-08-23 13:15:26 +08:00
Casper Ti. Vector
6eb00db562 Convert Gentoo-specific code to more universal form. 2012-08-23 12:59:02 +08:00
Casper Ti. Vector
6d05770aca Update install.sh (forgot for a long time :|). 2012-08-23 12:45:26 +08:00
Casper Ti. Vector
fbc4266b1a Fix a typo in the ChangeLog. 2012-08-23 10:50:10 +08:00
Ghost1227
91b2e0708d Merge pull request #5 from ShadowKyogre/master
Fix an odd issue involving launching consolekit mentioned in Arch Linux forums
2012-08-09 20:38:35 -07:00
Casper Ti. Vector
adc4e7270b Fix config file sourcing. 2012-08-09 14:59:32 +08:00
Casper Ti. Vector
4fbb39db0d s/sanisation/sanitation/ 2012-08-08 21:42:50 +08:00
Casper Ti. Vector
8c3367cadf % s/\$self/\$name/g 2012-07-27 22:14:39 +08:00
Casper Ti. Vector
589b6a2f5a Minor adjustment to order of options. 2012-07-27 22:13:21 +08:00
ShadowKyogre
d0a3ae0176 Officially fix this issue: https://bbs.archlinux.org/viewtopic.php?pid=1130930#p1130930 2012-07-16 18:45:45 -07:00
Ghost1227
434ddf6014 Merge pull request #3 from ShadowKyogre/master
Add workaround for invalid MIT cookie
2012-07-16 06:59:41 -07:00
Casper Ti. Vector
320df8e1d0 Minor rewording. 2012-06-04 21:42:41 +08:00
Casper Ti. Vector
102a680db4 More logical order of options... 2012-05-13 17:03:44 +08:00
Casper Ti. Vector
510652d152 Again replace ' ... ' with '$( ... )'. 2012-05-04 00:30:28 +08:00
Casper Ti. Vector
8acbe2847d Make better of bash's arithmetic functionalities. 2012-05-01 20:04:11 +08:00
Casper Ti. Vector
0b95afd500 Use '$( ... )' instead of ' ... ' to avoid unexpected expansions. 2012-05-01 19:10:06 +08:00
Casper Ti. Vector
c97fb28e3a Minor modifications in comment. 2012-04-12 14:03:52 +08:00
Casper Ti. Vector
3fa3e89779 Synchronise copyright notices... 2012-04-11 14:54:58 +08:00
Casper Ti. Vector
1e1b7c5fa1 Sync values and order of configs in src/cdm and src/cdmrc. 2012-04-08 18:13:51 +08:00
Casper Ti. Vector
8b79303a73 Update documentation and installation scripts.
Bump version number to 0.6.
2012-04-08 03:37:00 +08:00
Casper Ti. Vector
4b0e9825eb Major restructuring.
classify menu items into console programs and X programs.
Console programs are directly `exec'ed.
X programs are run with cdm-xlaunch(1).
$allowconsole, $usexinit, shutdownmenu(), etc., are removed.
2012-04-08 02:10:20 +08:00
Casper Ti. Vector
f54e4a2ccd Move code used to launch X to cdm-xlaunch(1), since it's relatively
independent code and thus would be sometimes useful for running as a
standalone program.
2012-04-08 00:20:40 +08:00
Casper Ti. Vector
d61d3ad3fb Use a better way to safely launch a program in the background.
`$loginshell' is removed accordingly.
See <http://linuxshellaccount.blogspot.com/2007/12/what-to-do-when-nohup-hangs-up-anyway.html>.
2012-04-07 18:20:21 +08:00
Casper Ti. Vector
a80d9cb9c1 Code messing with X should only be run if an X program is to be run. 2012-04-07 18:16:51 +08:00
Casper Ti. Vector
a5df0f9c6f Add support for user-defined cdmrc.
Remove $userconfig and related code.
2012-04-07 18:15:31 +08:00
Casper Ti. Vector
05c78ba0a9 Replace self-made info formatting code with `functions.sh'.
checkyesno() is removed too since gentoo's `functions.sh' already
provides it.
2012-04-07 18:07:50 +08:00
Casper Ti. Vector
537b582313 Use signal names (not numbers) in `trap'. 2012-04-07 17:44:47 +08:00
Casper Ti. Vector
a7de917b70 Simplify the theme mechanism, just specify an absolute path to a
dialogrc file as $dialogrc, and let dialog(1) worry about the validity
of $dialogrc.

Rename variables:
    $theme -> $dialogrc: make the low level things more transparent.
    $cosolekittime -> $cktimeout: indicate "timeout" here.
2012-04-07 17:43:28 +08:00
Casper Ti. Vector
64b5c817a8 Reformat comments: Expanded tabs to avoid problem with editors. 2012-04-07 17:11:41 +08:00
ShadowKyogre
c4b831f919 Add case for handling the Invalid MIT cookie or something. 2012-02-11 17:44:23 -08:00
Jonas Bernoulli
d9b02d5c66 move xinitrc to /etc/X11/cdm/ and document it's use 2011-01-30 23:14:41 +01:00
Jonas Bernoulli
6f15756a37 put cdmrc in /etc/X11/cdm/ 2011-01-30 23:04:49 +01:00
Jonas Bernoulli
f412507465 Offer all available sessions if wmbinlist is empty 2011-01-30 23:02:00 +01:00
Jonas Bernoulli
791a5e5bdf allowshutdown=no as sudo has to be properly configured 2011-01-30 22:59:15 +01:00
Jonas Bernoulli
dc759d2445 do not set dpi, let X get it right on it's own 2011-01-30 22:57:40 +01:00
Ghost1227
1df217f0a5 Updated to 0.5.3 read CHANGELOG for details 2011-01-02 17:42:28 -06:00
Joseph R. Nosie
b1c36e2d9c Fixed problem in selecting wmbin 2010-05-16 08:30:38 +08:00
Joseph R. Nosie
8ecb8ae5e4 Fixed problem with setting wmbin when consolefirst 2010-05-16 08:30:37 +08:00
Joseph R. Nosie
2e546b4655 Fixed bug in numbering with console login diabled 2010-05-16 08:30:37 +08:00
Joseph R. Nosie
bf2311d216 Added option to list 'Console' as first choice 2010-05-16 08:30:37 +08:00
Ghost1227
5dce9b8b43 Removed sleep, race condition fixed 2010-01-24 20:43:38 -06:00
Ghost1227
c16afbd635 Version bump 2010-01-24 17:40:19 -06:00
Ghost1227
8748210411 Fix critical issue with exec, fixed SHLVL 2010-01-24 17:39:28 -06:00