Easily Customize DWM With Flexipatch

  Рет қаралды 44,577

DistroTube

DistroTube

Күн бұрын

Dwm-flexipatch has a different take on dwm patching. You edit a patches file that lists all available dwm patches. You enable the patches that you need and disable the patches that you don't need. Then "sudo make install" and you have patched dwm that doesn't require git merges or manually patching.
REFERENCED:
► github.com/bak...
WANT TO SUPPORT THE CHANNEL?
💰 Patreon: / distrotube
💳 Paypal: www.paypal.com...
🛍️ Amazon: amzn.to/2RotFFi
👕 Teespring: teespring.com/...
SOCIAL PLATFORMS:
🗨️ Mastodon: distrotoot.com...
💬 IRC: irc://freenode #distrotube
👫 Reddit: / distrotube
📽️ LBRY/Odysee: odysee.com/$/i...
DT ON THE WEB:
🕸️ Website: distrotube.com/
🐿️ Gemini Capsule: gemini://distro.tube
📁 GitLab: gitlab.com/dwt1
🔊 Audio Podcasts: www.buzzsprout...
FREE AND OPEN SOURCE SOFTWARE THAT I USE:
🌐 Brave Browser - brave.com/dis872
📽️ Open Broadcaster Software: obsproject.com/
🎬 Kdenlive: kdenlive.org
🎨 GIMP: www.gimp.org/
🎵 Audacity: www.audacityte...
💻 VirtualBox: www.virtualbox...
🗒️ Doom Emacs: github.com/hli...
Your support is very much appreciated. Thanks, guys!

Пікірлер: 117
@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.
@cedrichoweg5790
@cedrichoweg5790 3 жыл бұрын
Couldn't agree more with your end comment on xmonad-flexipatch!
@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.
@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.
@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.
@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!
@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.
@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
@emreocak4505
@emreocak4505 3 жыл бұрын
fyi. if you execute :set paste command in vim before paste anything. content is not gonna break like this.
@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
@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.
@ivanhelsing7378
@ivanhelsing7378 3 жыл бұрын
Arch linux and DWM both have same philosophy. And it`s name is BIY. "Build It Yourself" (from zero) :)
@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...
@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.
@OctaviusPelagius
@OctaviusPelagius 3 жыл бұрын
David and The Other David are my favourite producers.
@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.
@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
@violeteddington3360
@violeteddington3360 14 күн бұрын
Hernandez Nancy Williams Barbara Wilson Edward
@BruceWheeler-c9o
@BruceWheeler-c9o 18 күн бұрын
Lee Christopher Harris Elizabeth Thomas Thomas
@abarocio80
@abarocio80 3 жыл бұрын
This is actually very useful. I have patched (and also broken) my DWM for too many hours.
@Bad-cat_qhuuuuh
@Bad-cat_qhuuuuh 2 жыл бұрын
I've been like 2 days patching dwm thank God you did this video
@mmy4328
@mmy4328 3 жыл бұрын
The only problem I have with window managers is that it is very difficult make them work on 4k monitors
@JamesBelz-p1g
@JamesBelz-p1g 21 күн бұрын
Lee Daniel Gonzalez Larry Thomas Timothy
@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
@JoellaAlberty-z5c
@JoellaAlberty-z5c 13 күн бұрын
White Ruth Young Helen Brown Karen
@TanyaParker-h5v
@TanyaParker-h5v Ай бұрын
Martinez Kevin Perez David Davis Gary
@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.
@FreeRoger
@FreeRoger 3 жыл бұрын
hi dt
@TakakoShepard
@TakakoShepard 21 күн бұрын
Lee Eric Hernandez Donna Perez Jose
@mnurrreza
@mnurrreza 3 жыл бұрын
5:22 I thought you boutta do Ctrl+Alt+f2
@mizel_1121
@mizel_1121 3 жыл бұрын
👍🏻 Shift ZZ = Shift :wq 👎🏻
@N0zer0
@N0zer0 2 жыл бұрын
st-flexipatch also exists
@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
@nnaaaaaa
@nnaaaaaa 3 жыл бұрын
How is this any different than compile time feature flags? Seems like they just rediscovered how to do that...
@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
@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.
@manutavano
@manutavano Жыл бұрын
Thank you so much for showing this! I was going crazy with manual patches. Let's see if I can do it now.
@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!
@StevetendoMii
@StevetendoMii 3 жыл бұрын
This looks like something I'll have to try out! Patching trouble is what kept me from trying dwm.
@nikolaos9175
@nikolaos9175 3 жыл бұрын
patching anything in gentoo is super easy, you just drop the patches in a folder, then install it.
@quietgazer
@quietgazer 6 ай бұрын
how did you do this trick in vim on 7:04?
@tristen_grant
@tristen_grant 6 ай бұрын
What trick? The timestamp you posted is when he is hitting Return to add a new line...
@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.
@nictanghe98
@nictanghe98 3 жыл бұрын
OK now it just needs a propper tui.
@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
@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.
@kaminisray7809
@kaminisray7809 3 жыл бұрын
This is awesome
@thepacman537
@thepacman537 3 жыл бұрын
You did it , finally
@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.
@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
@thengakola6217
@thengakola6217 3 жыл бұрын
dumb laugh
@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.
DWM-Flexipatch - DWM Has Never Been This Easy!
27:24
OldTechBloke
Рет қаралды 10 М.
Dwm Is a GREAT Window Manager (After It's Patched!)
22:01
DistroTube
Рет қаралды 41 М.
哈莉奎因怎么变骷髅了#小丑 #shorts
00:19
好人小丑
Рет қаралды 53 МЛН
Win This Dodgeball Game or DIE…
00:36
Alan Chikin Chow
Рет қаралды 37 МЛН
Which One Is The Best - From Small To Giant #katebrush #shorts
00:17
How Linux Users Are Able To Distro Hop So Easily
10:26
DistroTube
Рет қаралды 22 М.
Let's Rice Our Dmenu With Patching
21:38
DistroTube
Рет қаралды 75 М.
Stop using APT
9:56
Chris Titus Tech
Рет қаралды 523 М.
I love small and awesome models
11:43
Matt Williams
Рет қаралды 15 М.
Bloating up DWM 6.4 with 12 patches
37:57
linux dabbler
Рет қаралды 7 М.
Applying Patches To Suckless Software
20:02
DistroTube
Рет қаралды 32 М.
Patching Suckless Programs Made Easy
21:26
Mental Outlaw
Рет қаралды 90 М.
DHH discusses SQLite (and Stoicism)
54:00
Aaron Francis
Рет қаралды 76 М.
DWM
34:56
Linux Mench
Рет қаралды 718
18 Weird and Wonderful ways I use Docker
26:18
NetworkChuck
Рет қаралды 189 М.
哈莉奎因怎么变骷髅了#小丑 #shorts
00:19
好人小丑
Рет қаралды 53 МЛН