Skip to content

BartekLew/dwm

Repository files navigation

dwm - dynamic window manager
============================
dwm is an extremely fast, small, and dynamic window manager for X.


Requirements
------------
In order to build dwm you need the Xlib header files.


Installation
------------
Edit config.mk to match your local setup (dwm is installed into
the /usr/local namespace by default). Use config.def.h to create
config.h (you can just copy for default).

Afterwards enter the following command to build and install dwm (if
necessary as root):

    make clean install

If you are going to use the default bluegray color scheme it is highly
recommended to also install the bluegray files shipped in the dextra package.

You probably want to use login manager (like lightdm). If so, review
`session/dwm-session` script and adjust to your needs. Then you can run

    make install-session

Running dwm
-----------
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 that
the 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 something
like this in your .xinitrc:

    while xsetroot -name "`date` `uptime | sed 's/.*,//'`"
    do
    	sleep 1
    done &
    exec dwm


Configuration
-------------
The configuration of dwm is done by creating a custom config.h
and (re)compiling the source code. Example config is in config.def.h

Known Problems
--------------

Depending on machine, different way of calling XGrabKey is needed
to provide key grabbing that allows target client get it despite
being grabbed. If `trace` feature causes that client doesn't react
to any clicks on it, you probably need to turn that workaround on.

In config.mk comment 

RUST_FLAGS=

and uncomment

#RUST_FLAGS=--features workaround_nonblocking_grabkey

About

fork of: https://git.suckless.org/dwm – recently porting to rust, +some hacks to script windows

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors