dylanaraps / sowm

An itsy bitsy floating window manager (220~ sloc!).
MIT License
905 stars 70 forks source link
wm xlib xorg

sowm (Simple Shitty Opinionated Window Manager)

An itsy bitsy floating window manager (220~ sloc!).


Patches available here: https://github.com/dylanaraps/sowm/pulls

Default Keybindings

Window Management

combo action
Mouse focus under cursor
MOD4 + Left Mouse move window
MOD4 + Right Mouse resize window
MOD4 + f maximize toggle
MOD4 + c center window
MOD4 + q kill window
MOD4 + 1-6 desktop swap
MOD4 + Shift +1-6 send window to desktop
MOD1 + TAB (alt-tab) focus cycle

Programs

combo action program
MOD4 + Return terminal st
MOD4 + d dmenu dmenu_run
MOD4 + p scrot scr
MOD4 + w wallpaper cycler bud
XF86_AudioLowerVolume volume down amixer
XF86_AudioRaiseVolume volume up amixer
XF86_AudioMute volume toggle amixer
XF86_MonBrightnessUp brightness up bri
XF86_MonBrightnessDown brightness down bri

Dependencies

Installation

1) Copy config.def.h to config.h and modify it to suit your needs. 2) Run make to build sowm. 3) Copy it to your path or run make install.

If you are using GDM, save the following to /usr/share/xsessions/sowm.desktop. It is still recommended to start sowm from .xinitrc or through your own xinit implementation.

[Desktop Entry]
Name=sowm
Comment=This session runs sowm as desktop manager
Exec=sowm
Type=Application

Thanks