💾 Archived View for stack.tilde.cafe › gemlog › 2023-04-26.dwm_allin.gmi captured on 2024-06-16 at 12:26:05. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-09-08)
-=-=-=-=-=-=-
I've been ecstatic 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, just 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. But recompile your own version from source and install over the distro's dwm!
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-<n> - focused to tag <n> MMB - window un-float <n> - 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.
<n> is tag 1-9 (aka workspace) When 0, it means all tags!