StumpWM. My new favorite window manager.
Go to file
2022-08-17 16:48:58 -06:00
.github/workflows Rename Steps to be more clear 2021-06-10 13:21:31 +00:00
dynamic-mixins change file name and move replace-class code 2022-06-27 09:49:54 +02:00
tests Add integration test case 007 2022-07-28 13:20:23 +02:00
.dir-locals.el Allow insertion of TAB character when editing Makefiles 2013-11-19 00:30:27 -02:00
.dockerignore Integration tests: Fix & improve docker build 2022-07-25 17:56:52 +02:00
.gitattributes add .gitattributes 2007-09-15 16:03:40 -07:00
.gitignore Let git ignore generated test cases 2021-06-11 11:05:15 +02:00
.travis.yml Replace refereces to Freenode with Libera 2021-06-01 19:22:06 -05:00
AUTHORS Replace sb-unix:unix-select with sb-unix:unix-fast-select 2022-08-08 01:06:14 -05:00
autogen.sh add autogen.sh. remove stumpwm.sbcl and stumpwm.clisp 2007-10-06 18:32:47 -07:00
bindings.lisp Downcase ungrammatical capitals in prompts 2022-03-04 17:11:14 +01:00
color.lisp Allow specifying bright and dark colors separately 2022-08-17 16:48:58 -06:00
command.lisp changed custom command filters 2022-06-08 19:28:37 +02: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
debug.lisp Fix invalid use of makunbound 2020-10-02 03:04:58 +03:00
Dockerfile Use list for pulling dependincies through quicklisp 2021-06-10 13:21:31 +00:00
dynamic-group.lisp Merge pull request #985 from szos/mixin-modes-no-deps 2022-06-26 15:18:22 -04: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 Grab buttons on managed window instead of parent 2022-08-06 22:33:52 +02:00
fdump.lisp Downcase ungrammatical capitals in prompts 2022-03-04 17:11:14 +01:00
floating-group.lisp added print-swm-object methods to relevant classes 2022-06-26 13:00:52 +02:00
font-rendering.lisp Simplify FONT-EXISTS-P 2019-07-14 14:08:55 -05:00
group.lisp Make stump attempt to preserve the frame-tree when swapping monitors 2022-08-08 20:21:38 -04:00
HACKING touch up b53c01d617 to make the manual build again. 2008-05-09 15:49:50 -07:00
head.lisp Make stump attempt to preserve the frame-tree when swapping monitors 2022-08-08 20:21:38 -04:00
help.lisp Downcase ungrammatical capitals in prompts 2022-03-04 17:11:14 +01:00
input.lisp Merge pull request #979 from szos/support-dead-keys 2022-05-27 19:39:27 -04:00
interactive-keymap.lisp Make messages punctuation more uniform 2019-12-23 13:24:21 -08:00
ioloop.lisp Handle errors returned by sb-unix:unix-fast-select 2022-08-11 11:24:06 +02: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 preliminary support for dead keys 2022-05-27 15:33:42 +02:00
keytrans.lisp Additional keysym names 2022-03-27 23:26:46 +02:00
kmap.lisp Added more descriptive docstrings/errors, added section to manual 2022-05-27 13:36:56 +02:00
load-stumpwm.lisp.in Remove conditionals for non sbcl common lisp implementations (#351) 2017-05-24 23:03:58 -05:00
main.lisp Add Option to GENERATE-MANUAL 2020-09-26 22:32:40 -05:00
make-image.lisp.in Add support for compression of executable file 2019-03-24 14:20:35 +01:00
Makefile.in Update SBCL options in the Makefile 2022-08-08 00:58:50 -05:00
manual.lisp add class doc generation to manual 2022-06-20 00:36:49 +02:00
menu-declarations.lisp Documentation fixes and capitalization 2019-12-21 15:56:29 -08:00
menu-definitions.lisp Patch run-menu to only funcall functions, not remove help message 2022-02-21 14:24:47 +01:00
message-window.lisp Redraw frame indicator and outline on resolution change 2022-07-25 18:19:44 +02:00
minor-modes.lisp Add an on-click option to minor modes 2022-07-12 01:15:24 +02:00
mode-line-formatters.lisp update minor mode mode line formatters 2022-07-03 02:15:38 +02:00
mode-line.lisp Updated clickable area processing to allow nested areas. 2022-05-28 15:28:22 +02:00
module.lisp Downcase ungrammatical capitals in prompts 2022-03-04 17:11:14 +01: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 Merge pull request #985 from szos/mixin-modes-no-deps 2022-06-26 15:18:22 -04:00
README.md Replace refereces to Freenode with Libera 2021-06-01 19:22:06 -05:00
remap-keys.lisp Fix send-raw-key 2020-10-08 10:32:32 -05:00
replace-class.lisp change file name 2022-06-27 09:53:18 +02:00
sample-stumpwmrc.lisp Replace Google in sample stumpwmrc with DuckDuckGo 2020-06-08 20:08:24 +02:00
screen.lisp Add an alpha channel to some allocated colors 2022-08-06 13:06:49 +02:00
selection.lisp Fix typos in strings 2021-04-23 16:21:35 +00:00
stumpwm-tests.asd Use fiasco:all-tests to run tests instead of run-package-tests 2021-01-26 21:56:14 -07:00
stumpwm.asd change file name and move replace-class code 2022-06-27 09:49:54 +02:00
stumpwm.lisp Fix issue with screen initialization 2022-06-19 12:08:11 +02:00
stumpwm.texi.in Merge pull request #985 from szos/mixin-modes-no-deps 2022-06-26 15:18:22 -04:00
test-wm.lisp add 2 more tests to test-wm-class 2008-10-17 15:16:13 -07:00
tile-group.lisp Make stump attempt to preserve the frame-tree when swapping monitors 2022-08-08 20:21:38 -04:00
tile-window.lisp Made scale-screen add heads before removing heads 2022-08-03 22:48:34 -05:00
time.lisp Add REFRESH-TIME-ZONE 2018-07-25 01:02:23 +00:00
timers.lisp remove unnecessary uses of multiple-value-list 2021-04-15 03:23:54 +00: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 change make-instance to make-swm-class-instance 2022-06-20 00:42:46 +02:00
window.lisp Grab buttons on managed window instead of parent 2022-08-06 22:33:52 +02: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.libera.chat, too.

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