explaining the dwm source code! + my build, and patching

preview_player
Показать описание
Timestamps and link to my build below. This is an explanation, in simple terms, of the *key areas and concepts within dwm's source code* (ie. how an X11 window manager works), as well as *a guide to patching* and resolving patch conflicts with Suckless' dwm (dynamic window manager).

(yes, I started learning C. if I explained anything poorly or incorrectly let me know - I'll put a pinned comment with any further explanation/corrections if needed!)

0:00 .
0:39 dwm file structure
1:10 dwm.c - key parts and walkthrough
15:18 how to patch dwm, resolving patch conflicts, patch order

wallpaper photo is my own
Рекомендации по теме
Комментарии
Автор

I respect your use of a mouse while using dwm, on arch, and viewing code in nvim.

Rebel status: high

ProVrakian
Автор

Dont even use this software, i think i like people who deep-dive into a subject they are passionate about.And your videos are natural and fluid.Refreshing on youtube.

Doobie
Автор

Please never change your ways in favor of possible monetization, bread. You give lots of people so much with how you're doing what you're doing, I think you can't even imagine.

pixelneckgeek
Автор

Stay the way you are. You are filling the void that Luke Smith left in our hearts in such a warming way. Your content sparks the maximum amount of joy. Keep on keeping on! ❤

kaiowasdeath
Автор

The reasons why I chose dwm: fast running code (minimalistic C), integrated panel and systemtray, the ability to combine workspaces, patchability. If I miss a feature then I can simply add it. Downside: some games are so broken with the used display mode that you can't leave the game without it crashing, in that case you need to either stay in the game or have an emergency floating environment.

peterjansen
Автор

I wish we have more people doing top notch content like yours with such dedication! Being an old dog on Linux is nice to still be able to learn new tricks from someone young and full of passion! 😊🎉❤ 7:22 7:23

Irmoktran
Автор

It's a wonderful introduction in this small Linux/BSD utility.

kamertonaudiophileplayer
Автор

Nice coincidence, I just built up mine last night. DWM/DWL inspired me to learn C in the first place which I've been doing over the past couple months or so.

pip
Автор

title: breading down breads dwm build :P

mostrealtutu
Автор

Bread, I am following many LinuxTubers but you got hands down the best setup I've seen out of all of them. I really want to get into DWM and minimalism as a whole but I think it might be too advanced for me, I have little to no knowledge of C, when I see what you got going on that is exactly how I'd want my system to be and look.

PixelBoar
Автор

I added a function that switches to the previously focused window and, if it's a floating window, brings it to the top of the stack so it would be drawn on top. There was some issues due to some existing code basically assuming nobody would track focus of the window, and I needed to change a little stack logic to do exactly that. I don't remember already how I made tiled windows not to shuffle around while moving floating windows to the top, but it works beautifully.

rogo
Автор

Thank you for this video and the work you've shared. Do you see yourself switching to dwl / wayland? I tried using dwm on my laptop, but since xorg doesn't handle fractional scaling (Hight DPI) very well, I'm going to give dwl a shot. I've used Hyprland in the past, but it's just too much eye candy for me.

jasonzondor
Автор

What fantastic content you create on your channel!
You are definitely a win-win content creator if you love deeper explanations on the subjects you are passionate about 💜☺️

ilivy.Sb
Автор

Thank you so much for this! 30 years of linux in all shapes and variants. Customizing is so much fun! I LOVE pywal so much, a thing I never would've known if it weren't four you.

MeriaDuck
Автор

i ended up back on dwm after a few month experiment with a headless system. i like how suckless usually uses c.

jacobwerner
Автор

Nice job on this walkthrough! I want to try dwm someday.

sohl
Автор

Really nice and informative, thanks!

Would be interesting to see a video like this about some simple wlroots compositor (not wlroots itself, although that would also be pretty interesting).

softwarelivre
Автор

nice, I haven't tried dwm but this was an interesting run through. Thanks for the video! :)

smmch
Автор

"config.def.h" is the default configuration. "config.h" is for your specific configuration.

axh
Автор

waow! it's literally bread in dwm!

mmmmfh
welcome to shbcf.ru