Best DWM Patches You Need to Use

  Рет қаралды 21,688

The Linux Cast

The Linux Cast

3 жыл бұрын

Without patches DWM kinda sucks. Here are Matt's favorite patches that make DWM awesome.
----💲💲 Support the Show 💲💲-
/ thelinuxcast
-- Follow us 🐧🐧 --
/ thelinuxcast
/ mtwb
Subscribe at thelinuxcast.org
Contact us thelinuxcast@gmail.com
/ thelinuxcast
#dwm #windowmanagers #linux

Пікірлер: 65
@lqlarry
@lqlarry 3 жыл бұрын
Another great video, Ramblin' Man!
@AbhijeethPEapen
@AbhijeethPEapen 6 ай бұрын
This was so helpful.... Thank you... These patches were something i needed... Especially the pertag.... Once again thank u brother
@sudodoas
@sudodoas 3 жыл бұрын
Thanks man. Very informative.
@slayertrick
@slayertrick 3 жыл бұрын
Like the channel keep it up, love to see small tubers grow
@benjaminoechsle2091
@benjaminoechsle2091 3 жыл бұрын
Great video! Thanks for the nice dwm configuration! Can you tell me what font and color scheme do you use in your zsh?
@TheLinuxCast
@TheLinuxCast 3 жыл бұрын
I'm just guessing because it has been so long since then, but I think it was onedark. And the theme for zsh was Powerlevel10k.
@christianfuchs9405
@christianfuchs9405 3 жыл бұрын
Good informative video!
@TheShooterW2
@TheShooterW2 3 жыл бұрын
Great video, thx man!!!
@notusknot3002
@notusknot3002 3 жыл бұрын
This is awesome dude! Thank you so much. By the way, how did you get the file icons next to the files when you run ls?
@TheLinuxCast
@TheLinuxCast 3 жыл бұрын
There's a replacement for ls called exa. The icons are an option of that program.
@notusknot3002
@notusknot3002 3 жыл бұрын
@@TheLinuxCast Thank you!
@kartikeykushwaha3622
@kartikeykushwaha3622 3 жыл бұрын
Damn! Your DWM build looks beautiful!
@TheLinuxCast
@TheLinuxCast 3 жыл бұрын
Thanks!
@mmakaba
@mmakaba 3 жыл бұрын
I prefer dwm "vanilla" but the only patch I used was awesomebar (a taskbar on dwm bar). Surf + awesome bar + monocle and you have a tabbed surf without tabbed :)
@TheLinuxCast
@TheLinuxCast 3 жыл бұрын
There are just some things on DWM that I can't do without. The order that the windows spawn is one, and with multiple monitors warp is a must have.
@juliusellis1350
@juliusellis1350 2 жыл бұрын
you probably dont give a damn but does any of you know a method to get back into an instagram account? I was stupid forgot my account password. I love any assistance you can give me
@donaldmickunas8552
@donaldmickunas8552 2 жыл бұрын
I am a minimal kind of guy. So, the only patch I use is attachaside. In addition, I have removed the functionality that I don’t want or need. I love DWM because it truly gives me the freedom to do it my way. 😀😀😀😀😀
@MajinHico
@MajinHico 2 жыл бұрын
Thanks man. Very useful.
@mathiasodlund
@mathiasodlund 2 жыл бұрын
Great video mate
@astrolul
@astrolul 3 жыл бұрын
Great video, I just switched to dwm so I wanted to know some good patches I could apply!
@TheLinuxCast
@TheLinuxCast 3 жыл бұрын
Hope you found something useful!
@astrolul
@astrolul 3 жыл бұрын
@@TheLinuxCast yeah I applied some of those patches thanks
@DevilDriver665
@DevilDriver665 3 жыл бұрын
Great video, keep'em coming. FYI: kernel 5.9 is EOL, time to move on ;-)
@TheLinuxCast
@TheLinuxCast 3 жыл бұрын
I know. I've just been lazy. This is the first time since I've started to use Linux full time that I've used a distro long enough to actually reach EOL on a kernel. I'll probably make a video on it since I've never actually had to upgrade a kernel before.
@lolnjeoglondajmejejplejlis3365
@lolnjeoglondajmejejplejlis3365 2 жыл бұрын
yes its useless without patches but the fact you build your window manager setup in your own way is what makes it good i like it doesnt inclde unnesecary bloat by default which is autostart when i can autostart apps via something i already have, initrc
@lwy0802
@lwy0802 2 жыл бұрын
Hi, hello... How do you run the battery, wifi and temperature in dwmblocks or is there a patch that runs them? And, what applications are used in them?
@TheLinuxCast
@TheLinuxCast 2 жыл бұрын
DWMblocks utilizes scripts so you'll need to either write or find someone else's script for those things you want. If you don't want to go to that trouble, look at slstaus, that comes with battery and temp modules built in. There are youtube vids on how to set that up.
@xseman
@xseman 3 жыл бұрын
That's the feature of suckless software, it's barebone so anyone can understand and hack it easly Tip for patching, create branch from master per every patch, then you can combine them easily and remove any patch or combination
@0x007A
@0x007A 2 жыл бұрын
Another benefit of using a branch for each patch is it allows you to revert to master, by simply not merging the changes, if the patch causes dwm to stop working. I waited to customize dwm config.def.h, other than those inserted by patching and subsequent merge, until I had added all of the desired patches.
@user-wn3bo9vo7f
@user-wn3bo9vo7f 2 жыл бұрын
How do you switching between monitors/windows, I'm coming from i3 and as you know by default in i3 there is no difference between monitors and windows. You just press [ XKMODKEY + XK_h ] and you switch between monitors, or if there is open window - you switch to open window, but in dwm by default you should press [ XKMODKEY + XK_comma ] to switch to different monitor, and [ XKMODKEY + XK_h ] to different window, it's just too confusing for me. I don't know if I explained myself, but all I'm just asking is do you use different keybind to switch between windows and monitors?
@TheLinuxCast
@TheLinuxCast 2 жыл бұрын
You can easily change those bindings to something similar to i3, if you want. I just use mod+arrow keys. So mod+left goes left, mod+right goes right. I think that might even be default behavior. Now moving between windows is different. That is done with mod+vim keys. So mod+j and mod+k will get you between windows, but that will be contained in that monitor.
@user-wn3bo9vo7f
@user-wn3bo9vo7f 2 жыл бұрын
@@TheLinuxCast Yea, I know that you can change keybinds, I mean it drives me absolutely nuts that switching between monitors and switching between windows 2 different actions, and most importantly there is no patch to make it more intuitive
@srivarshan7925
@srivarshan7925 Жыл бұрын
It seems like your using firefox 2:06 you accidently closed the window to reopen all window just open a new firefox and press (Ctrl + Shift + T) to reopen all recent closed windows again.... I hope this could help someone
@Robertass2000
@Robertass2000 3 жыл бұрын
dwm is great however still require some functionality I haven't fount patches. One of the required features is vertical resize of tiled client. I have seen old patch but not for 6.2 version. Also patch for built-in status bar system tray patch is so lengthy that I didn't dare to try to incorporate as that could interfere with other patches. And last but not least floating windows are always on top of tiled windows, however I often require tiled client on top of floating client. Some other issues. Also you did not mention about commit/patch that is necessary because without it dwm crashes when many clients are opened on the same workspace in tiled default layout mode.
@TheLinuxCast
@TheLinuxCast 3 жыл бұрын
The floating one is annoying. I just ended up using the monacle layout, which allows you to switch back and forth between two full sized clients. Not the same, but it works.
@xuanhuy6735
@xuanhuy6735 3 жыл бұрын
about vertical resize of tiled client - patch "cfact" work fine for me
@kartikeykushwaha3622
@kartikeykushwaha3622 3 жыл бұрын
There is a patch for that its called cfacts.
@oj0024
@oj0024 3 жыл бұрын
Have you tried the swallow patch? fakefullscreen is also cool.
@TheLinuxCast
@TheLinuxCast 3 жыл бұрын
I don't know if I need swallow. I saw Luke's video on it, but I don't really open apps from the terminal all that much. Might be one I try out if it's only a few lines and would be easy to remove. I'll have to look at fakefullscreen, because if it fixes the dumb way Steam works in DWM, I'd love it.
@lwy0802
@lwy0802 2 жыл бұрын
How do I make apps in the autostart in dwm? Is there a basic script that runs date, time, memory, cpu, battery, etc? (all in one.) I am a new in DWM...! Thanks
@TheLinuxCast
@TheLinuxCast 2 жыл бұрын
I think you're talking about two different things. Autostart will be things that start up when you boot into your computer. What you list out are things that go into the bar. Google slstatus and that should get you some help.
@lwy0802
@lwy0802 2 жыл бұрын
​@@TheLinuxCast Hii, men... I downloaded the dwm-status2d*.diff and I get an error message: " dwm.c:781:1: warning: 'drawstatusbar' defined but not used [-Wunused-function] 781 | drawstatusbar(Monitor *m, int bh, char* stext) { | ^~~~~~~~~~~~~ " When I have compile it. Any feedback?
@TheLinuxCast
@TheLinuxCast 2 жыл бұрын
@@lwy0802 I'd head on over to the r/suckless subreddit and ask there. IDK how welcoming they will be, so they might not answer. I'm honestly not sure status2d works with dwmblocks, so that might be your issue.
@lwy0802
@lwy0802 2 жыл бұрын
@@TheLinuxCast ok,... I will try with dwm-statuscmd...diff
@bugswriter_
@bugswriter_ 2 жыл бұрын
increase the size of your video. because it's so small and in corner. Most people just watch that part .. it's hard.
@TheLinuxCast
@TheLinuxCast 2 жыл бұрын
This is old. I do better now.
@nicklesseos
@nicklesseos 3 жыл бұрын
Dude I only have vanity gaps as a patch... I've been looking for something to allow different icons per tag on each monitor as I'm using a Nerd Font and would like different icons on each screen. Let me know if anyone knows such a way of doing this thx
@TheLinuxCast
@TheLinuxCast 3 жыл бұрын
This one here will let you use different icons on different monitors. github.com/bakkeby/patches/blob/master/dwm/dwm-monitortags-6.2.diff IDK if it works or not, I couldn't get it to patch in, even going and doing it manually.
@nicklesseos
@nicklesseos 3 жыл бұрын
@@TheLinuxCast I got it work on the second try, I had to delete my config.h and let it regenerate from the config.def.h then a patch -p1 < dwm-monitortags-6.2.diff Thanks so thanks a bunch man for the reply!!!!!
@TheLinuxCast
@TheLinuxCast 3 жыл бұрын
@@nicklesseos I think the reason it didn't work for me is that I've got too many other patches going on.
@mahdies9620
@mahdies9620 2 жыл бұрын
tnx
@kickbuttowsk2i
@kickbuttowsk2i 3 жыл бұрын
gems: always center, pertag, scratchpad
@matercomus
@matercomus 2 жыл бұрын
Next time u close your browser and want to restore hit ctrl+shift+t ;)
@van-nhantran1915
@van-nhantran1915 3 жыл бұрын
Do you have a git repo for this build. Thanks.
@TheLinuxCast
@TheLinuxCast 3 жыл бұрын
All my suckless stuff is here github.com/mtwb47/suckless, though it has been updated since this video.
@van-nhantran1915
@van-nhantran1915 3 жыл бұрын
@@TheLinuxCast Thanks. Will check it out.
@nevoyu
@nevoyu 2 жыл бұрын
I feel like the only one that can live with dwm unpatched...
@TheLinuxCast
@TheLinuxCast 2 жыл бұрын
Windows spawn in odd places, and you can't even move them around without a patch. So, Yeah, I need my patches. LOL
@AGBuzz182
@AGBuzz182 2 жыл бұрын
This is a good video for what it is, but you should change the clickbait title, because most of these patches seem to just be catering to your own fairly specific preferences.
@joaopauloalbq
@joaopauloalbq 3 жыл бұрын
I hate the featureless philosophy
@WildVoltorb
@WildVoltorb 2 жыл бұрын
Lol, which WM do you use?
@otalpster4392
@otalpster4392 2 жыл бұрын
@@WildVoltorb Windows I guess :D
@pwnwriter
@pwnwriter 2 жыл бұрын
@@otalpster4392 lmao
@qaraciyer
@qaraciyer 2 жыл бұрын
STOP USING THAT BLOAT, SWITCH TO WINDOWS AND EARN MONEY LIKA A SERIOUS BOY
@tristen_grant
@tristen_grant 3 ай бұрын
LMAO yes, this is bloat and Windows isn't...
Patching Suckless Programs Made Easy
21:26
Mental Outlaw
Рет қаралды 88 М.
Я нашел кто меня пранкует!
00:51
Аришнев
Рет қаралды 1 МЛН
Just try to use a cool gadget 😍
00:33
123 GO! SHORTS
Рет қаралды 85 МЛН
I Need to Apologize... This Device is Bad
11:37
The Linux Cast
Рет қаралды 12 М.
Dwm Is a GREAT Window Manager (After It's Patched!)
22:01
DistroTube
Рет қаралды 39 М.
How A Steam Bug Deleted Someone’s Entire PC
11:49
Kevin Fang
Рет қаралды 907 М.
Explaining dwm source code. It's not complicated!
27:17
Avahe Kellenberger
Рет қаралды 12 М.
slstatus, the suckless status bar
18:09
linux dabbler
Рет қаралды 18 М.
DWM: The WM that doesn't suck
17:31
Max Hu
Рет қаралды 3,6 М.
Vim Tips I Wish I Knew Earlier
23:00
Sebastian Daschner
Рет қаралды 40 М.
Making a DWM Status Bar and Adding the Bling
30:36
OldTechBloke
Рет қаралды 31 М.
Turn Your Window Manager Into A Desktop Environment
16:47
DistroTube
Рет қаралды 137 М.
Suckless's dwm: So easy even a caveman could do it!
12:25
Luke Smith
Рет қаралды 280 М.
iPhone 12 socket cleaning #fixit
0:30
Tamar DB (mt)
Рет қаралды 55 МЛН
Хотела заскамить на Айфон!😱📱(@gertieinar)
0:21
Взрывная История
Рет қаралды 4,5 МЛН
How To Unlock Your iphone With Your Voice
0:34
요루퐁 yorupong
Рет қаралды 28 МЛН