💾 Archived View for gemini.ctrl-c.club › ~stack › gemlog › 2023-04-26.dwm_allin.gmi captured on 2023-04-26 at 13:05:59. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
I've been extatic with the suckless tiling desktop manager dwm on my notebook. Feeling all cocky I decided to switch my main machine to dwm as well. The result is great, but it took more time than I imagined.
To keep it simple, sudo apt install dwm. You don't want to use _that_ binary, but it will install in a way recognizable by the rest of the system (the login manager), and you will be able to select dwm alongside xfce on login.
git clone https://git.suckless.org/st git clone https://git.suckless.org/dwm
dwm is configured statically, by modifying the header file.
I changed the dwm modifier key from ALT to the 'windows' key by replacing `#define MODKEY Mod1Mask` with with `#define MODKEY Mod4Mask` in config.h. I think you need to create config.h by copying it from config.def.h the first time. You may want to make a git branch to keep your changes separate.
Now make and make install both the st terminal and dwm. Log out, and log in after selecting dwm.
S-Enter - new terminal t - tiled mode S-c - kill active f - floating mode S-q - quit dwm m - monocle mode p - dmenu Sp - previous mode Enter - swap master h | l - master resize i | d - #masters inc/dec RMB - resize fwindow j | k - focus next/previous LMB - move fwindow S-0 - focused to all tags MMB - window un-float 1-9 - switch to tag S-Sp - window float b - show/hide bar , | . - move between screens S-, S-. - active window to screen 0 - view all windows on screen.
The modifier key usage is assumed. RMB is right mouse button, etc.
->. index
->.. home