what's up guys so one of my viewers was
asking me about the status bar that I
have up here on the DWM video because I
mentioned briefly that when you install
dwm and of course you would have noticed
this too if you installed DWM that you
get the window manager so you get this
part here where the actual window is
contained inside of you get all of these
different tags up here and you get this
description that just tells you what's
open and you know whatever webpage
you're on or whatever document you're
opening but you don't get this over here
when you install DWM this spot over here
is blank or it might just say the
current version of DWM that you're using
that's because this part here where I
have my date and my RAM percentage in my
CPU and my volume this is actually a
separate program called SLE status
it's another suck less utility I like it
a lot obviously so I'm going to show you
guys how to install this on your system
so go to so close org and then you want
to click on Tools and then you'll find
it over here SLE status and then you can
just run this git clone in your terminal
of course make sure that you switch to
whatever directory you want to clone it
in to personally I like to keep things
inside of a config directory
and we'll head over to my actual
implementation of SL status and take a
look at it
so actually quit out of this file real
quick so this is the SL status folder
and the only thing to really change in
here like most of these suppli saps is
your config dot h that's how we're going
to change how everything looks so we'll
them into that
and the great thing about SL status is
the config dot H basically tells you
everything that you need to know to edit
SL status in the first place so this is
definitely the easiest to use suck less
utility on their entire website so you
can see here how to format if you're
using battery percentages how to format
CPU percentage which is something that
I'm using date/time which is another one
that I'm using let's see I don't use the
ipv4 addresses sometimes I turn that on
and off I just don't like it on when I'm
doing videos because it's distracting
but anytime that I actually need my IP
address for something I'll configure it
so I don't have to keep doing an if
config to see what it is and then yeah
Ram settings which I have as well so
down here is the actual implementation
of it inside of this struct here so when
we want to do something like this here
the volume percentage so you have to
specify what is being used to change the
volume so I have this here a mixer set g
master so this lets me not only display
what the volume percentage is but this
actually lets me change the volume
percentage as well so if you take a look
at it up here i've got it at 48 percent
but then if I do my volume up key you
can see that it steadily changes
so that's um that's the most complicated
thing that I have in this entire SL
status as you could save so like the CPU
percentage all I do is display this icon
and of course you're using the CPU perc
command just like it tells you to do up
there in the comments and I have this
little icon here this icon actually
comes from a font pack called font
awesome so if you want to be able to use
nice icons like these you could just
merge it in Gen 2 and then that way you
can actually use these these special
fonts and then it just has the string
formatting here so this is just regular
string formatting that you would do same
thing with the RAM percentage so as you
can see it says Ram it has the little
RAM icon and then it has the percentage
with an actual % after it and finally is
the date/time so with the date/time you
may want to use a website like this the
NS date formatting because I know from
MAME I always forget the the proper way
to format a date because there's all
types of different ways you can do it
and then it basically just tells you
down here what the string equivalents
are so you can use something like this
and then that way you can go ahead and
implement it and your system however you
want to have it so that's it for SL
status guys hope you enjoyed this video
hope you learn something from it