[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
howtos:window_managers:dwm_-_dynamic_window_manager [2021/08/28 18:12 (UTC)] – make patching and configuration sections independent of each other cppimmo | howtos:window_managers:dwm_-_dynamic_window_manager [2023/06/09 20:22 (UTC)] (current) – Fix typos & add external links cppimmo | ||
---|---|---|---|
Line 1: | Line 1: | ||
<!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> | <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> | ||
====== dwm - dynamic window manager ====== | ====== dwm - dynamic window manager ====== | ||
- | dwm is a dynamic window manager for X11 that supports organization of windows in tiled, floating, and | + | [[http://dwm.suckless.org/ |
monocle layouts. Windows are grouped together on tags where they can be reorganized and modified.\\ \\ | monocle layouts. Windows are grouped together on tags where they can be reorganized and modified.\\ \\ | ||
{{: | {{: | ||
- | //minimally patched build of dwm6.2// | + | //minimally patched build of dwm6.2//. |
===== dwm Installation ===== | ===== dwm Installation ===== | ||
You can install dwm from [[https:// | You can install dwm from [[https:// | ||
Line 10: | Line 10: | ||
via the instructions in the README text file. | via the instructions in the README text file. | ||
===== dwm Dependencies ===== | ===== dwm Dependencies ===== | ||
+ | The dependencies required for building dwm version 6.2 are included in a base slackware64-current install. You may need to choose an older version of dwm if using versions of Slackware 14.2 or less. | ||
* X11 | * X11 | ||
* FreeType | * FreeType | ||
===== Starting dwm ===== | ===== Starting dwm ===== | ||
The SlackBuilds dwm will create a xinit script for you. | The SlackBuilds dwm will create a xinit script for you. | ||
- | If you build dwm yourself you will need to create a file named xinitrc.dwm in the | + | If you build dwm yourself you will need to create a file named //xinitrc.dwm// in the |
- | / | + | // / |
- | A typically | + | A typical |
< | < | ||
# / | # / | ||
Line 23: | Line 24: | ||
# dunst & # start notification daemon | # dunst & # start notification daemon | ||
# dwmblocks & # start statusbar program | # dwmblocks & # start statusbar program | ||
- | # xcompmgr -CFn & # start compositor | + | # xcompmgr -CFn & # start composito |
exec dwm # start dwm | exec dwm # start dwm | ||
</ | </ | ||
- | With that in place run xwmconfig in your terminal to switch to your configuration file. | + | With that in place run **xwmconfig** in your terminal to switch to your configuration file. |
===== Configuration ===== | ===== Configuration ===== | ||
- | dwm configuration is done through the source instead of a runtime configuration file. | + | dwm configuration is done through the C source |
- | The config.h file contains all of the configuration options. | + | The //config.h// file contains all of the configuration options. |
+ | <note important> | ||
===== Patching ===== | ===== Patching ===== | ||
Patches(submitted user modifications that add useful features) are available directly from the suckless website: | Patches(submitted user modifications that add useful features) are available directly from the suckless website: | ||
Line 36: | Line 38: | ||
===== Using dwm ===== | ===== Using dwm ===== | ||
Using dwm is fairly simple. Try pressing < | Using dwm is fairly simple. Try pressing < | ||
- | By default this will be set to st, but you can symbolically link your terminal emulator of choice to st. | + | By default this will be set to st ([[http:// |
Now open a few more terminal windows. You should notice the tiling effect. To change focus simply hover your | Now open a few more terminal windows. You should notice the tiling effect. To change focus simply hover your | ||
mouse cursor over another window or press < | mouse cursor over another window or press < | ||
Line 45: | Line 47: | ||
Now switch back to tiled < | Now switch back to tiled < | ||
- | ===== Common | + | ===== Key Shortcuts ===== |
+ | ==== Common | ||
< | < | ||
< | < | ||
Line 75: | Line 78: | ||
===== Program Menu ===== | ===== Program Menu ===== | ||
- | If you also installed dmenu you can press | + | [[http:// |
- | < | + | To install dmenu visit [[https:// |
- | This will execute the selected program. | + | |
<= | <= | ||
====== Sources ====== | ====== Sources ====== |