DWM - Setup, Config, Patch, and Customization

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
all right today we are doing something a little bit special because I've never really tried dwm from a standpoint of actually using it on a daily basis now this right here is bspwm and it uses Just Like A bash RC file to load things dwm is a little different because I believe it's like a c compile so you actually compile it every time like let's say you make a change to it you're compiling the program but it also makes it very robust where pretty much anything can be done which is neat and it's also kind of like a tried and true called a suckless tool that does it so that's kind of my thought process a lot of people swear by dwm it's been around forever it's very simplistic once it's set up but setting it up can be difficult probably on a scale of one to ten it's closer to the higher end of things to understand uh especially compared to like I3 bspwm awesome Window Manager probably a little bit above them because it uses Lua it requires a little bit more configuration and then dwms towards the top difficulty scale although its defaults are a little bit better than understanding like an X monad window manager so that's where we're at today I I'm kind of looking at it Peter that's been a long time follower of the channel sent me all his config even wrote me up a little PDF a guide on his dwm config we're gonna try it I don't even know what it looks like so hopefully it didn't send me any like naughty pictures to go throw in there but I don't think so I don't even think it has a background so it's going to be very interesting it's it's it's it's going to be a pretty wild stream and I want to just get going right out of the gate too we'll go ahead and pull up like chaterino probably I I we we got a lot to get through today and I have about three hours to get this done so no Dilly dallying on my part but I do want to check in with you all first oh boy it's gonna be interesting it's gonna be interesting all right pretty basic yeah Peter's in chat right now he said it's pretty basic with some patches all right you can easily rice it but that's perfect I want a really basic setup I don't need anything crazy I don't need the fanciness I just want something functional is really the goal of today's stream with dwm so I already got he already put it all on GitHub for me we got a little PDF tutorial we just have some easy dependencies to install here um oh man I wish that was uh that's okay we can just type it out dnf install and we're gonna just get lib X 11. we'll see if we have all the dependencies I believe uh Rocky probably should have these dependencies we will find out this is where we get a little bit in kind of crazy territory as Rocky Linux does not have a very robust packages especially when it comes to Graphics it's more a mint for a server implementation so let's see what it has xorg x11x init session all right let's see does it have all that it does nice so we're not missing any double packages and that's probably the biggest thing so like that that could have been a thorn on our side but no you're so lazy with typing I know I know okay so now we got that copy the dwm directory to any path of your system and go into it sudo make install no clean install needed nice okay let's just uh let's just do that we're gonna go into our build directory I like to throw any project I'm building here let's uh put that over here scroll down a little bit and what we're gonna do is do a git clone toss this uh this entire get project the dwm setup from Peter we have it all right here it says that just the sudo make install should do it that probably just needs a DOT configured doesn't it okay not DOT configure I guess it is just sudo make install hmm it does hurt probably just let's just do it make real fast man that's so fast did it I mean it didn't air or anything but look at that make that's quick okay it is a very simplistic program so I guess that is I'm so used to when I do a make of a program it just takes at least a couple seconds oh the untar oh yeah yeah I could have uh is the tar in here is I just I just clone the whole repo oh okay let's just see let's just do a tar uh xvf and then dwm setup okay so let's go into dwm tutorial and dwm 6.4 alrighty let's do a make same thing looks pretty good man that's so uh so so fast on the uh the make was just that we're gonna do a pseudo make install to put it in the actual system so it's all C old school all right I dig it so now we have dwm installed from that simple compile and installation man that seems just so fast all right a little bit further along than I anticipated already so we did that take my DOT X in an RC and put that in your own or in your X profile let's take a look at that um probably that's in the earlier directory you can see that let's Vim into that X RC what are we doing we're grabbing user resources uh mod map okay we're using picom which I don't know if I have that installed we need to take a look at that LX pulkit nitrogen for the background uh what else we got copy Q I don't use that actually I use x-clip that's okay a clipboard of choice best functionality if you want to run a demon or a Daemon scripts panel filling for extra information in the top right of the panel X set s off DPS that's like a disabling monitor um X randar could set displays obviously I don't really need this I actually don't prefer uh any any of this right here for the xrandar I like to just set it in an X or comp file through Etc X11 and then like xorg.com and that way you don't have to worry about it uh not recommended unless you are a fast typer I am not I do about 70 to 80 words per minute on my good day so let's go ahead and comment that out as well and then this Launches dwm on Startup I like it I like it um how are we launching into the system right now is probably a better way to approach this as well I think we are using a display manager which I don't think Peter does here yeah this this is no Wayland here we're looking for tried and true function over form super fast super efficient never will break yeah yeah we can also do start X we could do a lot of different ways to skin that cat for launching dwm um for this one I believe we'll probably kill bspwm from like a separate TTY and manually launch it to get going um let's let's open up a new workstation and I want to take a look at what we're currently doing which is a status is it light DM or is it sddm I can't remember what I'm using maybe it's Greek d uh I set the system up last week and I can't remember how in the world I'm managing my login I Know It Auto logs in let's just look at Etc what are we using it's pretty bad when you don't remember what you did for your display manager but alas here we are I'm not using gdm am I jeez that'd be just that's just that's not gonna work I don't like gdm that's gnomes display manager it works but it's not my first choice maybe because it was Rocky and that was kind of like it's baked in deal that's not the end of the world we can keep that yeah it looks like we're using gdm man I would not have pegged what was I on that day all right let's look yeah we're using display manager gnome display manager all right ah I mean let me leave gdm in case we want to switch to Whalen and try like dwl uh to get the Weyland instead of xorg for now well let's do xor get all this going and then we might look at like a dwl implementation of it if we want to Rice it there's a lot of different directions we can take here lots and lots of different uh places we can go so dwm right now okay it does launch from pretty much anywhere so we don't even need the full path it did install it into our bin which is nice that was the sudo make install let's go into gdm I'm curious to see how I did this I think it was just a custom.conf wasn't it so I did Waylon enable false automatic login true automatic login enable true uh that's fine but I probably would specify my display management under user sessions so if you're if you want to Auto log into like a specific like whether it's gnome KDE or even just a window manager like bspwm or dwm like we just installed uh usually that that resides and I want to say user sessions user local was it use a local share sessions no where is that located oh did dwl doesn't have a panel or a systray yet I'll keep an eye on the project until it gets a little more maturity dwm itself is very mature though make it this desktop file okay if we have a failure on launch we'll make the desktop file to see uh graphical display manager can't find dwm I don't think we'll need to use a desktop file but I'll definitely keep that in mind so um let's see where is these sessions located uh all right user share X sessions is where it is user I was close share uh all right so right now on this system there's gnome xfce and bspwm all desktop files so yes I would need to do that the dwm desktop file yep yep correct do we have a desktop file in here um I do not see a desktop file so we'll make one um let's do locates dwm okay well uh maybe we specify that just a bit more wow we got a lot of files um let's just go to user just bin let's do that and it's dwm and Bin DWP dwz I don't see a dwm in here ah um what was the update database I think it's update DB let's do a pseudo update DB and try to locate command again locate a neat little command if you're not familiar with uh with it you can do an update DB and what it does is it catalogs all your your files so you can easily locate specific executables so we're trying to find locate dwm and you can see it found it with the update this time user local bin dwm is the actual file that we would want to Launch like I know it's in one of these no it's not in Nix it does look like I installed a variant of dwm in Nix but I want to make sure that we don't use that so I want the one that we just compiled from Peter okay so there is that uh let's make our desktop file so we're going to go back into user share X sessions you can see all of our files let's just copy bspwm to dwm desktop and uh this needs to be done as root sudo Vim dwm desktop so we have this session see how it says bspwm uh we could probably just do dwm like that uh I would probably feel more comfortable doing the full path like that and then doing like a dwm up here and then a dwm down here so that should fix our sessions for dwm so you could specify to Auto launch any of these and it would be fine so are desktops done this is compiled input in uh I feel like let's continue reading our PDF here just to see what we have take my X in it RC what you like put that in your own X in it or X profile okay let's take a look if there was anything I wanted to grab from that accented RC don't think there's much in here that I would actually want to grab picom probably I mean probably the best way to go about this Let's uh I would probably just Vim into my current dot config bspwm bsp wmrc so this is what I'm kind of currently launching when I'm doing bspwm I'm using Faye so I probably would uh do this and then probably get rid of nitrogen instead of nitrogens in different background uh phase another one to use all right as far as hotkeys I wonder how dwm handles its hotkeys I think that's all part of the compilation is it not I want to say we need to look at our header files and look at that during the compile so that's good uh probably like an X set cursor left pointer this fixes cursor startup which I find kind of needed so we'll probably do this we're going to delete these X randar uh X render is used for configuring monitor I do like the disabling of the monitor shut off because honestly if my computer's on just leave my monitor on I don't care about Energy savings setting keyboard layout probably would like to add that here too far as anything else most this is configuring bspwm which we're not going to pull over and then the rules the auto starts that most probably the interesting thing we need to look at now Pi com I configure my picom just a little bit different I'm almost tempted to leave that one in but what I might do is just kind of paste that there and just use it as a reference comment it out Synergy I use all the time for my stream PC which sits above so when I look up I see you guys and I can just take my mouse and go up there which is nice Alex pull kit I don't really use I'm using gnome pool kit instead so what we'll use we'll get rid of LX pool kit so what I'm doing here and how pretty much any window manager is laid out is you have a compositor that gives you that nice opacity to it so you can see through your windows Synergy is my what I use to communicate between all my computers we have pole kit that authenticates it makes it so you can elevate your current user to super user if you don't have a pull kit like he's using LX pool kit which is lxde's they both do the same thing they just look a little different and uh that it gives you the ability like let's say you want to re-partition a drive using G parted if you don't have pulkit installed you're not doing that uh there's no way for the system Elevate that user because there's no policy kit there which is what pull kit stands for phase of setting my background copy Q is that even installed oh yeah it is how about that okay we'll leave that I've never used copy queue so we're going to figure that out um this panel filling that's going to be interesting let's take a look at that everything else looks pretty much uh standard so I'm curious about the scripts and the panel filling let's take a peek at that and then we'll be pretty much ready um do we have panel filling there it is panel filling so panel filling is while true do exit Roo name I guess this is sitting the top bar oh you you got this I'm sitting on a laptop he's catting his battery capacity and saying how much charge is left oh that's neat I don't think I'll use any of that as far as the free Dash m um you you if you're like you're curious about what these are you can always yank them do another one like this be like okay so that's probably talking about what is that talking about so that's disk space it's not disk space oh RAM usage oh okay so you can see I am currently using 3096 bam that that drives okay uh huge oh you can see the echo MB charge and then we have an echo date and time so it looks like just the top bars that I mean probably could get rid of this and get rid of this and percent that's good so then we just have RAM usage date pretty Bare Bones do we have let's take a look is that wrong I mean honestly this is a little redundant let's just make it a little simpler I feel like that's a pretty good it just shows you RAM usage and then the date less is more in this so we're really trying to do suckless to physical philosophy I I want almost zero bloat this is gonna be as simple as you can get to where people are gonna go is that even a desktop [Laughter] that's where we're going that's where we're going today usually I'm like let's just throw everything in the kitchen sink at it today we're just gonna be like how little can we put on a system and still be functional so and it honestly if you want a really reliable system it doesn't matter what we're talking about Windows Mac Linux like whatever flavor of Linux it's all kind of the same when it comes to the more stuff you have the more problems you're going to probably encounter or the more possible problems you're going to encounter same with security the more stuff and more more things you have going on the more attack vectors the more odds you're going to get attacked so that's kind of what the thought process here less is more ah all right now corrected for panel filling oh there was some typing errors okay all right that's fine let's take a look at or GitHub let's see what their other things were here we'll just add uh probably should close some of this down you just updated this one minute ago was there a change there let's just see oops oh I see grep meme so we can always just verify this command real fast ah perfect okay I like it oh did I did I delete the wrong one no no I didn't I didn't [Laughter] all right let's grab that panel filling toss it in there so we're gonna just copy do we have a scripts directory let's just go scripts I don't have a scripts directory let's just make a directory with the path Scripts and then we're going to copy that panel filling to the home scripts path all right that's good next uh let's take a look at what RX in it is currently doing so we looked at Pete's X in it oops Vim X in it RC oh wow I'm not really doing anything is it um uh yeah okay let's uh build the dwm I think we could easily replace our X in it here uh uh oh do we have it open in the first oh we do that's hilarious so we have all these X DPS set X layout uh this one I believe when we exit root let's just verify yeah that doesn't need an ampersand keyboard DPMS all right everything else looks pretty good I'm not really using the X Mod map we're gonna double check that as well so Let's uh let's close that we're going to come back to here and instead of viming this we're gonna just copy build X in an RC and we're just going to replace X in it RC here override our current file because it's really not much there should be good oh yeah the six-month Health transformation man I'm telling you I love it I got a whoop strap now I'm gonna go full athlete mode and track like my uh heart rate variability and some other stuff we'll see if I can't optimize things a little bit further on the health front and see see what happens I'm curious I always wanted to see what happens with that um other things let's take a look at the dwm compile as well I am curious on some of the settings because there's going to be specifically hotkeys and other things that uh I'm curious about so let's first look we can remove panel filling or actually let's just go into dwm tutorial CD dwm okay so here's all our files that was made when we did this let's look through them so we can see what's in here so you have your C file right here it's been a while since I've done C program what what is this even in here I wonder it's not much let's see we're already 20 away through the file this looks like just the base program I don't think we configure anything in here which is cool this is a binary file.o we have the header file anything in here not much God bless this is a pretty light program so you put all of them in comp files okay so here's your con big for the make what does that look like there's really not that much that's the origin file dwm binary binary utility hmm dwm.c is the meat of dwm all the functions are in there except for a few added one patches dwmc it's almost everything's in here where would the hotkeys be I wonder that's the question I have yeah still on Rocky haven't managed to break Rocky yet config.h is what most people are saying let's take a look we okay we set the tags here this is the workspaces one through ten we have rules for each one the spacing's a little wonky you got telegram telegram gross uh Kitty alacrity lutras that shows which Monitor and just some basic settings you can see what workspace or what tag it's going to put it on okay so you have the class which is the name of the program the instance which is usually null title of the window which is usually the title of the thingy or you could put null tags which is the workspace it's going to be is it going to be a floating window like has a lot of floating components so you can see that it's enabled is it a terminal which alacrity and kitty are and then no swallow well that's uh well then this is a G-rated stream um uh yeah I don't know what no swallow is or monitor that's kind of interesting swallow it or not I don't know oh man and Nick thanks for the sub okay don't know if Kitty Works lacrity will work okay [Laughter] swallow is awesome I agree I agree oh we're still talking about computers okay um gotcha [Laughter] all right uh moving on moving on so this kind of just sets the rules for for things that get launched and then we have our layouts tile null monocle first entry is tiling how do you switch between tiling and full screen is probably the first thing we need to know uh mod key mod 4 mask what is that do I not have oh you know what thanks Michael for the five gifted Subs man it's like what why is nothing showing up out there tiling and monocle okay mod 4 mask is the Windows key mod 2 mask is the ALT key it's good to know and then monocle I believe is full screen right and then to change between these layouts would be mod key and then the key equals The View mod key control toggles The View oh okay not full screen but focus on one window differences okay then we have mod key shift mask key for the tag so I imagine mod key shift and the tag would move a window to a specific workspace where mod key and the key would view that current tag right and if not I probably need to set it up different because I'm going to just be all over the place okay keys are refined at the bottom here so you have the keys we have the mod key open a terminal terminal is choosing higher in the file show hide panel is mod key xkb what the hell is xkb the b key I guess okay for bar uh J rotate programs over windows it's a mod key shift J so weird the syntax it's just funky it's all get out I gotta say definitely intimidating I would say from uh from going from bspwm to this is like oh okay that's okay we're gonna keep going I just need to modify some stuff but I don't want to modify too much because then it'll be me that breaks it yeah so the XK we can pretty much just ignore and it's really just mod key returns spawns a terminal window mod key B toggle bar it's just the syntax that's used so I'm trying to just wrap my brain around the syntax of dwm and this this file so this is changing vertical moving Windows around I don't really care about too much this the big things I really need is moving my my windows around switching to different um different workspaces and then quitting or killing applications uh what What's the kill command used as long as it's not like alt f4 or something stupid I will be okay I hate that so this is mod key shift C kills the client window gets removed I would prefer that to be a cue with no shift so just a mod Key Queue to quit the program I want to say that's what this is right here so kill the program would be the place with that with a Q um probably just something along these lines ah no all right something like that when shift queue to kill dwm when shift C to kill a program okay yeah so I changed windshift C to just win Q okay cool when C should not be available right now okay so I will just want to change that so now we can kill a program we can launch into our terminal you're gonna think I'm kind of weird but I don't like the traditional um mod key return to launch terminals kind of funky here I would prefer it to be modkey X so you just do Windows key and then X to spawn the terminal I need to switch my Vim config it's driving me crazy my tab button doesn't work um not kind of you are weird that's fair so now we have that so we can launch our terminal we can kill the terminal that's really all I care about as long as I can launch my terminal we're pretty good probably the other thing we should know before we launch into dwm is how in the hell are we going to spawn the D menu which is up here this is using mod key no no control shift d I hate that me not like so probably for this one I would probably do a mod key and then an R which probably is bound somewhere in here I kind of like that just from being a Windows user forever using the Windows key and then R to do a run command is a lot how my just brain Associates menus so I probably would do something like like mod key and then put this over here and then put it as an R and just to make sure do we have I'm not double binding something that's another thing I'm trying to keep out of doing so that'll spawn the D minu command which is what we use to launch programs yeah we could do rophie or Wolfie and instead of D menu but for now we're gonna just keep it simplistic we're gonna go full dwm full neck beard when C is double binded is it XK underscore C comma comma so we have uh oh you're using a chromium okay I don't like that binding I might change that to although that's fine I guess uh Ctrl shift mask B might change that no I don't see C being double bound I think we're okay uh gnome calculator do we have a calculator I don't even know if I've installed that cotatogram I wonder what that is you kind of spot Peak my interest with that uh we're gonna get rid of it I don't think we're gonna use that potato Graham what else we got what's dead beef I I've seen it so much and for some odd reason I'm just drawing a blank when I see dead beef for screenshot tool you're using SC rot I'll probably change that to uh flame shot that's my my go-to oh Dead beef's the music player that's right that's right and potato Graham is a fork of telegram which I don't use telegram at all so we'll probably wipe that out as well so we got this alacrity let's switch that to Kitty I mean it's really not that it it takes a little bit the syntax is a little bit strange coming from another window manager but once you get kind of used to it it's not not bad a lot of the window usage and rearranging them with the keys not too keen on but I'm going to leave it for now just to try and get a handle on that workflow um control mod one which mod one is the ALT key so Control Alt B will launch into Brave browser control shift mod 1B Brave incognito okay we have hotkey for suspend shut down now I wonder what this is right here the 0x ff56 you must have special keys bound on your keyboard to shut it down I bet those are function keys I do not have such a function key so probably for me I need to probably rebind these I mean I can just type them in the terminal it doesn't really matter that much uh let's get rid of dead beef I'm not going to use that uh probably need to rebind all of the screenshot I mean this uh we're not going to completely get lost here though run xev I've used XF in the past and then when you like need to know something like if you type a key it tells you what key you pressed so you can see right now what key am I pressing I'm using the S key as you can see so I've got like a special key and I want to know what it is XF is a good monitoring tool I've used it before but it's a good good one to have in your back pocket in case you're trying to bind a special code or find that type of thing for here it's cool it's very cool hexadecimal codes yeah tag Keys zero so what are the Tag Keys here are the keyboard keys for workspaces are defined if you don't have a num pad block you could for example replace these hexadecimal kits with like x k zero through nine take into account that in C language the first element in Array is index was zero so zero corresponds to workspace one etc etc very very cool oh yeah yeah I need to get that going so I don't have a num key on this keyboard so I will need to rebind these I like the idea that you what you're doing there though with the numpad so for this uh mod key shift Q quits the entire tag this one let's just fix this real fast pick some of the formatting um so for the tag keys I guess this has to be just hmm because before I was looking at this for the mod keys so probably mod key XK zero this one's being utilized for a view and a tag I wonder if I need to unbind this so typically what I'm thinking is you would have this right here um probably hmm let's just go visual with this one and then let's just do a substitute 0x dot star ah dot asterisk to a comma and then we're just going to replace that with uh with that um so let's just replace this with one two three right there was probably a better way of doing this I always think whenever I do a find and replace with hexade I'm like they're probably an easier way of doing this one but uh it works uh and there's this double bind I think we got to take care of like this right here I'm not sure what mod K zeros doing it says View and tag I kind of want to rebind these but no I probably shouldn't zero is probably not going to be used very much because it's all the way on the right side of the keyboard oh okay you can go with one instead of but it always starts at zero correct I mean I don't really need nine I six is fine for me uh uh you added zero okay the index of array starts with zero but we we don't necessarily need zero so we could do that and just have one through nine per se for the tag keys how is that being defined in the workspaces where is tags okay tags one two three four ah I see okay we're just gonna clear up the tag rules up here at the top one through nine that's fine that's it that's it that's the whole file doesn't look too bad so to switch to the switch my desktops around it will be one two three four five six seven eight nine um but for me I probably want mod Keys otherwise that's just not gonna work so I probably should add tag keys and do like a mod key comma X uh x k underscore one yeah just I'm just looking over it right now and I'm just double checking I'd like to I like to get this right on the first go probably not gonna happen but uh it's worth a shot so for this one let's let's just do another substitute we're going to just find x k like that we're going to replace it with Mod key comma XK like that I really like that would be fine yeah and we'll Recon recompile once this is done so it bakes all this into the dwm binary there is no config file per se because once you're done with this you just rebuild it and then it's all just hard coded into the file there's no active there's no live changing of a config because you'd have to relaunch dwm because you'd create a new binary and have to flush out whatever's in the memory that's probably one thing that you probably could knock dwm4 but I mean how often are you really going to be changing your config file once you get it set you don't really want it changing just my thought yeah it's all binary that's probably why it's so fast okay all right so all that looks good I don't see any complaints from chat I do think we're gonna have to change some more of this stuff obviously I'm not using like PC man a lot of these hotkeys I'm probably gonna get rid of but I don't want to change too much before we try to launch into it I really kind of want just the bare minimum just to see what it looks like because I'm curious I'm genuinely curious on this uh it says right now with xk1 you are open workspaces two workspaces one is counted as zero so this technically should be 0 1 2 3 so something like that based on what you're you're saying okay and if we look up here at the tags let's make a sure so the tags here show one through nine in this array but that's just what it's showing for the label of this thing so a tag zero is actually one tag one is actually two because it's this is an array all right that makes sense and then we have this down here okay nice I like it um do we have any errors I don't really see anything bad in here there's a couple red marks here I'm still not understanding the layouts 100 how am I gonna change the layouts from like tiling to full screen really all that's all you use or monocle it just shows a focus of that window does that mean it brings the window into Focus that's something I kind of have to play around with as far as the hotkeys go on that um I probably would how are we going to change that layout let's just take a look at layout layouts are not really referenced layout set layout is with Mod Key T sets uh layout zero mod key F sets it as one mod key oh T tile mod key F probably full screen and then mod key M's monocle only shows the selected window on that workspace okay okay so my key one would be full screen probably I'm not sure what F does we'll play with it but I just kind of want to know those mod Keys before I do this is once we do it it's going to be hard to reference it but we'll have we'll be able to come back to this file so once this is done we just go sudo make install and I broke it already [Laughter] make okay well what did I do uh uh it's not like in my tags oh man all right it doesn't like that that's a warning that doesn't matter macro tag Keys press passes three arguments but only takes two oh so you can't do mod Keys like I did here hmm okay everything else is a warning so it's just those that mod keys I screwed up interesting kind of digging it you know so far so we'll fix this how am I gonna hmm I'm not understanding that which I probably need to uh so it doesn't like mod key that which is fine I guess but uh how am I gonna switch my tags like I don't want to press one I'm going to be pressing one and two and crap all the time there's gonna be something with tags right so you got tag keys tag bar okay is there like to view a certain tag I I want to be able to yeah okay to view a certain tag it is mod key so I just missed this under the definition so it is mod key and then one to view it and then to toggle The View mod key control and then the tag key and then to move the this is yeah this is something I'm still wrapping my brain around so was that incorrect when I was doing it said it only accepted two arguments for the tag keys actually it's just tag keys and then that asterisks yeah I mean either way I kind of understand it it's just I'm not sure like what's the difference between view toggle view tag and toggle tag that's what I'm sitting here going okay we know what each key is we've specified each tag key with each workspace down here with the letter one or the number one on your keyboard at the top specify that as tag key zero in the array okay it'll become clear later let's just do it all right so we got a couple warnings but it looks like just comments and crap that doesn't matter no errors this time so that is good so now um let's just exit we'll just close out of all that oh was there anything else I needed to know I guess we'll figure it out alrighty so let's come into like workspace two or workspace three all right and what we're gonna do here we're in tty2 we're going to do a b killed bspwm okay so that killed that now let's switch this over into a dwm session log in sweet I I guess we're in hmm okay that does work kinda okay let's kind of working it's weird okay um okay we got our opacity I I sourced my accented RC I don't think it got re-run when I killed the bspwm session so that's why I I sourced that just then um yeah panel is off by default oh okay so if we do windows oh boy that's big that is that is very large wait so the panel is hidden by default oh that is weird I kind of like it so it's very simple Okay so uh-huh all right so what we're gonna do now is we're gonna move that dwm in a little bit more of a accessible dwm setup dwm tutorial dwm 6.24 and then we're going to move that to just dwm so why I did this was I want this readily accessible in my home dwm folder and now let's come back into our config there's obviously some changes I want to make the first one being I want that bar on all the time for starting out because I need it for now well I do like a big panel hmm okay well let's see so we have panel let's see where panel is in this thing so we have toggle bar right here that's how I'm toggling the bar okay so where is the toggle bar on Startup in here lock full screen equals one resize hit one where do you define constant variables in a C file I don't know I took C like 20 years ago it was actually 25 years ago but that's okay I mean wouldn't it be up at the top where you define the variables border pixels and windows we could add a little border you got snapping pixel swallow floating systrate pinning ones this tray on left show show bar zero well put that as one okay that's easy zero means Bottom bar top bar these colors gotta go I gotta say right now I think this is when we start customizing a little bit so far though like let's say I want to push this to workspace too ah see that just works so good okay so we got all that fixed or figured out we've got Shell Bar I like it feel like it's a little too big though and I kind of like meslow font more than jet brains I know I know but I feel like uh that would be pretty good what am I using for D menu oh it was it was a mod keyr okay so if I want to like do Brave oh nope so D menu do I not know how to work demon you does that not work I don't think that works my spawning of the D menu command open D menu by default uh that is not working is there another one no there's not another r unless there's like some default command for that so obviously or it says dwm 6.4 I kind of want to get rid of that too um so you get column one blah blah blah column two this is color of the title part of the panel that's kind of like where we would grab x no word probably what do we have for X Nord probably want to do thinking like a a lighter X Nord probably like a probably something in this range give us a little bit better bar let's not get the purple going on I'm not a big fan of purple so then for the reload command we probably need to set a Reload command because we're going to be changing the file so much and I'd much rather just kind of bind it to kill bspwm rebuild it and then launch it again would be the next thing and then for this I kind of want to change this to be like uh mod oh man undo oh redo what did I do Where'd I go all right here we go let's just kill that I'm just gonna call this mod key um I like to switch this to e for Explorer it's the hotkey for Windows to launch Windows Explorer as well and then I use Theon r instead of PC man FM I don't use Firebox or Thunderbird or notepad QQ or a PDF view or a chromium all right what's wrong with purple I'm on Twitch I should watch myself I don't use either webmail I know I know you just cringed pretty hard when I said it but that's okay so let's take a look at the the title bar how do we remove um I was just using that to kind of redo that let's see if we can't make a the D minu run command I don't think is working for us because I don't think I installed D menu or does d minu come installed with dwm feel like you have to install D minu separately right yeah demon is not working because it's not installed and I don't think this is going to be in Rocky oh no look at that generic menu for it is how about that you know it's not often Rocky actually has a package I was looking for uh Dominion D menu all right nice um so now I bet ah yeah yeah that worked so then if I want to launch something I do it kind of dig it I kind of like it I don't know it's very simple that is the noob way of doing it if you want to patch it yeah yeah better compile D menu from Source then you patch it later [Laughter] have Fair that's the cool thing about a lot of this stuff we're doing today is you can do this on literally any Linux install because it doesn't matter if the package is there because you really shouldn't be installing it from a package manager almost everything should be built from Source uh so that's the beauty of suckless stuff because you just literally it's so small and it just does one thing so you just download the source and make install and you're good to go St terminals fast too yeah best way to do it I mean it's it's literally a bulletproof way of doing things much like a lot of Linux folks are like hey terminal is awesome because it just always works the same way instead of like explaining where to click on a certain menu or whatever you're doing you don't have to worry about any of that cool very very cool um and kitty just worked right out of the box too so oh man that is so neat almost everything works exactly as I like it too Peter just knows me so well when he made this I think he just is like here's all the hotkeys he wants or or your brain just works like mine I don't know because almost everything here is like really good just a couple little little things like switching out like uh scrot um sounds like a bad word with like flame shot um I do need to rebind like my shutdown reboot commands but I like this a lot better than what I was using um getting rid of dwm up here is the next thing let's see if we can't figure that out what the hell is swallow I gotta figure that out too yeah Luke Smith always he did a bunch of uh dwm stuff I don't know if he's been doing stuff lately I kind of stopped following me kept making weird Rants and I'm like all right who do you Luke open alacrity then open Genie or MPV or whatever try it you will see swallow in action but Kitty doesn't swallow where alacrity does do I have anything let's see do I have anything over here no oh actually you know that oh no does it have to be a video or can I use a uh like a PNG or something oh in this launch bar okay I got you an image should work too all right I think I saw an image in my downloads new desk okay um how are we gonna display the image what's a think I'm using oh dang it I don't even know what I'm using what am I using hey okay so Faye new desk I don't understand what's happening ah okay there's the new desk um what is it Kitty does not swallow try alacrity all right all right is that it even in my package demand and probably not I I don't even think Kitty was in there yeah alacrity is nap there maybe we go full suckless and just go with uh X what's the what's the suckless terminal someone SD do people like St or you guys all alacrity fanboys uh control should be s t s t uh terminate oh man I remember using Terminator St look at that we got lots of St a lot I don't know Peter a lot of chats saying St but uh we'll try alacrity um let's do it the The Lazy way because you all know me I'm all about that lazy way uh uh let's go Nick's cute a alacrity I think it should just be Nick's EV dash dot i a Nick's packages yeah yeah ah man I I just the more I use NYX I'm just like I love this thing it's just so stinking amazing like you you would never think to do this stuff on like a rocky Linux server install but it's just all like right there it just works and it's awesome um so alacrity did that work uh uh fail to find suitable GL configuration event Loop terminated with code one say what I mean uh [Music] yeah I agree though like even on Arch Linux user using NYX makes more sense because you you really just can't you you really just can't break your system using NYX it's idiot proof signed off by King idiot right here you because you have all generations like even if you do manage to like install a bad package and in the back that package like messes things up somehow you can just roll back a generation it's it's really cool it's really cool okay let's get the window information um let's see what window is this uh it looks like just zero are we looking for the hex code zero two four zero zero one oh X prop not x uh X prop or X prop exclamation No next problem okay okay Windows State normal icon name Bash class is Kitty we just need the class right class Maybe no should be class should be enough okay we'll just try class and then null for everything else so let's go back into our dwm we've made some changes we're about to relaunch as far as uh Auto relaunching and like I want to make a script to Auto Rebuild shutdown dwm and relaunch it that's probably next on The Hit List uh what is that oh I have it up over here my bad uh Kitty let's just replace that with the lowercase k rap oh what was the title was there a title or do I put null State normal blah blah blah name window names Bash icon class is kitty kitty I think I'd be fine kitty kitty class instance title oh no for tunnel okay so we'll do null for the title like it sudo make install all right that looks good so then we just need to relaunch what's the easiest way to relaunch uh dwm is it just oh well what I do ah I don't like this I don't like this way of relaunching it hmm nah much more bland I like it that's more my speed um it's not really doing it's not pulling in my x-ended RC so I don't think this is getting run or not run properly huh I think we put this in X profile maybe let's just yank this let's go X profile wait do I not have an X profile no don't I don't have an X profile oh exit and RC is only for TTY that's right capital x profile all right I like that so what we'll do this time it's obviously a little bit modified um we got uh system analyze startup that's a cool one system D analyze is cool tool if nobody in chats used it it's definitely worth a worth a go uh oh that looks pretty good to me uh let's fix some of this uh ah is that a bash or is it an sh or does it matter I don't think it matters does it yeah it doesn't really matter um yeah I think it is capitalized the X has to be capitalized for profile because I think it's capital x for like a lot of the other because it's not just X profile it's like X Authority X resources all those things get uh run when X starts up on the user user land portion so once you get out of TTY that's when it gets launched Let's uh let's just kill this again and we'll relaunch I want to make sure that script's taken off and and everything's getting launched properly so we're logging in and now hmm did not it did not why why why did this not we could use startax yeah definitely a problem with x-provum sitting here thinking thinking why X profile hmm okay let's try and get rid of the I agree with that could be bash this uh invoking bash right there um let's see let's try it again no I don't think that worked all right thinking best way to do this let's see just use start X figure it out later possibly let's see I want to just take a minute just to feel I would really prefer the X profile methodology of it this one says to make it executable the file is sourced so that's why you probably wouldn't do it that way or you could possibly just do a DOT profile it's another idea might be a typing error might be a lowercase x here let's just look at the X uh X wiki X profile Arch Wiki to the rescue I see Earth Wiki always gives me the right answer that's why I love it is a lowercase x the X profile and Etc X pro and you know I've never used etcx profile it's interesting allows you to actually commands at the beginning of an X User session before the window manager started X profile file similar to X in it RC I'd be like that's the best way so just changing the file name how do they look configuration see X profile does not use the Declaration of Bin bash or sh so you would the proper format would be the dot X profile all over case actually so we just move X profile into a DOT X profile something like that should yield us the the what we want and let's just cat X profile because what's going to happen is the system is just going to Source it so you don't really want to declare anything at the top it should just be run this line run this line run this line run this line exit and that is what the magic happens so we'll kill the session again then I probably want to design some kind of relaunch recompile relaunch without having to use this although the display manager might be non-negotiable hmm yeah I don't think it still didn't run it let's just reboot and see it's been a while since we Rebooted so technically this probably should just boot right onto dwm's desktop run the X profile properly I mean it didn't but let's see what the proper way according to this would be auto start patch oh that's a cool little patch let's try to patch something so you can apply patches run auto start blocking and dwm auto start before entering a Handler Loop accidents for TTY though and technically we probably shouldn't do it that way it's it it the idea here is to find the best way of doing it not to just make it work like that's the problem I have with a lot of Linux stuff especially Linux guide a lot of times find people find like one way of making it work and it's just not a very good way and that's that's what I I want I want it to be proper you know just tossing something probably even on an X profile is not probably the way you should do this that's why I'm kind of like I kind of want to patch it with an auto start see this little patch will make dwm run dot dwm auto start blocking and auto start.sh before entering a handle Loop one of these files blah blah beware and not start up as long as running and will stay completely unresponsive okay that's funny yeah let's patch it I'm just I I was like hey let's let's just do it so this is the diff file let's see how hard it is to patch uh dwm kinda wanted to what the hell's going on with this okay that's just weird My background's All Jacked um let's just Source X profile real fast kind of like out on that all right we have our auto start over here and then we have this one right here dwm W get so we're going to grab the auto start patch we're going to patch the patch just manual patching so this isn't interesting just reading chat right now back it up first okay I like it I like it all right let's first copy our config oh wait wait this is where is this going put it in the D1 where's the patches let's take a look at these patches so it's adding a new library this is going into dwmc oh man I mean it doesn't look like that big of a patch all right just for you guys I will do a patch or a backup okay are you happy now so we've done that now how do you apply a diff file um it's kind of what I want to look at use the patch command I've never used the patch command so run command patch Dash P1 wow don't do it Peter says patch Dash P1 and then you put that into dwm auto start right like that you run the patch on seven patches later it's the patch of the patch of the patch it's the Inception of patches see look great oh no hunk three failed at two three seven oh no so what happens if we do like a pseudo make install ah should I do that [Laughter] I'm just messing with you it won't compile um because the patch failed ah well I don't want like super customized dwm do I feel like I think we I think I went too far off the reservation here um okay so we we checked the rejects I mean this is kind of cool I'm kind of digging it let's just go dwm dot C dot reject so it's saying static constant Char auto start we can't add those well that should be pretty easy to add right okay I mean that's just kind of a neat way of looking at it all right fine I'll just restore from backup so then you manually patch it I mean this seems kind of tedious to me like what what patches were done to dwm that I couldn't just why wouldn't I just use the stock default dwm's what I'm wondering with this patch and just do the patches myself like what patches have already been applied okay okay let's do a manual patch just so we know what it is so you have your dwm auto start diff blah blah that's just uh comments I don't really care about and then sh files the file containing programs to be started along with DDM or searched in the following directories data home forward slash dwm to oh xdg data home that might actually be a problem because that's where my files are located right now that should be fine we'll see uh the first existing directory is scan for any auto start files below autostar.sh or auto start underscore that okay okay so let's just start patching this right so the first patch is going to be in dwmc so dwmc all right and then if we go here we're going to take systat is there a better way to do a manual patch here this feels a feels a little tedious um all right static void run auto start static void auto start wait where's that at this is line 194. oh what's the go-to command go to lined is it 194 yeah sweet let me just paste that bad boy in there okay and then we go down to here this is going to be line two three seven so let's just go visual mode here we're gonna look for broken we're gonna yank that so two three seven two three seven where's broken what static cons Char broken static con TR did oh are we in the wrong file no no we're we're fine 237 static int X error start X error start ah there we go all right look at the surrounding code and then search on that code I agree okay that's fine so we're gonna just toss that in here easy right bam variable's broken oh oops so there's our broken we're just gonna take out these guys bam all right done all right next in the patch we've got a line 1380. we're going to be looking for Ev DOT type oh this looks like that looks like a lot yank this this does seem a little excessive I'm just saying oh what is this uh uh 1380 ish 1380ish EV type now there's a lot of xev types oh so we go 13 80ish do we have it over here dang where is that Handler EV call hand okay it's got to be right after this Handler call so we're gonna just have to check this out call Handler let's see okay there it is oh way off okay I can see why it failed 17 okay so technically we just come into here paste that bad boy in yeah yeah yeah perfection Perfection um let's just take a peek we're gonna just change that uh find that plus sign and just wipe that out for me thanks oh it's painful to watch yeah we're almost to the end of the file though look we're just gonna go open BSD and then I think right before the Run command we're already done oh see that wasn't too bad that wasn't too bad right so we just paste uh oops see perfect you're worried uh oh X close display dpy I wonder why that's in red yeah I don't see a minus sign so it should be fine alrighty so this is a manual patch this does look like all just comments which I don't think we really need right all right let's let's see what we got uh so we'll just go see let's just do a make error uh string length not found line seven eight four gives us a little bit of an error I wonder what that's uh airing out on s-t-r-l-e-n that's a part of the code I did see that in the Vim so if we look at the dwmc we go Str length right here you can see it Str Ln and Str Ln so in the patch itself this is bad syntax why I feel like there should have been a comma there maybe oh dwm.1's man page Source okay thinking about moving to hyperland have you tested it with any games proton wine yeah it works for all the games and stuff it's just still a little bit green it's still a little bit new so you're gonna run into other problems it's kind of why I'm kind of messing around this older stuff mainly just because it may be old but it works there's something to be said for that I feel like that would be the solution just looking at this I'm like wouldn't it's like they missed the commas or something right like I feel like uh maybe maybe the patch was just designed weirdly I don't know let's just make it look pretty I guess was it that's the only two errors I had I thought had another error we'll just keep adding commas until it's fixed what's the worst could happen when you copy lines be careful remove all those pluses common mistake oh oh that's what I did uh oh that's what I did yeah oh I'm a big dummy that's totally what I did all right let's look string length I bet there's a plus yeah I'm such an idiot that's totally what happened that that's a good little good little uh trial and error there okay let's substitute out beginning of line beginning of line plus so it only is pulling in that and then replacing it with nothing and then you should see it left the pluses oh that's so stupid I'm an idiot love it love it okay that was totally it let's do a make again okay that worked alrighty beautiful so now that we've done that let's uh look at that patch I should have probably read the patch a little bit better but where where is that dwm patches dwm patch patches how many patches have been applied I wonder probably quite a few set of seven patches is what you've done so far so look up directories in dwm in the home directory which is currently where I'm actually patching all this stuff right now so if you look at this this patch will make dwm run blop and blob before entering a Handler Loop both one or both of these files can be omitted be aware of dwmit will not start if blah blah blah blah all right great so let's just move X profile and then we're going to move it into that make directory dwm move it Vim dwm auto start we're going to need to add that header real fast because it will not know what to do uh probably need to make sure it's executable as well ah okay so now we have that if we cat the auto start it's going to do all these things make it look all pretty and so boom here we go so installing DW and the following attaches have been applied rotate stack attach side per tag systray move stack resize Corner swallow and CF fax or C facts those are the patches of which I remember and I added auto start it's kind of cool though ah Pope still didn't auto start all right yeah we can go TTY so maybe it's just gdm messing with me well that works permission denied scripts panel filtering picom was giving me some bugs I'll replace that it is working so if we look we'll go into Vim dwm uh actually let's first look at panel filling under Scripts I bet you it's like rude or some crap ah chmod plus X panel filling it's gonna need that cat panel filling do while oh um that's probably I feel like panel filling should have something else right and I guess we could set that I don't know I feel like that's wrong in some form or fashion but we'll see we'll see yeah and then let's go into dwm auto start and what we're going to do here let's just kill your picom config and use the pi config I've used forever and then quit kill it now let's do start X again okay like it Ctrl alt B lek'd suck up some of that memory Brave okay I like it we got our auto start everything is looking pretty got everything pretty much configured the way I want yeah you don't even need to indeed bash it's interesting I wouldn't think that would work yeah I forgot to make it executable on the The Script so using start X this does work and you can see that the the start ax is working because uh we don't have X profile anymore I got rid of X profile and moved it so auto start is working it's just gdm's launch of dwm and how it injects it as a little funky so you know I started this stream by saying less is more so let's just do Purge gdm or actually let's not Purge it we don't need to get rid of it look what we're going to do is just a system CTL disable gdm and then we're gonna make our DOT X in it RC with uh delete to the end and then what we're going to do here is just start X I feel like that would be sufficient um I don't think that's going to quite get us exactly there because we're currently going into a a graphical boot so we probably would also need to change our system uh probably system CTL set default and I would probably set this to um I want to say default Target right or is it getting now it's not Getty right now it's on graphical multi-user Target I think is the correct terminology here multi-user Target okay control Windows workspace key oh interesting ah I kind of like that that's a neat neat little tool there's a lot of little patches here I dig it so we got that hmm now I'm not sure if that start X is gonna issue Windows X init RC get run we're just going to go X inert RC Arch Linux because they have a great Wiki I can't emphasize that enough is it run on Startup or do you need okay handy program to run blah blah blah X in it usage I feel like there's a we need an auto login X at startup okay start X is properly configured we already used that yeah I don't really want to do it through a bash profile it seems a little Jank I think we can just do X in it and then a start X at the end of the X init session if not we could always just execute dwm you can have StarTex run yeah I don't really like this way of doing it what do you all think about switching the greeter to like a greet d or greeter D greet these kind of an interesting it's like a systemd service that just it's Bare Bones but I kind of dig the way we can just push it right in without doing the whole X in it or any of that business so then you enable login because I don't really want to log in if someone gets in my studio they're gonna them getting on my computer is the last thing I'm worried about let's just say that so I'm moving a pretty secure location um greet D doesn't work with xorg really it's pretty Bare Bones man yeah I'm sure most of my neighbors have a Arsenal I'm sure this is Texas in America that's like you guys do know that there's literally three guns per every person in America there's literally almost a billion guns in circulation just in America privately owned that doesn't include our military that is a redonkulous amount um let's see I think using greet D might be a good solution here guys yeah upper middle class text that's pretty accurate the hat and boots too yeah of course gotta have some kickers [Laughter] uh all right I think for this I really like the Greet D solution we're gonna try it I don't know if it'll work with dwm but I feel like it would um or let's let's see Getty Auto login Getty Auto login is kind of an interesting way we could go about this as well I'm not a huge fan of modifying it but I'm worried about using another greeter but modifying Getty's kind of oh it's just a little bit too Jank for me okay we could do an auto login service I kind of like that method a little bit better yeah with the Let's do an auto login service I feel like that's the way to go um [Music] so under X start we have this right here we're going to just change this guy up this is going to be a Getty pretty much all of that is gonna be gone so we're going to go Dash a Titus percent sign I uh three eight four zero zero and that should be good and then just a pseudo Damon reload actually that's incorrect it's just a CTL Damon reload and I don't think that will work system CTL start Getty yeah if you want to start he can do a bash profile now yeah I think you have to link the auto log in to Getty tty1 there I mean this is a this is still a little janky but not too bad yeah um I don't think we're gonna need to remove this start X inside of it because technically all this is all this is doing is auto logging into the TTY which should then run the X in it RC which then does start X so we shouldn't need to do anything other than those things yeah in in a perfect world we'll see system Getty and you can see the Getty tty1 service right now is associated with that one we can remove that Sim link or let's just move Getty ttyl1 service to Getty we'll just call this old Getty so now we have old Getty and now we're gonna do a Sim link uh I think we can just do Etc system D system Auto login and then we just do the Getty service which is this guy right here bam so now we have these two services um old Getty I don't think should be really messed with but I kind of want to have something for setting it back to stock defaults if the this kind of craps out on me uh pinned a auto log in to the line or you could directly modify tty1 service yeah that's that should work let's reboot see what we get um I'm kind of curious worst case it doesn't boot uh Wayland I don't really I'll probably eventually switch to Weyland but I just really need like Synergy and other things for kind of what I do with multi multi-boxing and those types of things you could do like wanergy and other things but it's just not gonna quite give me exactly what I want okay not exactly what I wanted here we did tty2 huh that's interesting I think we probably just do a CH mod 755. Auto login should fix hmm okay um you have another reboot maybe maybe it wouldn't uh runnable yeah it could be referencing that old Getty Service as well fine I didn't really want to do it this way but we're doing it this way all right we're getting rid of that now let's go into our Getty directory um ah shoot where is that at I think it was uh USR no dang it can't remember uh man oh actually I think that's gonna reference let's go USR I'm pretty sure it was in USR was it Getty no oh man why am I forgetting where I edited that file was it in CIS um unfortunate unfortunate where is my ah heck with it okay no I didn't remove startx from X in it uh right now I can't remember where in the world let's just look at our history all right let's just go history where was that oh user lib that's where it was like come on Chris work brain and if we look at history is under system user lib system D system and then the Getty service user leave system and then we have the Getty service in here which I change CD Getty crap Getty all right so we have Getty Target Getty service give me an all listing of that hmm what else did I do having a brain fart here I'm like what did I do on that linking yeah moved Getty getty.target once from Etc system service too old okay that's really where I did it I was I was right there and what I'm gonna do here is just take this and say old so that's just going to be a backup of the Getty and then Vim Getty tty1 service and let's just ah I don't know yeah dwm blocks or something yeah that'd be cool yeah eight Getty's not the most intuitive thing I've gotta say like I believe that it should just be well one Let's uh let's just not do it that way actually what we should do before I get punching around in here and destroy my system let's just say that leave it there so we have a reference point and then I mean I think what this should look like is an auto log in your thing percent I and then like term and I feel like that should Auto log in as Titus it really should be that simple but let's find out yeah I mean I'm getting around in dwm it's really an interesting Window Manager I can see like especially if I was like a c programmer I I mean it would be like just a dream come true uh it's been a long time since I've done C like regular C I've done C sharp and stuff but not regular C in a while and uh it's a bit foreign to me for sure oh the woodworking project turned out great HGH I'm on the new desk right now it still smells with all the polyurethane I did so I'm getting a little bit high as I sit here but uh other than that it's actually pretty nice so I really dig it all right Auto login did work but the X in it RC system this did not so it didn't like this hmm and we've got like a lot of empty lines here let's clean this up a little bit I don't think really need almost any of this I could probably just delete all of it and just do start X um uh one problem we're having CH mod dot X in it RC I think that has to does it have to be executable I can't remember show mod yeah polyurethane's really nice finish though like it feels amazing and I sanded it afterwards oh it's a great desk I love this personalized desk and um yeah so good did this not work I did a start X what if we just do like execute dwm what am I broken um yeah replace start x with uh dwm I think just doing like xq dwm like that let's reboot and see what it looks like now that looks more maybe maybe promising no no we've got the auto login down it's just not oh it's not wanting to run dwm at all or start X all right let's remove X in it what else we got here no no no no no why is this having such problems Yeah Yeah well yeah the thing is how the hell am I going to get back into dwm I have an auto log in here start X is no longer working and I can't execute dwm so I go start X I get nothing wait what no son of a biscuit eater okay well hey all right let's just log out of that okay launch gnome of all things okay why I don't know yeah that was like the old awesome thing but it was actually a gnome spin using material shell it's kind of cool um what's the configuration for startx like here we can we'll just load this up real fast um let's go configure start X Arch start X okay start X blah blah blah blows a sample X in it RC script assuming the window manager has been configured properly uh-huh what are all these uh X console and geometries that's kind of an interesting interesting thing isn't that okay yeah accented RC is what it uses so I I'm just wondering what these like that's an interesting like I kind of want to just take this copy it and uh just do that the default twm for X11 yeah I know I switched to dwm so no worries there kind of an interesting interesting tidbit though I feel like it will work although with stardex did I do the dot X correctly I didn't I thought I created the excellent file but apparently I did not did I oh my gosh I'm such an idiot I did uh vim.startex uh start X to dot X in it is it X in an RC or just X in it I think it's just dot X in it isn't it or is it X in it or C I think it's Saxon and RC yeah this is what it shows for xnnrc okay so that should be an easy fix move X in it to X in it RC Bim dot X in itrc let's make sure it looks right all right that looks correct and then if we reboot yeah yeah it was an old config from like a year ago I haven't deleted my home directory in a long time so there's a lot of old projects and configurations from all kinds of different uh iterations I've had for my desktop yeah I mean Peter I think for regular folks it's just I yeah I don't know the barrier of Entry I think is too great for dwm for normal people to be honest I I mean I like it and I could even see myself using it once I figure all this out I don't I don't even know why the hell it's not launching right now but the barrier of Entry is is too great for a normie I I just yeah I could never see normal people using dwm yeah regular people don't change hotkeys that's true um I just don't know why I am having so many like when I do start X it should La okay well it launched that time but it didn't launch my damn auto didn't oh God bless foreign I really like this it's simple it's plain it works I'm just not satisfied with the implementation of it on my system here I know I could do a better job yeah hmm I'm just trying to think of the best way to approach this yeah I'll figure out that auto login thing later I don't want to be sitting here pounding around for like two hours be like let me get this what the hell start X is not recognizing it I think inevitably I'll just use a display manager with an auto login that properly executes dwm in the script I actually now that I'm thinking about it I think what I probably will do is since the auto start patch isn't working I kind of want to wipe out dwm and start from scratch again and work with the patches now that I see kind of what Peter did with his because he added a bunch of patches that works for him but for me I'd much rather be closer to the stock dwm and just add a couple of the patches that I really like I think I'm gonna stay on Peter's iteration of it right now and then strip it back down to stock see how it looks and then you probably need to do it a couple times really to get it into a a state and then maybe use like dwm blocks and kind of pimp it out a little bit but uh overall dwm a very solid choice and I can see why people use it it just right now I I'm just wanting to change a little bit much with it I probably will switch to like light DM and then use probably an x-org startup script in light DM a display startup script I think and then I'll just issue that to run the auto start and then re-do the dwm with just the patches I like I really appreciate it thank you Peter by the way for making this to kind of see some of the coolness of dwm but now I kind of want to tear it apart and see how minimal I can get it without zero Patches from from sockless and then just patch a few things now that I understand how the patches work and kind of where it can go it's like okay let's see what else we can do but I really like this right here just just being able to launch it into everything I want is uh is sweet it's really good it's really good yeah I think looking up what every patch was I really like the appreciation that everyone was worried about patching using uh the patch command I thought that was kind of a neat thing using the patch command having it fail and not patched properly but it's something that I've never actually used from Linux terminal I've never done a patch on a c program like that I think that's cool uh learning learning that and uh just kind of messing around with this was was quite fun and uh having having it set up yeah dwm Titus script Auto setup your your dwm setup I am just thinking of easier ways to do it for normies I think the best thing too there's just kind of like recap some of the things that we need to fix still doing the auto login I prefer just to have it go through probably doing light DM would probably be the solution I'm gonna go with with uh using a startup script in the display script portion of light DM they make it really easy so it makes sense for me you could also use sddm it's syntax is a little easier too so either display manager for the launch creating my own script to kill dwm recompile it and then relaunch it uh would be a secondary want and then third minimize what patches are being used right now probably start from scratch again but have this to refer back to of of hey this is what how this looked and how these hotkeys were set up but have a more minimal configuration with just what I like the tools I like to use and the hotkeys I like to use and then probably the fourth one to cap it out is the actual rice because this is this is pretty damp stock this is this is pretty close to what it looks stock just a couple changes the color I like Grays so obviously Nordic theme and a lot of the the Grays you see here I probably would add a little bit more of a Nordic spin on it but uh just from a static standpoint I do enjoy this layout a lot better though and I probably would take it from a 20 point font at the top down to about probably like a 16 point font 20 is probably a little excessive but I do enjoy the minimal nature and in the suckless design is always good so this honestly ended up probably about as good as you can possibly get for initial run at dwm and understanding it hopefully this this stream helps others I'll put it up on the Titus Tech talk Channel as well if you guys need to refer back to it for anything I don't try to time stamp it as well which would be great too uh obviously the biggest patch like Peter said in chat is the CIS tray patch so important the tag feature learning it uh there's so many cool things about the patch feature that is needed uh that that you go through um but yeah yeah I think that's the big thing I I think for relaunching dwm2 there's certain exterior programs I've compiled it before when I was uh on a Raspberry Pi and I need to kill the current desktop session and relaunch emulation station uh I think I was using I was a ux something something plug-in I'll look it up it's in my I think it's in my gists in GitHub uh to do that type of script so it's not an entirely trivial script but I don't think it's going to be very difficult either I think we'll get it might take like an hour or two yeah oh icon scaling is the reason why I choose 20. that's probably a good reason yeah I like it yeah and then learning swallow I think uh really appreciating the swallow aspect in like Alex I hadn't even seen it yet yeah so that'll be interesting uh to kind of Tinker around a little bit more so yeah very neat very neat uh iteration where a lot better than my first run at D yeah I think I look even looked at DW and I'm like I just ain't got time for this and I I went off it the first time I looked at it and now that I've looked at it a little more I'm like I kind of dig it I really I really like the design philosophy behind a lot of the secless tools I'm almost tempted to kick Kitty to the curb as well and use St is uh no flares kind of thing but I feel like there's been times where Kitty and alacrity they use GPU acceleration and some other stuff and a lot of times it's just too much like on a pie for instance it I know both of them I think rely on like opengl 3.3 or something and they have issues where I think St probably wouldn't so getting more to a more minimal state is probably my first priority with the next run at this yeah dump kitty go with st I think that's probably what I'll probably end up doing [Laughter] true words have never been spoken um tari uh yeah me uh yeah whenever I say it takes an hour to here comes a month [Laughter] yeah I I still like kitty Kitty's been my favorite terminal for a long time now and it's always worked for the most part with some uh with some opengl shenanigans that have happened but yeah all right well sweet me and my wife are heading off we're going to get uh some kind of infrastructure scan or some stuff at the church so if we go to like a bus and they they scan all your organs and stuff and I'm like okay [Laughter] oh my gosh Prime you literally rated as I was literally about to shut off oh dude hahaha yeah dude I literally it was about to stop streaming I oh man no no oh re-raid all right Prime somebody from Prime's chat I got a rating somewhere else it's gonna be a it's the chain raid where are we sending all these people we were on dwm it was a dwm setup day it was a blast we had a great time uh we got all of it done but but you guys were a little bit late sorry get Boga okay oh geez that is so hilarious oh was it kit Boga probably should pull it up just to make sure I don't have it rated anybody in a bit but I feel terrible prime prime was like literally rated right as I was shutting down oh that's hilarious let's do it but I appreciate the thing we've set up dwm today from all the prime viewers it's been a lot of fun yeah I can't believe we got as far as we did but hey it was a lot of fun send us to some pool channel oh my gosh that would be so great I sent you the some hot tub channel that would be awesome uh all right y'all well thank you prime for all of the raid for a short second but I'm out of here guys on to the next one have fun on kids channel hopefully he's messing around with somebody and uh getting making those scammers pay I love kit Boga so peaceaw
Info
Channel: Titus Tech Talk
Views: 5,319
Rating: undefined out of 5
Keywords:
Id: JXVle0nyA-o
Channel Id: undefined
Length: 115min 18sec (6918 seconds)
Published: Wed Jun 07 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.