X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=stumpwmrc;h=a8ac4537e480ac3003fc042c097aea75329996e7;hb=88ba0f56e16573a402d6fcbb383dc0f62fc4620d;hp=8e93597ff955be11a1aa2213c28d2a53285b3df9;hpb=ad32c67723150f9d323581956e277b17e416fd92;p=config%2Fdotfiles.git diff --git a/stumpwmrc b/stumpwmrc index 8e93597..a8ac453 100644 --- a/stumpwmrc +++ b/stumpwmrc @@ -1,14 +1,40 @@ ;; Configuration file for Stumpwm. +;; Copyright (C) 2011-2012 Simon Ruderich +;; +;; This file is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published by +;; the Free Software Foundation, either version 3 of the License, or +;; (at your option) any later version. +;; +;; This file is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU General Public License for more details. +;; +;; You should have received a copy of the GNU General Public License +;; along with this file. If not, see . + (in-package :stumpwm) -;; Display mode line. -(toggle-mode-line (current-screen) (current-head)) + +;;; MODE LINE + +;; 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