Easily Customize DWM With Flexipatch

Поделиться
HTML-код
  • Опубликовано: 21 сен 2024
  • 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 года назад +71

    This works out perfectly because last night, I decided to give DWM a try lol

    • @DistroTube
      @DistroTube  3 года назад +14

      Best of luck!

    • @gustavomariz7769
      @gustavomariz7769 3 года назад +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 года назад +14

    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 года назад +23

    finally someone to do a video about this awesome project, been using flexipatch since it's early releases :)

  • @andrewh3503
    @andrewh3503 3 года назад +17

    this is a game changer. got tired of my dwm breaking when i patch things!

  • @enderger5308
    @enderger5308 3 года назад +19

    NixOS actually handles DWM quite well too, with patches declared like everything else in Nix.

    • @wp6007
      @wp6007 3 года назад +2

      Do you have a link on how to do this?

    • @twb0109
      @twb0109 3 года назад +1

      Arch has a way to configure dwm as well

    • @enderger5308
      @enderger5308 3 года назад +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, RUclips 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

  • @vkb967
    @vkb967 3 года назад +5

    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.

  • @DeshierArchitecte
    @DeshierArchitecte 3 года назад +36

    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 года назад +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 года назад +7

      The point is that its dynamic tho... you build it how you want it. Granted comments would be nice

    • @luviana_
      @luviana_ 2 года назад +1

      @@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 Год назад +1

      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

  • @sivuyilemagutywa5286
    @sivuyilemagutywa5286 3 года назад +2

    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.

  • @nobyra
    @nobyra 2 года назад +1

    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

  • @OctaviusPelagius
    @OctaviusPelagius 3 года назад +3

    David and The Other David are my favourite producers.

  • @Laurie_H
    @Laurie_H 3 года назад +10

    You should also credit yourself Derek because without this video the vast majority wouldn't have known about this project without your RUclips coverage.

  • @kronikpillow
    @kronikpillow 3 года назад +4

    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...

  • @Bad-cat_qhuuuuh
    @Bad-cat_qhuuuuh 2 года назад +1

    I've been like 2 days patching dwm thank God you did this video

  • @abarocio80
    @abarocio80 3 года назад +1

    This is actually very useful. I have patched (and also broken) my DWM for too many hours.

  • @emreocak4505
    @emreocak4505 3 года назад +7

    fyi. if you execute :set paste command in vim before paste anything. content is not gonna break like this.

  • @besnikrrustemi
    @besnikrrustemi 3 года назад +5

    Hey DT, Spectrwm is hungry for some rice, give us some food & love (and ofc a video),

    • @Neucher
      @Neucher 3 года назад +2

      Spectrwm is literally just another xmonad clone

  • @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.

  • @ivanhelsing7378
    @ivanhelsing7378 3 года назад +1

    Arch linux and DWM both have same philosophy. And it`s name is BIY. "Build It Yourself" (from zero) :)

  • @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!

  • @yallaoui
    @yallaoui 3 года назад +2

    Hey DT, very nice video. This really makes suckledss dwn suck less.

  • @cedrichoweg5790
    @cedrichoweg5790 3 года назад

    Couldn't agree more with your end comment on xmonad-flexipatch!

  • @StevetendoMii
    @StevetendoMii 3 года назад

    This looks like something I'll have to try out! Patching trouble is what kept me from trying dwm.

  • @MENTOKz
    @MENTOKz 3 года назад +2

    hey DT another great video keep of the great work man :D

  • @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.

  • @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

  • @martinhertz4957
    @martinhertz4957 3 года назад +1

    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.

  • @BatreshVic
    @BatreshVic 3 года назад +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.

  • @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

  • @mmy4328
    @mmy4328 3 года назад +1

    The only problem I have with window managers is that it is very difficult make them work on 4k monitors

  • @codestalk9183
    @codestalk9183 3 года назад

    another item to the todo list :D

  • @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 года назад +1

      dwm is beautiful, no doubt about it. If every piece of software was as well engineered we would be in a very different place.

  • @nikolaos9175
    @nikolaos9175 3 года назад

    patching anything in gentoo is super easy, you just drop the patches in a folder, then install it.

  • @Neucher
    @Neucher 3 года назад +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 года назад +1

      @@fabioramatis2373 it uses like 4x the ram of dwm

  • @Aiden-zi3xf
    @Aiden-zi3xf 3 года назад

    Now i have to learn Haskell to look cool online

  • @thepacman537
    @thepacman537 3 года назад

    You did it , finally

  • @kaminisray7809
    @kaminisray7809 3 года назад

    This is awesome

  • @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.

  • @nnaaaaaa
    @nnaaaaaa 3 года назад

    How is this any different than compile time feature flags? Seems like they just rediscovered how to do that...

  • @mnurrreza
    @mnurrreza 3 года назад

    5:22 I thought you boutta do Ctrl+Alt+f2

  • @N0zer0
    @N0zer0 2 года назад

    st-flexipatch also exists

  • @orpheustakenvanced
    @orpheustakenvanced 3 года назад +2

    honest question: doesn't this go against the suckless philosophy?

    • @senselessnothing
      @senselessnothing 3 года назад +1

      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.

  • @nictanghe98
    @nictanghe98 3 года назад

    OK now it just needs a propper tui.

  • @TakakoShepard
    @TakakoShepard 13 дней назад

    Lee Eric Hernandez Donna Perez Jose

  • @FreeRoger
    @FreeRoger 3 года назад +2

    hi dt

  • @mizel_1121
    @mizel_1121 3 года назад

    👍🏻 Shift ZZ = Shift :wq 👎🏻

  • @JamesBelz-p1g
    @JamesBelz-p1g 13 дней назад

    Lee Daniel Gonzalez Larry Thomas Timothy

  • @TanyaParker-h5v
    @TanyaParker-h5v 25 дней назад

    Martinez Kevin Perez David Davis Gary

  • @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.

  • @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...

  • @BruceWheeler-c9o
    @BruceWheeler-c9o 10 дней назад

    Lee Christopher Harris Elizabeth Thomas Thomas

  • @violeteddington3360
    @violeteddington3360 6 дней назад

    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 года назад +1

      @@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.

  • @JoellaAlberty-z5c
    @JoellaAlberty-z5c 5 дней назад

    White Ruth Young Helen Brown Karen

  • @thengakola6217
    @thengakola6217 3 года назад +1

    dumb laugh