 Hey everybody, welcome back to the channel Today we're gonna play a little bit around a little bit more with DWM now at the end of the last video if you watch that and I will Link that up above if you want to watch that nonsense. I was a complete noob I was just messing around with D. Dipman basically for the first time I'd been in a few times before but never really learned anything You also know it's a big flaw when I was working on DWM blocks Basically these are scripts and I forgot to make this script executable and that's the reason why The script never actually showed up in the status bar I fixed that and I learned how to do some DWM blocks. So If we go through actually and look at my scripts here We I have a whole bunch here now. I got the forecast, which is this one here. I stole that from Luke Smith Let's see. I got the mail one. I also stole that from Luke Why bother writing it myself when he's done it for me is the way I look at that stuff I've also got I'm down. I'm not using the memory one right now But I have that at the MPD, which is one that I actually created myself. So if we That's just really simple. It's a bash script it displays the current title the current artist with these icons and And that's you know that cook that comes from MPC and it was you know, I'm just a simple Bass script that displays that and get started with DWM blocks. So I've learned how to create blocks for DWM blocks and Today what I want to do a little bit is figure out how to Make these colors Now I just want Something other than white text up there, and I'm not sure how to do it yet So that's what we're gonna be learning about how to do today. So we're gonna learn together That's the way I do my videos. I'm these are not tutorials not meant to be tutorials if you learn something. That's great if you don't learn anything or I Should say if you learn what not to do that is probably the best thing you'll pull from these videos so let's go ahead and close this and go to a different tag and We'll open up a browser And we will search. I've done literally I've I got some idea about how this is done I'm still so totally confused. So if we look at for how to theme DM blocks I'm not sure what we'll get This person is telling you how to install patching Restart W. Oh hold on hold on a second First patch I'm going to use this DWM restart Like hold on a second. I've been wanting to do this for ages This makes it possible to restart DWM in place What I mean by this is that you do not have to restart your X session and by logging out you can just refresh DWM So that if you make a changes into your status bar, you can change instance. Oh, I want this We're gonna do this first So you'll get to see me patching Let's see if hopefully hopefully this patch works. It's only failed at a patch once before Save link as okay save and We'll go ahead and do this in CD into config and slash DWM and patch Wonder why I've been doing it differently. I think I will just continue to do it the way I was doing it Huh, look at that. I worked. Okay, so make install and That work that actually worked really well. Okay, so let's I'm going to Config.h here and see oops. We already have that opened a board Here again, see if I have a key binding now I'm assuming this will be the last time here. I'll have to go through and do a restart To like add it to the bottom I did notice that I have Oh No, I don't have that twice. I thought I had it twice. Um, it's QNX. Okay It might not be in here yet Let's I'm going pause and restart and We'll see how this worked out. We'll see if there's a built-in key binding. I may end up having to Let's see here After you have Rebuild WMU. We'll have to restart manually now But after that you can use the mod shift control Q mod control shift and Q. That's one hell of a combination All right. Anyways, we're gonna try that out because that's gonna really help So anyways, I'm gonna pause and then we'll come back and see if it works Okay, I'm back and let's see if this works out here. So mod shift control and R That did nothing. Okay Apparently that opens up fuzzy shirt search, which is interesting. I didn't know that did that So CD CD them config.h Let's see if it actually added it to because it might not have added it to this it might have added it to um it should be a Monstrosity of a key binding. I don't see it mod shift control and Q is what that said. Maybe that says it doesn't work. Let's um Look in the standard See them config Def h We'll scroll down Yes It's right here. Okay, let's do this We're gonna have to add this manually. I think So if we open up a vertical split here and Config.h Okay, and Stroll down till we're at the proper spouse. I want to make sure I want to get my Envim thing here Set up so it remembers possession because that's really annoying that it doesn't yank yank and Control L P. Okay, control W Q Okay, now I'm gonna have to pause and rebuild again. So Let's see make Should oh make install Okay, that worked out. Well. All right, and we'll pause again rebuild and see if that works this time Now if that I'm so I'm back obviously if that worked I should be able to Mod shift control and are that still did nothing I want all right, so Maybe that was the wrong key binding Mod control shifting Q my control shifting Q my control shift Q That should have worked. Okay, I think it worked It also moved all of my windows onto one single Tag which is really weird. Um, that's odd, but that's okay move that to three move that to Over there and move this to two and move this go and go to three go to two. All right That's weird that it was all your windows to one tag But if that works that works that means that should be the last time I should have to pause this video for today. So Winning anyways, we'll go to three and see what else this guy has Customizing tag indicators The active fate in indicated bar patch allows a little bar above the tag Numbers instead of a square. I think it just looks better. Hmm. I don't need to do that yet Fought awesome We already have thought on some installing See the thing about this Here and I might do this but I have two monitors and I don't want both monitors that have tags that look exactly the same because I don't need two Workspaces with these icons. So that's not a green status indicators with DWM blocks Wow, look at that's a really cool looking status bar has no information whatsoever other than the time. Okay All right, so DWM DWM blocks makes it possible to update the different indicators separately I'll put the link to this in the description if anybody wants to see it I've never seen this person before so it looks really well written DWM blocks make it possible to update the different indicators separately This is much better than running every status indicator in one infinite loop like you would have to do it Ex set root, which is the way you used to have to do it Update them every one second or something like why would I want it this guy? Would you have any blocks you can set different update intervals Where he said that keyboard layout indicator does not even have to be updated automatically It only have to be updated if I switch keyboard layout so I can just update a signal signal for it So he's going over how to install DWM blocks I'm using spaces in the icons column to have some padding between indicators. That's good. That's a good idea More interesting colors, how do you do the how are you doing the colors? Okay? Colors with pie wall and I don't want to use pie wall Now configure DWM to use generated colors open open config.def.h and locate the following part comment out and delete The above lines and replace them with a single line. I don't want to use pie wall That's disappointing Yeah gaps. That's interesting. Okay, so that was that wasn't as great a tool as I'd hoped Because he's using pie wall and I don't want to use pie wall. I mean, I suppose we could I Mean why not? You want what the hell? We're gonna use pie wall. That's not what I was planning on doing, but we'll do it So we'll open up the thing here and install the damn thing. So pseudo I got a lot of type Dash pie wall Okay See how long this takes to install not very long at all. Okay, so now we go to Close this and it says to comment out or delete the above lines and replace Then with the single line Replace the path to your home directory. So eg home my user name Okay, I understand we talked about home slash dr. I should work now open the DWM.c file and search for the following line Okay, so To all right, so we're gonna go to the top here We're gonna it says to comment out everything here. So that's a I'm not gonna delete these just in case it doesn't work insert slash Astris and that goes down to this so that's astris star, right So Slash Astris There you go. All right, and it said to Include that. Okay, WQ Okay, and then it said to do replace The hope we got to go back and replace the path. I'd be done. That's don't be an idiot Matt Okay That should work Okay, now we need to replace the pad we did that now open DWM.c Okay, and we got a search for this line here enum Schema scheme norm. So all you have to do is add comma and This part here Okay, here we go Make sure that that looks the same. There is there is a space after that. This is another comma No, oops, keep on the wrong tag. All right Okay, and This is needed because because nice spelling it because they're fella Pile will generate different border colors for urgent windows and the build would fail if scheme urge Would not be to find now run the following command to actually set your wallpaper and generate the colors. Oh That was a dumb thing to do. He actually got to do a path to image. So let's do pictures Slash walls Yeah, sure why not Let's just do new wall, I don't know what that is and I changed the color Weird colors, but it works for now. Okay, and we can close that then rebuild and start DWM so we need to go back already to and Make Words not gonna rebuild. Oh We're probably gonna delete those It's typed. Yep. So then config H balls. Okay Um Before I do that, I'm gonna upload this to get up seal it so I don't Get add all Get commit hi wall. Hmm. Oops dumbass. Okay get Push I don't understand And nothing ever works for me. It really I don't want to delete all that stuff You want to find we'll just do this CP? config H to Fig that old just do it that way That's not the way I want to do it, but we'll do it anyway, so And we'll delete this make still no Okay Indie WMC All right, so let's see what these errors are. Oh balls This is why I should have just figured out how to do the colors Inconfig.h line 53 error undeclared not I bet you Oops damn Line 53 Is what I said. Oh, okay You want to I don't use D-men you anyway, so let's do this Do a slash star Star slash okay save that now make So still have one We're so we're going to get back up here D menu command Because I still have I still call that which is this one here So I start this is preferring to be a pain in my ass now Still no, okay DWMC Why is why did he do why do they have DWM come DDB menu command in the DWMC file? That doesn't um God, I don't want to hug So I guess we're gonna go search for DWM CD and why aren't they this in color? Why don't the colors stay the same? If I do this and the colors don't even stay constant. This is gonna be a pain in my ass. All right, um Then DWM dot C We're gonna search for D. M E-N-U-D More misadventures in DWM for me. I don't I don't want to Delete all this What if this is needed? Okay, you wanna know what I'm gonna do. I'm gonna control all of this and we're gonna go back into config.h and What we're gonna do instead of getting rid of DWM command We're just gonna get rid of the colors. I'm just gonna rid of the colors and then we can go down here and Okay, now if we make Yes, it works, sudo install Okay, built That was a pain in the ass. Now what I should be able to do is do mod shift control Q and And That should have changed colors it did change colors It didn't change any of these colors, but it changed the colors of this and it made it all of my things we can Now over there and we move this three and this to two and this to two and go to two. All right That was a pain in the ass for and I mean really It kept the same wallpaper All right, so if we go up here go back to three and we run this command. Where is it again? This command here so good three Okay, see if we have the wall See if we have it in the history here. Okay, so let's find out Let's actually go through and find a different That's cool good wallpaper I'll admit It's cool looking wallpaper. Okay, so let's go ahead and look for a different wallpaper and see what it looks like It's still then you know do the things that I wanted to do But it's cool because I can bind that to a key binding in sxHKD and You know change wallpaper to I'm assuming it uses like fair or something Anyways, let's uh walls Let's see here. Let's do 140 underscore two. All right I mean it kept this So do we have in order to get that this change to those colors to change again. I want to see and What's the purpose? If termites remains the same colors when you spawn a new you know Terminal that's dumb That feels like a waste of my time. You know, it feels like it was a waste of my time um So all right. Well, you want there has to be a way then to get termite to use pie wall I mean, I suppose what we could do is urxvt That uses is going to use the same colors because those come from x resources I wonder about alacrity No, that uses its own. Okay. Have you followed the wiki? No Add this line to your show startup file. Okay Haha, it worked. Haha. Yeah. All right. So I wonder in order to get dwm to also You know follow the colors. I also have to do this. No. Yes. See that changed it And it also moved all my stuff back to the same tag. That's ridiculous. Okay. Yeah. All right Do the just quit that and quit that and Quit that and move this over to three and two two Oops What a pain in the ass All right. So that's cool. Um, it's a weird-looking color scheme, but it's cool But it doesn't affect dwm blocks All right, so my whole purpose of the video if you remember was to colorize dwm blocks But I don't think I'm gonna get that to get to that today. So that's disappointing But you know what that's fine. This is where we'll stop. We got pie wall working in dwm That's cool. We also install a patch so that I don't have to Restart dwm every time I do a patch or a you know a color change. That's also cool. Um, so Thank you for watching if you enjoyed this nonsense. Give us a thumbs up if not thumbs down subscribe all that stuff We really do appreciate every single, you know, one of you that you know views these videos. Um The three cast which is our podcast, which is the main thing we do on this channel We'll be coming back this sunday. We're gonna be talking about some Unspecified topic at the time. So anyways, we'll uh, see you next time. Thanks for watching