This works out perfectly because last night, I decided to give DWM a try lol
@DistroTube3 жыл бұрын
Best of luck!
@gustavomariz77693 жыл бұрын
Hope you like it i started using dwm 3 weeks ago and since then i’ve been loving it
@annoyinguser3 жыл бұрын
I am going to pull the same move you did and move to dwm. Hope it will work on my Fedora install.
@DanielBornt3 жыл бұрын
This is really cool. I totally appreciate someone going through the work to make DWM more user friendly when it comes to patching. This has inspired me to give it try!
@kronikpillow3 жыл бұрын
finally someone to do a video about this awesome project, been using flexipatch since it's early releases :)
@thierrybo63043 жыл бұрын
Same, use only this project.
@enderger53083 жыл бұрын
NixOS actually handles DWM quite well too, with patches declared like everything else in Nix.
@wp60073 жыл бұрын
Do you have a link on how to do this?
@twb01093 жыл бұрын
Arch has a way to configure dwm as well
@enderger53083 жыл бұрын
The St page on nixos . wiki gives a general overview of using Suckless utilities via Nix, and searching for DWM in the NixOS package search (the modules tab, since it’s a window manager) should show how this translates to DWM specifically. Sorry for not posting links, KZbin likes to eat comments with those.
@maxsilvester13273 жыл бұрын
this would be great on gentoo with the patches as use flags
@masondear80163 жыл бұрын
Dmenu only has patch support which is kinda odd
@andrewh35033 жыл бұрын
this is a game changer. got tired of my dwm breaking when i patch things!
@DeshierArchitecte3 жыл бұрын
Flexipatch picks up where Suckless dropped the ball. When you code is so "minimalist" and refined that it obstructs people from using your software, that's a problem. Still, dwm is one of the best window managers out there.
@senselessnothing3 жыл бұрын
can't blame them given the level of the average linux user, just grab someone else's dwm setup if in doubt
@cowardly_wizard3 жыл бұрын
The point is that its dynamic tho... you build it how you want it. Granted comments would be nice
@luviana_2 жыл бұрын
@@cowardly_wizard Something tells me Suckless's whole philosophy is totally screwed by comments. It's more data """wasted""", making dwm less """minimal""". Now, for the user who wants something as minimal as dwm and will put the work in, that's amazing, but I feel like a commented version would at least be nice as perhaps a separate option at the very LEAST.
@shallex5744 Жыл бұрын
plenty of other window managers exist if you don't want to put in any effort to make dwm function how you want it to, thank god not all software is catered towards normies
@vkb9673 жыл бұрын
Thanks to this particular video I started using DWM intensively in the last weeks. Funny enough, not because of the patching tip, which is the main topic of the video, but due to the possibility of "dual login" with xfce in 7:25. I needed a fallback plan in cases things didn't workout with DWM. By the way, I'm not using any patch: I changed a couple of things in config.h myself and am loving DWM.
@sivuyilemagutywa52863 жыл бұрын
Upgraded to GNOME 40 and I experianced a lot of issues, so I gave Tiling windows another try, this time I am staying, I don't see my self ever using DE. Tiling windows are practical and easy. Thanks to your videos, it was a painless switch.
@OctaviusPelagius3 жыл бұрын
David and The Other David are my favourite producers.
@nobyra3 жыл бұрын
Now that's awesome. Learning how to patch DWM is still a good skill to have. This makes new configurations of it (for whatever reason) a lot smoother
@kronikpillow3 жыл бұрын
I personally fell in love with dwm, and especially the centered floating master layout in combination with the stacker patch, I actually never moved away from dwm or tried other window managers except for a bare peek in them, as I found that for my workflow the centered floating master layout is something I can't live without, because I'm a single monitor user, and for some strange reason, other clones of dwm like awesome and xmonad, did a centered master layout, but they didn't implement the centered floating master layout, probably because most people lack how essential it is to single monitor users, especially if you can toggle the windows with a single keybind like with the stacker patch ... I found this layout and the stacker patch, and how well it integrates with each other trough LukeSmith's build of DWM, but one major issue i have is i have 0 knowledge in C, and patching Luke's build or any build to include some basic core functionality like cfacts and awesomebar is a living nightmare, I discovered flexipatch, and I can't live without it, now I have my own build of DWM, built exactly how I want it, with the functionality that i wanted, and the developer bakkeby was even receptive to my ideas, stupid noob questions (no elitist attitude), and even patch requests to add additional patches to the project, I'v said a long time ago on his github that this project needs more 💘💘💘 so thank you DT for this as bakkeby really deserves it, with all the effort he placed in to making this project, making the patches compatible with each other, and even extending some of their core functionality which just felt like lacking (named scratchpad's on bakkeby's version can add any window to a scratchpad with keybindings, just like in other wm's, which the original patch can't) I'd give other window managers a try, but sorry xmonad and awesome, until you introduce a centered floating master layout, no way hose, people should really try it in the combination with the stacker patch to get a sense of what im talking about, and how it basically can replace all other layouts in scenarios where you work with 3 windows, on a single monitor
@dulanjala3 жыл бұрын
thank you... i will need to try what you're talking about... as a single monitor (laptop) user...
@emreocak45053 жыл бұрын
fyi. if you execute :set paste command in vim before paste anything. content is not gonna break like this.
@Bad-cat_qhuuuuh2 жыл бұрын
I've been like 2 days patching dwm thank God you did this video
@ivanhelsing73783 жыл бұрын
Arch linux and DWM both have same philosophy. And it`s name is BIY. "Build It Yourself" (from zero) :)
@manutavano2 жыл бұрын
Thank you so much for showing this! I was going crazy with manual patches. Let's see if I can do it now.
@abarocio803 жыл бұрын
This is actually very useful. I have patched (and also broken) my DWM for too many hours.
@Laurie_H3 жыл бұрын
You should also credit yourself Derek because without this video the vast majority wouldn't have known about this project without your KZbin coverage.
@cedrichoweg57903 жыл бұрын
Couldn't agree more with your end comment on xmonad-flexipatch!
@molly94493 жыл бұрын
you won't believe me, I was just about to start with the autostart patch and your vid came up, patched it, works super!
@besnikrrustemi3 жыл бұрын
Hey DT, Spectrwm is hungry for some rice, give us some food & love (and ofc a video),
@Neucher3 жыл бұрын
Spectrwm is literally just another xmonad clone
@raymanovich32543 жыл бұрын
The patching is hella fun though. Using Git to manage your local directories and forking for different patches and merging only once the patch works.
@martinhertz49573 жыл бұрын
Off-topic, but you can save and quit in VIM with 'ZZ', but maybe this is emacs or something(evil mode) which maybe is different.
@StevetendoMii3 жыл бұрын
This looks like something I'll have to try out! Patching trouble is what kept me from trying dwm.
@yallaoui3 жыл бұрын
Hey DT, very nice video. This really makes suckledss dwn suck less.
@MENTOKz3 жыл бұрын
hey DT another great video keep of the great work man :D
@oalfodr3 жыл бұрын
I'm surprised by amount of comments here saying that patching gave them trouble. I have around 10 patches and few are quite extensive. Even when they fail patching, it usually is not even requiring any changes in exciting code, but just finding them appropriate place. I had more trouble with some regexes than my whole dwm setup
@codeartha3 жыл бұрын
what is the best practice for cloning sources from git? I mean the location to do so, because doing that in the home directory like I see everyone doing clutters it up pretty quickly. What I've been doing is create ~/Applications folder and do that sort of stuff there. Because if I understand correctly the cloned directory will keep the source and the build version, but when you do make install the relevant files are moved to the correct /usr/ locations. Keeping the source is thus not required, but useful to update the package from time to time with a git pull then rebuilding and reinstalling. So if I want to keep all of those, what is a good location? I already use /opt for prepackaged apps like .appimages and such as I saw it suggested somewhere while researching the same topic.
@thedanmethenyshow.60043 жыл бұрын
I know this sounds weird with me but patching hasn't really been too difficult for me to do. Because I was able to understand right away how to do it. I love dwm just because of how slim it is out of the box and all the features it comes with with only 2000 lines of code and it has my initials what can I say. That would be fun to try to see what all the patches would be like or something like that. My only issue right now is getting the full screen feature and x-monad with a certain game because of the protocols of this game but I'm very close to solving that problem but dwm I'd say is one of my favorites.
@senselessnothing3 жыл бұрын
dwm is beautiful, no doubt about it. If every piece of software was as well engineered we would be in a very different place.
@BatreshVic3 жыл бұрын
Bakkeby is a god but i hope no noobies post redundant issues on the git repo. Also you can use flexipatch-finalizer to remove excessive lines of code when you're done patching.
@nikolaos91753 жыл бұрын
patching anything in gentoo is super easy, you just drop the patches in a folder, then install it.
@mmy43283 жыл бұрын
The only problem I have with window managers is that it is very difficult make them work on 4k monitors
@Aiden-zi3xf3 жыл бұрын
Now i have to learn Haskell to look cool online
@codestalk91833 жыл бұрын
another item to the todo list :D
@dungeon49713 жыл бұрын
Patching is not hard. But the promblem is that some of the patches have not been updated in a while. I my case happened with Dmenu. I had to manually go and fix that which is quite problematic.
@mnurrreza3 жыл бұрын
5:22 I thought you boutta do Ctrl+Alt+f2
@tylerdean9803 жыл бұрын
That is exactly why I avoided DWM. But with idle resource usage like that, this would be a prime candidate for a lower end PC
@quietgazer8 ай бұрын
how did you do this trick in vim on 7:04?
@tristen_grant8 ай бұрын
What trick? The timestamp you posted is when he is hitting Return to add a new line...
@nnaaaaaa3 жыл бұрын
How is this any different than compile time feature flags? Seems like they just rediscovered how to do that...
@Neucher3 жыл бұрын
Hey DT, Now that you heavily debloated your Xmonad config, wouldn't it be possible to remake it completely within dwm ? Xmonad is great and all, but for a tiling window manager it uses quiet a bit of RAM. Also you wouldn't need to have all the haskell dependencies installed.
@fabioramatis23733 жыл бұрын
Xmonad is just quicker to add new stuff because it actually has an library Xmonad is still the best tiling window manager
@Neucher3 жыл бұрын
@@fabioramatis2373 it uses like 4x the ram of dwm
@nictanghe983 жыл бұрын
OK now it just needs a propper tui.
@orpheustakenvanced3 жыл бұрын
honest question: doesn't this go against the suckless philosophy?
@senselessnothing3 жыл бұрын
it does but that's fine, much like convenience wrappers for sophisticated commands, some people like them.
@technomatic62853 жыл бұрын
No it doesn't, it includes a flexipatch finalizer which gets rid of all the other patches you didn't enable such that it would resemble a dwm config configured manually using those patches.
@N0zer03 жыл бұрын
st-flexipatch also exists
@thepacman5373 жыл бұрын
You did it , finally
@kaminisray78093 жыл бұрын
This is awesome
@FreeRoger3 жыл бұрын
hi dt
@0x7f2c3 жыл бұрын
the only reason many don't run flexipatch is due to bloat, or rather a lot of code because I love for my dwm to be clean, i want to easily find and fix my config.h/dwm.c and easily move it up somewhere, when I used flexipatch for more than 10 seconds I screamed cause I simply cannot work my config.h cause its a giant mess
@patriarch66443 жыл бұрын
use the finalizer
@0x7f2c3 жыл бұрын
@@patriarch6644 in my preference on linux, I like to have issues with patches since I got more time to kill!, rather than to have it easy to set up.
@mizel_almizel3 жыл бұрын
👍🏻 Shift ZZ = Shift :wq 👎🏻
@TanyaParker-h5v3 ай бұрын
Martinez Kevin Perez David Davis Gary
@violeteddington33602 ай бұрын
Hernandez Nancy Williams Barbara Wilson Edward
@davidgomez793 жыл бұрын
Exactly what I always said suckless tools should do. Conditional compiling. Line limit philosophy makes no sense. If they wanted to they could obscure the code into a single line of code. 2000 lines of code is so arbitrary.
@SoundToxin3 жыл бұрын
Not entirely. A good line length limit is 72-80 characters. When talking linecounts, you usally don't have extremely long lines.
@davidgomez793 жыл бұрын
@@SoundToxin sure if you're a lame python coder and follow pep8. Many great coders agree. 80 character limit isn't just silly it is beyond stupid. The reason for the limit was old 70s terminals and hardware limits that we have surpassed ages ago. Anyway I prefer coding in assembly language. My lines are usually very short since instructions are short.
@davidgomez793 жыл бұрын
@@SoundToxin however when I code in C, C++ i do have plenty of lines that reach 90 characters easily. when I do code in python I make damn sure I pass the 80 in limit to trigger the code naziiiiiis. I like python as a language but its community is just as ridiculous as our current cultural marxists.
@SoundToxin3 жыл бұрын
@@davidgomez79 It's for readability. You don't have to move your eyes as much this way. I don't program, but my email client (aerc) keeps lines around that length automatically and I quite like it. I believe this is common for other plaintext mail clients as well. Short lines are also good for if you're viewing multiple files side-by-side in an editor or if you have a tmux session with a lot of panes.
@davidgomez793 жыл бұрын
@@SoundToxin Even Raymond Hettinger agrees in his talk about "Beyond Pep8". I'm not sure who it was but I think even Linus Torvalds called it silly. Sure for emails it makes sense. I guess since you're not a coder you wouldn't understand. Seems to me like old school coders prefer longer lines and they where the ones dealing with the limitations. New school coders limit themselves for idiotic reasons much liker today's nonsensical reasoning.