StumpWM. My new favorite window manager.
Go to file
2020-06-08 20:08:24 +02:00
tests Convert some pathname functions to use uiop 2019-01-03 22:24:50 -05:00
.dir-locals.el Allow insertion of TAB character when editing Makefiles 2013-11-19 00:30:27 -02:00
.gitattributes add .gitattributes 2007-09-15 16:03:40 -07:00
.gitignore Ignore texi auxiliary files 2017-06-01 07:57:31 -05:00
.travis.yml Modified travis.yml for gitter integration 2020-04-09 11:11:17 -04:00
AUTHORS Improve describe-key and describe-command: show more context 2019-12-19 19:35:44 -08:00
autogen.sh add autogen.sh. remove stumpwm.sbcl and stumpwm.clisp 2007-10-06 18:32:47 -07:00
bindings.lisp Add binding "X" to remove-split 2020-01-10 23:34:23 +01:00
color.lisp Fixing color parsing issues, fixes #391 2018-02-14 22:36:28 -05:00
command.lisp reworked colon to complete like emacs 2020-03-07 17:10:06 +01:00
configure.ac Do not require makeinfo to build successfully 2019-12-19 17:39:35 -08:00
COPYING Update FSF address 2011-11-13 12:31:20 +00:00
core.lisp Fixing issue 226 by adding a synthetic click when no-focus is called 2019-11-27 18:08:39 -05:00
dynamic-window.lisp Don't expose with only one application or only one frame 2019-12-19 17:01:06 -08:00
events.lisp Revert "Change xlib::make-window to equivalent make-instance call" 2020-05-16 21:11:52 +02:00
fdump.lisp Dump/restore configurations on XDG base dir file locations 2020-03-09 15:17:20 -07:00
floating-group.lisp resize float windows: compute left-quadrant and top-quadrant only once 2020-03-25 17:29:13 +01:00
font-rendering.lisp Simplify FONT-EXISTS-P 2019-07-14 14:08:55 -05:00
group.lisp Fix bug in GMOVE-AND-FOLLOW command 2020-01-18 15:55:20 +01:00
HACKING touch up b53c01d617 to make the manual build again. 2008-05-09 15:49:50 -07:00
head.lisp removing global config 2019-11-27 19:30:15 -05:00
help.lisp Check if map is really a keymap 2020-05-23 14:52:46 +02:00
input.lisp Don't lose focus when fetching completions 2020-06-02 22:02:34 -05:00
interactive-keymap.lisp Make messages punctuation more uniform 2019-12-23 13:24:21 -08:00
ioloop.lisp Remove conditionals for non sbcl common lisp implementations (#351) 2017-05-24 23:03:58 -05:00
iresize.lisp Solve error when calling resize-direction directly as command and add docstring to it (#442) 2018-02-09 00:49:47 -05:00
keysyms.lisp Add keysym for XF86RFKill 2019-05-28 23:32:28 -05:00
keytrans.lisp Update FSF address 2011-11-13 12:31:20 +00:00
kmap.lisp Fix PARSE-KEY to error with KBD-PARSE-ERROR 2018-08-31 20:55:09 -05:00
load-stumpwm.lisp.in Remove conditionals for non sbcl common lisp implementations (#351) 2017-05-24 23:03:58 -05:00
make-image.lisp.in Add support for compression of executable file 2019-03-24 14:20:35 +01:00
Makefile.in Do not require makeinfo to build successfully 2019-12-19 17:39:35 -08:00
manual.lisp Remove Linux-only function reference from stumpwm.texi.in 2020-01-18 21:31:09 -05:00
menu-declarations.lisp Documentation fixes and capitalization 2019-12-21 15:56:29 -08:00
menu-definitions.lisp Merge pull request #694 from equwal/sfm-table-bug 2019-12-22 22:15:46 -05:00
message-window.lisp Remove unused function MAX-WIDTH 2019-08-21 21:11:13 -05:00
mode-line-formatters.lisp Split formatters into mode-line-formatters.lisp 2016-10-31 00:57:45 +01:00
mode-line.lisp invert check for mode-line cleanup 2020-05-11 18:18:24 +02:00
module.lisp use PUSH instead of SETF .. (append (list ...)) 2020-04-24 16:10:16 +02:00
NEWS NEWS: remove merge cruft 2018-10-07 12:16:13 -05:00
package.lisp Added functions IN-MAIN-THREAD-P and PUSH-EVENT 2017-07-18 01:49:04 -05:00
pathnames.lisp Convert some pathname functions to use uiop 2019-01-03 22:24:50 -05:00
primitives.lisp add missing keyword argument to docstring 2020-04-27 18:51:11 -06:00
README.md Added Gittler tag 2020-04-08 17:02:06 -04:00
remap-keys.lisp Make messages punctuation more uniform 2019-12-23 13:24:21 -08:00
sample-stumpwmrc.lisp Replace Google in sample stumpwmrc with DuckDuckGo 2020-06-08 20:08:24 +02:00
screen.lisp Improve default font selection (#635) 2019-08-16 11:42:51 -05:00
selection.lisp Document *default-selections* 2019-12-17 19:52:25 -08:00
stumpwm-tests.asd Convert some pathname functions to use uiop 2019-01-03 22:24:50 -05:00
stumpwm.asd Improve describe-key and describe-command: show more context 2019-12-19 19:35:44 -08:00
stumpwm.lisp add restart to abort debugging when *top-level-error-action* is :break 2020-04-24 15:59:13 +02:00
stumpwm.texi.in Merge pull request #757 from equwal/fdump 2020-03-30 16:51:45 -04:00
test-wm.lisp add 2 more tests to test-wm-class 2008-10-17 15:16:13 -07:00
tile-group.lisp Clean up choose-frame-by-number decorations when unwinding occurs 2020-01-17 12:16:49 -07:00
tile-window.lisp feat: pull-from-windowlist allows custom window-format 2020-05-17 00:45:20 -07:00
time.lisp Add REFRESH-TIME-ZONE 2018-07-25 01:02:23 +00:00
timers.lisp Declare mode-line and timer before using them. 2018-09-28 09:58:48 +02:00
user.lisp Hide quit-confirm prompt when aborted or 'y' is not entered 2020-03-12 18:03:42 -07:00
version.lisp Added Daniel Borchmann's patch to honor version number from tags 2014-02-24 08:25:38 -05:00
window-placement.lisp Add new command place-current-window 2018-08-07 16:26:23 +02:00
window.lisp Make messages punctuation more uniform 2019-12-23 13:24:21 -08:00
wrappers.lisp UTF8-to-string: Use Replacement Character (\uFFFD) 2019-09-08 00:46:27 -05:00
wse.lisp Replaced all tab characters with an appropriate number of spaces. 2017-12-20 14:32:38 -06:00

The Stump Window Manager

Gitter

StumpWM is a window manager written entirely in Common Lisp. It attempts to be highly customizable while relying entirely on the keyboard for input. You will not find buttons, icons, title bars, tool bars, or any of the other conventional GUI widgets.

These design decisions reflect the growing popularity of productive, customizable lisp based systems.

Philosophy

StumpWM is a "everything-and-the-kitchen-sink WM" or "the Emacs of WMs."

StumpWM:Windows::Emacs:Text

  • StumpWM is
    • Hackable
    • Written in Common Lisp
    • A multi paradigm window manager
    • A Superior window managing experience
  • StumpWM is not
    • Minimalist
    • Narrow scope
    • Configured by editing the source directly
    • A full blown desktop environment

If you want a minimalist tiling window manager, then StumpWM is not what you're looking for. The code base is ~15k lines, the binaries produced are ~60mb.

StumpWM manages windows the way emacs manages buffers, or the way screen manages terminals. If you want a flexible, customizable, hackable desktop experience, look no further.

Build & Start Stumpwm

Prerequisites

  • SBCL
  • quicklisp (for obtaining the following dependencies; not needed if you use your distribution's package manager.)
  • clx
  • cl-ppcre
  • alexandria

The recommended way to install the dependencies is using Quicklisp. Follow the instructions at http://www.quicklisp.org/ to install it. In short:

$ curl -O https://beta.quicklisp.org/quicklisp.lisp
$ sbcl --load quicklisp.lisp

Then at the REPL:

(quicklisp-quickstart:install)

Make sure you have added it to your lisp init file using:

 (ql:add-to-init-file)

Then, in a repl:

 (ql:quickload "clx")
 (ql:quickload "cl-ppcre")
 (ql:quickload "alexandria")

Note: The recommended way to install SBCL is by downloading one of their pre-built binaries available in their web page or build it from source. Please do not install SBCL using your distributions package manager, especially Ubuntu. If you do so it is likely that you'll run into problems when building StumpWM due to using obsolete versions of the dependencies.

Building

Building stumpwm from git requires that you build the configure script:

 ./autogen.sh

Then run it:

 ./configure

Now build it:

 make

If all goes well, you should have a stumpwm binary now. You can run the binary from where it is (starting it with X) or install it, along with the .info documentation, with:

 make install

Now that you have a binary, call it from your ~/.xinitrc file:

 # The default path is /usr/local/bin/stumpwm
 echo /path/to/stumpwm >> ~/.xinitrc
 startx

Hopefully that will put you in X running stumpwm! See StartUp on the wiki for more examples.

Contributing

Pull requests are always welcome! Here are some guidelines to ensure that your contribution gets merged in a timely manner:

  • Do's
    • Add your name to the list of AUTHORS with your pull request.
    • Preserve comments or docstrings explaining what code does, and update them if your patch changes them in a significant way
    • Try to follow an "80 column rule." The current code base does not follow this all the time, so don't use it as an example
    • If you export a symbol, you must add it to the manual.
    • Use lisp idioms
    • If you are working on a major change to the internals, keep us informed on stumpwm-devel! Also, it will probably help if the changes are made and then incrementally applied to the codebase in order to avoid introducing show-stopping bugs.
  • Do not's
    • Include Emacs local variables
    • Change whitespace
    • Write lots of code without supporting comments/documentation
    • Delete comments or docstrings (yes this is a duplicate of above!)
    • Export symbols from packages that aren't widely useful (many times a little more thought will reveal how to implement your internal change without having to export/break encapsulation)
    • Make stylistic changes that suit your coding style/way of thinking

If you aren't a lisp hacker, you can contribute in the form of documenting and organizing the wiki. There's a lot of information floating around; if you find it where you didn't expect it, move or link to it in a more logical place.

Wishlist

Fancy yourself a lisp hacker? Here's a wishlist of features for the StumpWM universe (in no particular order):

  • float-splits (ie allow floating windows over tiled ones)
  • Float windows within parent applications (specifically dialogs in gimp or firefox).
  • tab-list showing the contents of the current frame at the side, top, or bottom of the frame
  • Emacs' iswitchb function implemented in emacs
    • Re-arranging windows between groups
    • Killing windows
    • Marking windows for batch operations
    • Deleting/adding groups
    • Import data from stumpwm to emacs, use an emacs minor mode to implement the above features, then export the data back to stumpwm and let stumpwm perform the appropriate actions
  • Emacs' completing-read-multiple function
  • Dynamic tiling
  • Lock Screen (with support for leaving notes, bonus points if emacs is involved)
  • Wallpapers! (support pulling from remote sources, changing based on timers, and other hacky features)
  • Shutdown, restart, suspend, and hibernate functions that don't require root access
  • Revamped, mouse-friendly mode-line.
    • Support fixed number of chars for window titles
    • Dynamically trim window titles to fit them all on the mode-line
    • Split the mode-line into multiple cells for containing different information
    • Implement widget icons to indicate system status (new mail, low battery, network etc)
    • Support raising windows when left-clicked, closing/killing when right-clicked

Help

There's a texinfo manual, stumpwm.texi. The build scripts generate an info file you can read in emacs or with the `info' program. The manual for the latest git version (may be slightly out of date) is available to read online at: The Manual

And, as in Emacs, you can always get documentation with:

Key Help
C-t h v Variables
C-t h f Functions
C-t h k Key sequences
C-t h c Commands
C-t h w Find key sequences for a command

For other stuff (tips tricks and examples) visit the stumpwm wiki

There's a #stumpwm channel on irc.freenode.net, too.

Finally, there's our mailing list (click to sign up) stumpwm-devel@nongnu.org.