- Notifications
You must be signed in to change notification settings - Fork8
heavily patched dynamic window manager for X. It manages windows in tiled, monocle and floating layouts.
License
allinurl/dwm
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
dwm is an extremely fast, small, and dynamic window manager for X. This is a heaviliy patched dwm that fits pretty much all the tasks I need from a window manager.
In order to build dwm you need the Xlib header files.
Simply clone it and build. e.g.,
$ git clone https://github.com/allinurl/dwm.git && cd dwm$ make# make install
Install bitmap fonts
$ git clone https://github.com/stark/siji && cd siji$ ./install.sh -d ~/.fonts
Place your .xinitrc in your home directory. See mydotfiles repo.
$ cd$ wget https://github.com/allinurl/dotfiles/blob/master/.xinitrc
And you're good to go at this point.
$ startx
Enjoy!
The configuration of dwm is done by creating a custom config.h and (re)compiling the source code. Take a look at theconfig.h if you are interested to change some of the key bindings. Though, you should have enough flexibility with the current setup.
Add the following line to your .xinitrc to start dwm using startx:
exec dwm
In order to connect dwm to a specific display, make sure thatthe DISPLAY environment variable is set correctly, e.g.:
DISPLAY=foo.bar:1 exec dwm
(This will start dwm on display :1 of the host foo.bar.)
In order to display status info in the bar, you can do somethinglike this in your .xinitrc:
while xsetroot -name "`date` `uptime | sed 's/.*,//'`"dosleep 1done &exec dwm