sara is a simple and lightweight dynamic window manager. What started out as an attempt to make catwm into a small and fully-functional window manager has turned into my primary project in C. At the moment, sara combines aspects of dwm and bspwm with some custom features. As my needs/wants change, so too will the program, and probably how much you like it.
If things like dwm-ipc scare the hell out of you because they're so big, this window manager might be for you. You want a window manager that works like a souped-up dwm with sane defaults that is also opinionated like all the cool kids. I think the combination of the tag system, the flexibility of sxhkd and IPC interaction, and the ease of parsing the window manager's internal state are good selling points.
- Tiling mode (master window with right-hand vertical stack).
- Monocle mode (fullscreen, but bar area still visible).
- Floating mode (clients freely set coordinates).
- Fullscreen mode (see limitations).
- dwm-like:
- tags.
- Multihead support through Xinerama.
- patch-like:
- attachaside
- movestack
- pertag-like: layouts, master_size
- singularborders
- vanitygaps
- bspwm-like:
- IPC-based interaction via a client program,
sarasock
. - keyboard event handling via external program (like
sxhkd
).
- IPC-based interaction via a client program,
- output desktop information to the X server for external parsing (like with shell script +
lemonbar
/polybar
). - no window borders.
- no window titles.
- easily hackable.
- No support for urgency, because nothing I do is urgent.
- No ICCCM. This is mostly felt in the lack of the applysizehints behavior that dwm has (ex. cmatrix won't redraw using larger window bounds if you give it more space via togglefs, changemsize, etc.).
- No EWMH support. Fullscreening manually isn't so bad (see examples/sxhkdrc).
man sara
If that doesn't answer your question, check out the wiki!
- v4.1 - Now sources a config file,
$XDG_CONFIG_HOME/sara/sararc
or$HOME/.config/sara/sararc
, which is a shell script that specifies programs to start à labspwm
. My plan is to updatesarasock
to configure some variables at runtime in a similar fashion. Also including apolybar
script for tag information that has support for clickable areas. - v4.0 - A man page! Lots of """"bloat""""; polybar is now the suggested default! Huge shoutout to Jonas for the only post on his blog single-handedly making my
peachbar
problems obsolete. - v3.0 - Internal bar removed and bar scripts created. Floating layout. More Zoom-friendly client handling (nothing is sacred). Fixed longstanding math issues with
tile()
. - v2.0 - Keybinds are controlled by sxhkd now! A little bit of bspwm never hurt anyone. Pointer events (click into window, move and resize window) still handled internally.
- v1.0 - Finished it enough to share with the class. At this stage, very like dwm with some patches (see above) built-in, some cleaned-up code (and some not), some cut corners (not as much support for Atoms), but all is well and functional.
- Reinitializing monitors should update focus to a client and reset enternotify status.
- Sometimes after using physlock + betterlockscreen, clients need a redraw and don't do it until toggled/moved around.
- Fix bugs.
bspc
style interfacing withsara
: config setting, rule setting, pointer management.moveclient
andchangecurrent
feel overcomplicated.- Refactor into separate files to facilitate XCB migration.
- Partial standards compliance so things like
rofi -m -4
works. - Convert to XCB.
Please submit bug reports! I've only tested this on my own system.