X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=stumpwmrc;h=1545d33767d17ecd81151079d86b97f5fb61330d;hb=de57a54e54230179017cdea80b8bed47c6042ce6;hp=0e84eecb23fc0d87ae4ae9c5092bbe931e67681c;hpb=25146b6576bcafa2625c057d0105d1db4a21a322;p=config%2Fdotfiles.git diff --git a/stumpwmrc b/stumpwmrc index 0e84eec..1545d33 100644 --- a/stumpwmrc +++ b/stumpwmrc @@ -6,15 +6,20 @@ ;;; MODE LINE -;; Display mode line. -(toggle-mode-line (current-screen) (current-head)) +;; Display mode line at the bottom of the screen. +(setf *mode-line-position* :bottom) +;; Display mode line and allow loading of stumpwmrc multiple times. Thanks to +;; http://prael.wordpress.com/stumpwmrc/ and +;; http://hcl-club.lu/svn/development/lisp/.stumpwmrc +(if (not (head-mode-line (current-head))) + (toggle-mode-line (current-screen) (current-head))) ;;; KEY MAPPINGS ;; Remove bindings to kill a window. Too dangerous for a Vim user. -(undefine-key *root-map* (kbd "k")) -(undefine-key *root-map* (kbd "C-k")) -(undefine-key *root-map* (kbd "K")) +(undefine-key *group-root-map* (kbd "k")) +(undefine-key *group-root-map* (kbd "C-k")) +(undefine-key *group-root-map* (kbd "K")) ;; vim: ft=lisp