VehiclesFashionRecipesBlogsHuntTravelsSportFunHandmadeITEducation
Mini-Games
x

x
zakruti.com » IT - Software » IT, programs, coding
Let's Rice Our Dmenu With Patching DistroTube

Let's Rice Our Dmenu With Patching DistroTube

FBTwitterReddit

video description

Rating: 4.0; Vote: 1
Let's Rice Our Dmenu With Patching DistroTube I felt like ricing my desktop a bit today. So I fiddled with new wallpapers and adjusted some color schemes. But since dmenu figures so prominently in my workflow, I really wanted to add some bling to dmenu. So I'm ditching my rather vanilla dmenu and building a new one...with a bunch of cool patches from the Suckless.org website. - https://suckless.org/ - Suckless.org - https://gitlab.com/dwt1/dotfiles/-/tree/master/dmenu - DT's dmenu build - https://gitlab.com/dwt1/wallpapers/-/blob/master/0239.jpg - Wallpaper
Date: 2022-03-30

Comments and reviews: 10


Why do you patch manually? Tedious and error prone. This is what git is designed for. Each patch tells exactly which git commit it is based on, why you can't just apply it on the appropriate commit? The workflow looks like this: git branch ; git reset --hard ; git am ; (or, depending on the patch format: git apply ; git commit -m -applied the patch-;) git rebase master; git checkout master; git merge ; (best to merge them on a separate branch once all patches has been applied on their own branches).
reply

DT, you gave me the courage to install ArcoLinux, however, with the MATE desktop. Your command line videos are a great educational tool to help those of us who are not that comfortable in the command line environment. I used to mess around with old DOS and OS/2 command line, but have not really felt that competent in the Linux CLI . I am working on trying out a CLI on one of my older Thinkpads just to follow along with your videos. Keep up the good work!
reply

came here because i thought that someone had a tip for merging patches, then i realized -branches-
git checkout -b mybuild
git checkout master
git checkout -b patch
git apply < /path/to/patch
git commit -am -describe patch-
git checkout mybuild
git cherry-pick patch
git branch -D patch
hmm i wonder how scriptable that is

reply

Yeah - I know it's late.. but those patches were applied to the config.def.h, while you were using the config.h file. I haven't viewed the source code yet, but I guess you have to reconfigure the package in order to have the config.h being recreated from the config.def.h. Just my guess. I'm out. Great video --
reply

I don't know if this isn't well know or if this is just obfuscated but the suckless team has a guide on how to track patches with git under dwm - customization. With the method they describe you're able to merge changes between the upstream master branch and your own custom branch to preserve patches.
reply

Wow love the wallpaper! I do like some flat wallpapers and that one is great!
Your going to keep at it until I try Dmenu, aren't you? Lol
Ok while I am using the terminal more and more these days, I still am a clicky guy at heart... :D
Who know, it could happen..... Lol
LLAP

reply

You inspired me to make my own rice of dmenu, created some custom -patches-, like dimming of the background.
You can check it out on my github if your interested ( github.com/Czaplicki/dmenu )

reply

i'm a simple man. i bind this to my dmenu hot key:
dmenu_run -f -l 10 -i -fn -:size=16- -nb -gray- -nf -white- -sb -black- -sf -gray- -p -Applications: -

reply

You can patch on top of patches??? I thought you really had to make copies of the original file, patch them and then put them together into the final file.
reply

I enjoyed the video, and thanks to top comment for the tip on config.h! I've been meaning to center up dmenu and your upload got me to do it. Thanks!
reply
Add a review, comment






Other channel videos