82 Commits (b0067b6027c53ee98ebafeb676986c86dbdb2517)

Author SHA1 Message Date
Robert Schütz b0067b6027 Make it the third option
Because it doesn't make sense to source /etc/cdmrc before the one in
$XDG_CONFIG_HOME
8 years ago
Robert Schütz 66d537eee1 Source $XDG_CONFIG_HOME/cdm/cdmrc as fourth option 8 years ago
polyphemus 19a610675d Exit with return code 2 when dialog selection was canceled
This makes it more practical to use 'cdm && exit' in a tty when you
decide to cancel when you're already in the dialog selection window.
10 years ago
Rob Cornish d897a52323 Added optional logging of startx output
Previously all startx output from cdm-xlaunch was sent to /dev/null.
This commit adds a 'startxlog' configuration option which allows this
behaviour to be overridden.
10 years ago
polyphemus e2f4ccfcf8 Fix passing multiple arguments to programs from Exec key from .desktop files. Was missing quotes around variables, now checks which's return code. 11 years ago
Ghost1227 b70bbc45a0 Merge pull request #23 from polyphemus/develop
Miscellaneous cleanup
11 years ago
polyphemus 3412c9dc7c Check if directories exist before try to \'find\' files in them. 11 years ago
polyphemus 536010fea5 Cleanup of $binlist behaviour. Show error when no programs are found. Don't use $countdown if only one program is available. Don't call clear when only one program is available/dialog is not called. 11 years ago
polyphemus 1d7c337d60 Make alternative method of calling startx a configuration option. This changes the default startx call back to not using a subshell. 11 years ago
polyphemus 3f1389862b Add support for /usr/share/xsessions. Only fallback on .desktop files when $binlist is not set by cdmrc or /etc/X11/Sessions/ files. Resolves issue #17. 11 years ago
Ghost1227 07765240fd Updated author info and copyright 12 years ago
Casper Ti. Vector c63e76c680 Reduce nestedness in processing of `binlist'.
Now users can use `~' instead of `$HOME' again.
12 years ago
Casper Ti. Vector 6f01247aee Improve quoting for `serverargs' and `launchflags'. 12 years ago
Casper Ti. Vector 7aa1654039 Minor improvements to coding style. 12 years ago
Casper Ti. Vector 2ea165a1bc cdm: simplify processing of /etc/X11/Sessions. 12 years ago
Casper Ti. Vector b1f9ca34b2 Revert commit 2c8cc1a4, and fix the problem in a correct way. 12 years ago
Casper Ti. Vector 0b8ca1d3b8 Polish vim modelines. 12 years ago
Jakub Klinkovský 0931bb698f but namelist should really contain only the basename 12 years ago
Jakub Klinkovský 26f157d868 fixed bug: binlist should contain full path because startx expects it 12 years ago
Jakub Klinkovský ef8fe99bc9 fixed bug: flaglist not initialized properly 12 years ago
Jakub Klinkovský 2c8cc1a444 Fixed bug - '()' is not recognized as empty array 12 years ago
Esa Lakaniemi 06a8406bbf Untrap before calling console programs
At least bash refuses to let you untrap signals that have been trapped by a parent process. Not untrapping it here means effectively and unrevokably disabling ^C in any child process of any child bash shell. It's irritating and confusing and probably not intended to happen.
12 years ago
Jakub Klinkovský 1bb3691d37 after discussion - use spaces instead of tabs 12 years ago
Jakub Klinkovský 277ed46ee8 fixed formatting - use only tabs, no spaces 12 years ago
Jakub Klinkovský 5ec919f7c0 fixed formatting - use only tabs, no spaces 12 years ago
Jakub Klinkovský 97afbbf072 added option to run X in current TTY 12 years ago
Casper Ti. Vector 98dca034c3 Make better use of exitnormal(). 12 years ago
Casper Ti. Vector e14c9fdaf5 Redirect all output of warn() and error() to stderr. 12 years ago
Casper Ti. Vector 8dd6f4f4b8 Fix yesno() implementation. 12 years ago
Casper Ti. Vector 723149c6bd Merge branch 'master' of https://github.com/ghost1227/cdm 12 years ago
Casper Ti. Vector 6eb00db562 Convert Gentoo-specific code to more universal form. 12 years ago
Casper Ti. Vector adc4e7270b Fix config file sourcing. 12 years ago
Casper Ti. Vector 4fbb39db0d s/sanisation/sanitation/ 12 years ago
Casper Ti. Vector 8c3367cadf % s/\$self/\$name/g 12 years ago
Casper Ti. Vector 589b6a2f5a Minor adjustment to order of options. 12 years ago
ShadowKyogre d0a3ae0176 Officially fix this issue: https://bbs.archlinux.org/viewtopic.php?pid=1130930#p1130930 12 years ago
Casper Ti. Vector 320df8e1d0 Minor rewording. 12 years ago
Casper Ti. Vector 102a680db4 More logical order of options... 12 years ago
Casper Ti. Vector 8acbe2847d Make better of bash's arithmetic functionalities. 12 years ago
Casper Ti. Vector 1e1b7c5fa1 Sync values and order of configs in src/cdm and src/cdmrc. 12 years ago
Casper Ti. Vector 8b79303a73 Update documentation and installation scripts.
Bump version number to 0.6.
12 years ago
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.
12 years ago
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.
12 years ago
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>.
12 years ago
Casper Ti. Vector a80d9cb9c1 Code messing with X should only be run if an X program is to be run. 12 years ago
Casper Ti. Vector a5df0f9c6f Add support for user-defined cdmrc.
Remove $userconfig and related code.
12 years ago
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.
12 years ago
Casper Ti. Vector 537b582313 Use signal names (not numbers) in `trap'. 12 years ago
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.
12 years ago
Casper Ti. Vector 64b5c817a8 Reformat comments: Expanded tabs to avoid problem with editors. 12 years ago