Easily Customize DWM With Flexipatch

  Рет қаралды 45,278

DistroTube

DistroTube

Күн бұрын

Пікірлер: 114
@stevie1da_
@stevie1da_ 3 жыл бұрын
This works out perfectly because last night, I decided to give DWM a try lol
@DistroTube
@DistroTube 3 жыл бұрын
Best of luck!
@gustavomariz7769
@gustavomariz7769 3 жыл бұрын
Hope you like it i started using dwm 3 weeks ago and since then i’ve been loving it
@annoyinguser
@annoyinguser 3 жыл бұрын
I am going to pull the same move you did and move to dwm. Hope it will work on my Fedora install.
@DanielBornt
@DanielBornt 3 жыл бұрын
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!
@kronikpillow
@kronikpillow 3 жыл бұрын
finally someone to do a video about this awesome project, been using flexipatch since it's early releases :)
@thierrybo6304
@thierrybo6304 3 жыл бұрын
Same, use only this project.
@enderger5308
@enderger5308 3 жыл бұрын
NixOS actually handles DWM quite well too, with patches declared like everything else in Nix.
@wp6007
@wp6007 3 жыл бұрын
Do you have a link on how to do this?
@twb0109
@twb0109 3 жыл бұрын
Arch has a way to configure dwm as well
@enderger5308
@enderger5308 3 жыл бұрын
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.
@maxsilvester1327
@maxsilvester1327 3 жыл бұрын
this would be great on gentoo with the patches as use flags
@masondear8016
@masondear8016 3 жыл бұрын
Dmenu only has patch support which is kinda odd
@andrewh3503
@andrewh3503 3 жыл бұрын
this is a game changer. got tired of my dwm breaking when i patch things!
@DeshierArchitecte
@DeshierArchitecte 3 жыл бұрын
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.
@senselessnothing
@senselessnothing 3 жыл бұрын
can't blame them given the level of the average linux user, just grab someone else's dwm setup if in doubt
@cowardly_wizard
@cowardly_wizard 3 жыл бұрын
The point is that its dynamic tho... you build it how you want it. Granted comments would be nice
@luviana_
@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
@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
@vkb967
@vkb967 3 жыл бұрын
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.
@sivuyilemagutywa5286
@sivuyilemagutywa5286 3 жыл бұрын
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.
@OctaviusPelagius
@OctaviusPelagius 3 жыл бұрын
David and The Other David are my favourite producers.
@nobyra
@nobyra 3 жыл бұрын
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
@kronikpillow
@kronikpillow 3 жыл бұрын
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
@dulanjala
@dulanjala 3 жыл бұрын
thank you... i will need to try what you're talking about... as a single monitor (laptop) user...
@emreocak4505
@emreocak4505 3 жыл бұрын
fyi. if you execute :set paste command in vim before paste anything. content is not gonna break like this.
@Bad-cat_qhuuuuh
@Bad-cat_qhuuuuh 2 жыл бұрын
I've been like 2 days patching dwm thank God you did this video
@ivanhelsing7378
@ivanhelsing7378 3 жыл бұрын
Arch linux and DWM both have same philosophy. And it`s name is BIY. "Build It Yourself" (from zero) :)
@manutavano
@manutavano 2 жыл бұрын
Thank you so much for showing this! I was going crazy with manual patches. Let's see if I can do it now.
@abarocio80
@abarocio80 3 жыл бұрын
This is actually very useful. I have patched (and also broken) my DWM for too many hours.
@Laurie_H
@Laurie_H 3 жыл бұрын
You should also credit yourself Derek because without this video the vast majority wouldn't have known about this project without your KZbin coverage.
@cedrichoweg5790
@cedrichoweg5790 3 жыл бұрын
Couldn't agree more with your end comment on xmonad-flexipatch!
@molly9449
@molly9449 3 жыл бұрын
you won't believe me, I was just about to start with the autostart patch and your vid came up, patched it, works super!
@besnikrrustemi
@besnikrrustemi 3 жыл бұрын
Hey DT, Spectrwm is hungry for some rice, give us some food & love (and ofc a video),
@Neucher
@Neucher 3 жыл бұрын
Spectrwm is literally just another xmonad clone
@raymanovich3254
@raymanovich3254 3 жыл бұрын
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.
@martinhertz4957
@martinhertz4957 3 жыл бұрын
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.
@StevetendoMii
@StevetendoMii 3 жыл бұрын
This looks like something I'll have to try out! Patching trouble is what kept me from trying dwm.
@yallaoui
@yallaoui 3 жыл бұрын
Hey DT, very nice video. This really makes suckledss dwn suck less.
@MENTOKz
@MENTOKz 3 жыл бұрын
hey DT another great video keep of the great work man :D
@oalfodr
@oalfodr 3 жыл бұрын
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
@codeartha
@codeartha 3 жыл бұрын
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.6004
@thedanmethenyshow.6004 3 жыл бұрын
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.
@senselessnothing
@senselessnothing 3 жыл бұрын
dwm is beautiful, no doubt about it. If every piece of software was as well engineered we would be in a very different place.
@BatreshVic
@BatreshVic 3 жыл бұрын
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.
@nikolaos9175
@nikolaos9175 3 жыл бұрын
patching anything in gentoo is super easy, you just drop the patches in a folder, then install it.
@mmy4328
@mmy4328 3 жыл бұрын
The only problem I have with window managers is that it is very difficult make them work on 4k monitors
@Aiden-zi3xf
@Aiden-zi3xf 3 жыл бұрын
Now i have to learn Haskell to look cool online
@codestalk9183
@codestalk9183 3 жыл бұрын
another item to the todo list :D
@dungeon4971
@dungeon4971 3 жыл бұрын
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.
@mnurrreza
@mnurrreza 3 жыл бұрын
5:22 I thought you boutta do Ctrl+Alt+f2
@tylerdean980
@tylerdean980 3 жыл бұрын
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
@quietgazer
@quietgazer 8 ай бұрын
how did you do this trick in vim on 7:04?
@tristen_grant
@tristen_grant 8 ай бұрын
What trick? The timestamp you posted is when he is hitting Return to add a new line...
@nnaaaaaa
@nnaaaaaa 3 жыл бұрын
How is this any different than compile time feature flags? Seems like they just rediscovered how to do that...
@Neucher
@Neucher 3 жыл бұрын
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.
@fabioramatis2373
@fabioramatis2373 3 жыл бұрын
Xmonad is just quicker to add new stuff because it actually has an library Xmonad is still the best tiling window manager
@Neucher
@Neucher 3 жыл бұрын
@@fabioramatis2373 it uses like 4x the ram of dwm
@nictanghe98
@nictanghe98 3 жыл бұрын
OK now it just needs a propper tui.
@orpheustakenvanced
@orpheustakenvanced 3 жыл бұрын
honest question: doesn't this go against the suckless philosophy?
@senselessnothing
@senselessnothing 3 жыл бұрын
it does but that's fine, much like convenience wrappers for sophisticated commands, some people like them.
@technomatic6285
@technomatic6285 3 жыл бұрын
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.
@N0zer0
@N0zer0 3 жыл бұрын
st-flexipatch also exists
@thepacman537
@thepacman537 3 жыл бұрын
You did it , finally
@kaminisray7809
@kaminisray7809 3 жыл бұрын
This is awesome
@FreeRoger
@FreeRoger 3 жыл бұрын
hi dt
@0x7f2c
@0x7f2c 3 жыл бұрын
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
@patriarch6644
@patriarch6644 3 жыл бұрын
use the finalizer
@0x7f2c
@0x7f2c 3 жыл бұрын
@@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_almizel
@mizel_almizel 3 жыл бұрын
👍🏻 Shift ZZ = Shift :wq 👎🏻
@TanyaParker-h5v
@TanyaParker-h5v 3 ай бұрын
Martinez Kevin Perez David Davis Gary
@violeteddington3360
@violeteddington3360 2 ай бұрын
Hernandez Nancy Williams Barbara Wilson Edward
@davidgomez79
@davidgomez79 3 жыл бұрын
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.
@SoundToxin
@SoundToxin 3 жыл бұрын
Not entirely. A good line length limit is 72-80 characters. When talking linecounts, you usally don't have extremely long lines.
@davidgomez79
@davidgomez79 3 жыл бұрын
@@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.
@davidgomez79
@davidgomez79 3 жыл бұрын
@@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.
@SoundToxin
@SoundToxin 3 жыл бұрын
@@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.
@davidgomez79
@davidgomez79 3 жыл бұрын
@@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.
@HuxleySabrina-u8l
@HuxleySabrina-u8l Ай бұрын
Hall Robert Lewis Mary Lewis Jeffrey
@thengakola6217
@thengakola6217 3 жыл бұрын
dumb laugh
Configuring Dwm's Panel Is Easy With Dwmblocks
17:53
DistroTube
Рет қаралды 46 М.
Dwm Is a GREAT Window Manager (After It's Patched!)
22:01
DistroTube
Рет қаралды 42 М.
Do you love Blackpink?🖤🩷
00:23
Karina
Рет қаралды 23 МЛН
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 63 МЛН
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 9 МЛН
Contributing to Open Source Can Change Your Life - Here’s How to Do It
3:18
Learn Fast Make Things
Рет қаралды 1,2 МЛН
How dwm makes me look cool on the internet!!!! #unixporn #soydev
15:24
Dwm, Suckless, Simple, yet Powerful 👍
17:22
Mental Outlaw
Рет қаралды 166 М.
Patching Suckless Programs Made Easy
21:26
Mental Outlaw
Рет қаралды 91 М.
Why Open Source Alternatives are NOT Enough ...
7:06
Michael Horn
Рет қаралды 25 М.
Literally stop using i3-gaps & use Suckless dwm rn
10:16
Luke Smith
Рет қаралды 169 М.
How To Make Your Tiling Window Manager Look Amazing
12:56
DistroTube
Рет қаралды 188 М.
Is CachyOS The Ideal Desktop Linux Distro?
21:02
DistroTube
Рет қаралды 17 М.
The END of DISTRO HOPPING? All Linux distros in one single system with VanillaOS
16:34
Do you love Blackpink?🖤🩷
00:23
Karina
Рет қаралды 23 МЛН