#!/usr/bin/csi -script ;; -*- scheme -*- (declare (uses chicken-syntax)) (use posix awful) (define (usage #!optional exit-code) (print (pathname-strip-directory (program-name)) " [ ... ]") (when exit-code (exit exit-code))) (let ((apps (command-line-arguments))) (when (null? apps) (usage 1)) (load-apps apps) (register-root-dir-handler) (register-dispatcher) (awful-start))