 Hey everybody welcome back to the channel today I'm going to be walking through the very basic process of racing DWM now. I've done a video before on Adding color to SL status. I'll be doing that today too, but I wanted to kind of combine it into one little video That basically will take you through racing The bar of DWM some of the other things in DWM SL status and maybe ST at the end I don't know if whether or not I will get to ST or not. I Don't usually use ST outside of being the terminal that I use for my scratch pads So we'll see how it goes. So First thing we obviously want to do is find a color scheme. So that's whenever you're gonna race You need to know what you're racing to so That's one of the rules that I have always had the hardest problems with because I'm not a Designer like at all Not even a little bit. My color coordination is not fantastic So I always have to find someone else's color scheme, you know, or find a color scheme generator or something because I Look like one of those old golfers Out of the golf course my colors matching skills are not, you know on point anyways So I've done the legwork on finding a color scheme that I want to use and it's this one here now What I will say is If you're out there hunting for a color scheme the best thing to search for is Vim color schemes because there are a ton of those out there and Not even ones that are like Very popular. So like, you know, everyone's heard of Dracula and I'm using one dark right now and there's Solarized and Nord and all these ones that are very popular if you go to r slash Unix porn But there are other ones out there that are Less popular but also obviously exist. So this one here is called paper colors by a guy named Yeah, that guy I Will link this in the video description I will also link a GitHub repository that has a link to every single one of these that I found Now I'm not saying it's all of them color schemes out there in the world But it was definitely several dozen of them so that can give you a good idea of basis or I guess or basis of what you want to Use for your car scheme. So I'm just this is what it would look like in Vim and Well, I like what this one has actually gone through and listed out the colors Not all of them do that or at least they don't do that with within like the read me file They do have some some of them do it and within the source code itself and you have to kind of dig for it This one is gonna be very easy. So what I'm going to do is Move this over to my other monitor. So this is probably the last time you'll see the actual color scheme I just want to be able to have it up, you know all the time So let's go ahead and go over to a Terminal now the first thing we're going to do is the borders and the bar and By the borders of the bar, I mean the border that's around the active window and This bar up here if this will not affect SL status at all it will We will mess around with the highlight color of the tags. So All of my Suckless stuff is in a dot config folder slash suckless and in this case, it's gonna be in the DWM folder within there If we do it unless here We will see, you know, we got config.h and all the unusual DWM stuff So what I'm going to do is remove config.h That way I always make all my changes to this file here And it's just that way, you know, you're making changes to the actual source code instead of the Configuration file that's made after you do a make command So we're gonna do that and then I'm going to them into config.deaf.h Okay, so this is my DWM config file and These are the colors that you're going to be wanting to deal with you can't really see those now that I've highlighted them but Basically the way DWM works is that you define color variables based on I'm not sure if this means I'm pretty sure this means color. I'm not sure why they've chosen gray is the default Variable name it's just kind of weird but whatever so The One we want to change first is the scheme norm basically That's going to be the background of the bar. So in this case, I have it set right now to Color gray three, which is this one here, which is white. So that's the foot foreground. So that's gonna be the text color Color gray one, which is this color up here is going to be The blue Okay, so the color I want to set this to right here is going to be one see one see one see so I'm going to change word One see one see one see, okay, so I'll change this to almost black Okay Now we want to change this color here. This red which is going to be E07 6 7 E06 C 7 5 so that'd be it's gonna be the the chi in and that's uh This right here, so that's that's the color of the selection So we want to change this one here oops to Change word and I'm gonna make this AFD 700 Okay, and then I'm going to write and save this so that's gonna take care of this and it's gonna take the care of this It will also go through and take care of the border color So that's gonna be that the AFD 700 is going to be like a lime green So What I think I'm gonna do is go ahead and log out and log back in so you can actually see that it worked but we're gonna save and quit this and then you need to run a make command and Then you need to do pseudo make install and enter your password and you got to make sure you enter your password right because Obviously, I don't obviously know how to type So anyways, I'm gonna pause here and I'll log out and log back in so you can see the changes that we've made Okay, I'm back as you can see now. I have a lovely green color up there and One thing I did off-camera that I had to do was change the Text color The or the foreground color and I'm still not completely happy with it. I'm going to go ahead and make this Just down right black. I've kind of made it this gray color. That's part of the color scheme I'm not happy with it because it's still not completely legible So I'm going to go ahead and just make it black and see if that works And so I'm just gonna go ahead and do that now. Now the color that I need to change is the select Foreground so it's color gray four, which is this one here. So I'm gonna change word and make this zero zero zero zero zero Actually actually what I'm going to make that is that same one C one C one C That way they're the same black we'll change this and Actually what I'm going to end up having to do is make sure Because I'm in the wrong file. So I'm actually going to remove config.h Again and go change this in then config.dev.h That way it's Changed everywhere. Okay, we'll just right click this one now But before I'm not gonna log out. I'm what I'm gonna do now is Go through and change the colors of SL status now. I've already done this one time and I'm telling you this because What I'm about to do can really work your system if you make a typo. I made a typo. I change I left out a character and DWM just will not work if you mess up l cell status. There's something about SL status or any of the Things that mess around with the status bar that if they're not exactly right DWM just stops working I mean it will load but you won't be able to change workspaces. I Ended up losing the video that I had recorded. It was a whole mess so we're doing this again and this time I'll make sure that I don't go through and Make any mistakes. So Let's go ahead. So my SL status is in that some is in the same suckless folder So I'm just gonna dot slash slash SL status and we'll do an LS here and I'm gonna remove config.h Okay, and then I'm going to them in to config def.h and This is the bottom of the file. So the top of the file looks like this bottom of the file looks like this now Yours will look probably a little bit different because you'll have different modules But For the most part, this is what yours will look like now You do have to have a patch in order for this to work. The patch that is called I Think it's called status 2d. Don't quote me on that I will leave a link to the actual patch just in case just in the video description and basically what it allows you to do is Have this code here, which you can't see if I highlight it But this beginning code here and that basically just defines the numbers Oh, and you always have to make sure you just syntax. This is where I messed up and why I'm having to record this If you don't have these little Upwards arrow things at the beginning end if you missed one of those You're borked and it really will just bork you Just don't forget things. It's the easiest way to do it. So let me get my colors came back up here The interesting thing is I had colors here when I actually did get it to load That I really liked so I'm gonna have to try to recreate this. So the first one I had was color was purple So I'm going to copy that and scroll c and back to tag 4 And then Change word and copy and paste and then I'm going to Deliberately make sure that I have the entire syntax here exactly correct, which I do okay, so Next one I want to do is the cpu percentage. So back to tag 7 Uh, and that one can be orange All right, change word and control fee control v. Okay And the next one is ran percentage And that could be pink Okay, change word all right And this percentage right now is white. So we're going to change that to something different here that can be this Uh, like teal color, I guess right All right, and then the next one is my weather I feel like I had this in when I have it where I had it working. I had it this blue color here in the right one Change word and yep okay, and then 7 the next one is updates, which we could use this like magenta color here, I guess Oops, I keep going back to the wrong tab. I don't know what tag. I don't know why All right change word all right Seven and the next one is volume. We'll use that we'll use white for that one Okay All right, and the last one is date time. So back to seven We'll make that one green now once again Make sure you check and make sure your syntax is correct. So carrot c And then pound sign in the number and then another carrot carrot c pound sign another carrot I'm just going to go through and make sure I have everything right here Because I'm not doing this again I just absolutely refuse to do this again Okay, that looks right So for my volume does not oh, it's because all right So one thing looks weird here is the volume does not have an icon That's because the volume icon is defined in the script itself I don't know why did that did it that way? It just seems to work fine. I mean it doesn't really matter all right, so I'm gonna Write and save this And then I'm going to make pseudo make install All right, that made that's just fine now I will point out that when I made that mistake before when I missed one of those carrots It still Thoroughly built just fine. It showed no errors whatsoever. So Just because your thing makes does not mean that you're not going to be buoyant. So A bork buoyant, whatever Now there is a way to test your s l status Changes without logging out and logging back in so you'll just do kill all s l status And then restart s l status I am not going to do that way I'm going to go ahead and log out and log back in Mainly because that will allow me to save changes on my video and audio recording Just in case I made a mistake again You don't have to do it that way if you make a mistake shut your computer off Log back into a different environment make your changes to where it's supposed to be and you'll be fine That's why you always want to make sure you have a secondary environment installed either that or you could always use a tty but A secondary environment works better for me. So I'm going to log back out log back in and you'll see the changes when we come back Okay, so I'm back as you can see we have our new colors and they are striking now. I'm not quite happy with the way the File system one and the weather has worked out Because they're kind of too similar. So I might change those up around a little bit In the future, but for now, they're fine. Now, I understand Usually I have the weather and the updates up there. I have not Made those scripts back working in crown job in a crown job yet. That's the reason why it says not available but that I don't think anybody really cares about that. So That's basically how you rice DWM now That that just is the window manager itself I'm going to go through and off camera and do my terminals ST is a little wonky How you theme it so I'm not going to bother doing that Camera at least not right now. Maybe I'll go through and do that in a separate video But for now, this is just you know, where I'm going to stop. I think I do want to find a wallpaper that kind of goes with this color scheme But I will work on that as well later on that is it for this video If you have a rice of DWM or even another window manager, I'd love to see it Get leave it leave a link to there's something in the comments and I'd love to show it off because Ricing is fun. I'm not very good at it. I always steal it because I always steal other people's color schemes But it's always fun. That's why I make so many videos about ricing Uh, so leave it, you know, a link or something in your in a comment below showing me your rice Or your daily driver rice or whatever You know as I look at this, I'm still not quite happy with the foreground color of the selection It I set it to that black and it's still not just not quite bold enough for me. It's still kind of hard to read I'll figure that out Who knows how long I'll let's just stay with this rice. It's kind of bright for me But I wanted to change it and make a video. I need something other than one dark Even though the channel colors are going to stay one dark for a while But anyways, if you like this video, give it a thumbs up If you didn't give it a thumbs down You can support the channel by subscribing and hitting the hitting the notification icon bell Or going to patreon and supporting us via patreon.com slash linuxcast and I would like to thank our Producers our patrons devonc and marcus b. I did make this Graphic uh, I will do a better job of making it because I forgot the stuff at the bottom But yes, it doesn't really matter anyways. Thanks for this and uh, if thank you everybody for watching. I'll see you next time