[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/23 02:13 (UTC)] – [Resources] 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//. | ||
===== dwm Installation ===== | ===== dwm Installation ===== | ||
You can install dwm from [[https:// | You can install dwm from [[https:// | ||
Line 9: | 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 | ||
- | The newest version of dwm, 6.5, does not build on Slackware 14.2 at the time of writing this article. You | ||
- | will have to try an older version. | ||
===== 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 24: | 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. |
- | ===== dwm 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. |
- | ===== dwm Usage ===== | + | <note important> |
+ | ===== Patching ===== | ||
+ | Patches(submitted user modifications that add useful features) are available directly from the suckless website: | ||
+ | [[https://dwm.suckless.org/ | ||
+ | ===== Using dwm ===== | ||
+ | Using dwm is fairly simple. Try pressing < | ||
+ | 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 | ||
+ | mouse cursor over another window or press < | ||
+ | To change the //master// window in the //tiled// layout change focus to it and press < | ||
+ | Press < | ||
+ | Try switch between // | ||
+ | to move windows around and < | ||
- | ===== Common | + | Now switch back to tiled < |
- | < | + | ===== Key Shortcuts ===== |
- | < | + | ==== Common ==== |
- | < | + | < |
- | < | + | < |
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | ==== Layouts ==== | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | ==== Tags ==== | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | ==== Multiple Screens ==== | ||
+ | < | ||
+ | < | ||
===== Program Menu ===== | ===== Program Menu ===== | ||
- | If you also installed dmenu you can press | + | [[http:// |
- | < | + | To install dmenu visit [[https:// |
- | This will execute the selected program. | + | <= |
- | <===== Resources ===== | + | |
- | [[https:// | + | |
- | [[https:// | + | |
- | [[https:// | + | |
- | [[https:// | + | |
- | [[https:// | + | |
====== Sources ====== | ====== Sources ====== | ||
+ | [[https:// | ||
+ | [[https:// | ||
+ | [[https:// | ||
+ | [[https:// | ||
+ | [[https:// | ||
<!-- If you are copying information from another source, then specify that source --> | <!-- If you are copying information from another source, then specify that source --> | ||
<!-- * Original source: [[http:// | <!-- * Original source: [[http:// | ||
Line 59: | Line 95: | ||
<!-- Please do not modify anything below, except adding new tags.--> | <!-- Please do not modify anything below, except adding new tags.--> | ||
<!-- You must remove the tag-word " | <!-- You must remove the tag-word " | ||
- | {{tag> | + | {{tag> |