]> ruderich.org/simon Gitweb - config/dotfiles.git/blob - x11/stumpwmrc
herbstluftwm/autostart: also create tag 0
[config/dotfiles.git] / x11 / stumpwmrc
1 ;; Configuration file for Stumpwm.
2
3 ;; Copyright (C) 2011-2012  Simon Ruderich
4 ;;
5 ;; This file is free software: you can redistribute it and/or modify
6 ;; it under the terms of the GNU General Public License as published by
7 ;; the Free Software Foundation, either version 3 of the License, or
8 ;; (at your option) any later version.
9 ;;
10 ;; This file is distributed in the hope that it will be useful,
11 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
12 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 ;; GNU General Public License for more details.
14 ;;
15 ;; You should have received a copy of the GNU General Public License
16 ;; along with this file.  If not, see <http://www.gnu.org/licenses/>.
17
18
19 (in-package :stumpwm)
20
21
22 ;;; MODE LINE
23
24 ;; Display mode line at the bottom of the screen.
25 (setf *mode-line-position* :bottom)
26 ;; Display mode line and allow loading of stumpwmrc multiple times. Thanks to
27 ;; http://prael.wordpress.com/stumpwmrc/ and
28 ;; http://hcl-club.lu/svn/development/lisp/.stumpwmrc
29 (if (not (head-mode-line (current-head)))
30      (toggle-mode-line (current-screen) (current-head)))
31
32
33 ;;; KEY MAPPINGS
34
35 ;; Remove bindings to kill a window. Too dangerous for a Vim user.
36 (undefine-key *group-root-map* (kbd "k"))
37 (undefine-key *group-root-map* (kbd "C-k"))
38 (undefine-key *group-root-map* (kbd "K"))
39
40 ;; vim: ft=lisp