Day One On Hyprland

DistroTube
233 followers
572 Video Views·Nov 9, 2024
so in the last two years probably the
biggest request I have gotten is hey DT
can you take a look at hyperland when
are you going to do some video content
about hyperland I get this question so
many times uh probably thousands of you
guys have asked me about hyperland and I
never would do video content about it
because I had an Nvidia machine and
hyperland just didn't work on my home
computer and if I can't actually use it
on my home computer the computer I spend
most of my time in and actually live in
it properly it's hard to make videos
content about something that you can't
actually daily drive on the machine you
spend most of your time on so you know I
wasn't able to do much on hyperland but
recently you know the NVIDIA drivers
have gotten a lot better so my home
computer has that Nvidia card but really
with the driver series The 560 series
it's really gotten to the point where
hyperland and Nvidia should work so I
installed it last night spent a couple
of hours playing around with it on my
home computer and it was working just
fine so now that hyperland works on my
home computer I went ahead and spent a
couple hours today also trying it out
here on my workstation here at my office
this is a AMD machine hyperland
installed just fine here seems to be
working fine I'm recording right now in
OBS it's recording the screen I did have
to jump through a little bit of a hoop
to get OBS working but I'll discuss that
in just a second but right now I've got
hyperland up and running I've made uh
some simple configuration changes as
basically a default config a default
hyperland config and a default way bar
config with right now some very minor
changes I added a few key bindings but
it's essentially me day one on hyperland
now for those of you that want to
install hyperland and try it out there
is some things you have to do to get
this to work especially on Arch Linux
which you know I'm running Arch Linux
based distribution there's a number of
dependencies you need to install so let
me open up my emac here and I made some
notes Here let me zoom in this line here
this is the very first thing I did I did
a Pudu Pacman - capital S for install I
installed hyperland itself I also
installed xdg desktop portal hyperland
wayar woi which is a roofi run launcher
except it's for wayin though it's called
Wy Kitty because the default hyperland
config expects Kitty to be your terminal
now uh I'm using a lacity for my
terminal but initially go ahead and
install Kitty and then if when you
change your terminal emulator to
whatever it is you want to use in your
config just delete Kitty after that
hyper paper which draws the wallpaper on
the screen hyper cursor hyper utils
hyper land- scanner I did a power-
profiles ddon and then later when I was
having some issues with screen sharing
screen capturing here in OBS I went
ahead and installed the following
programs uh Grim slurp hyper picker and
xdg desktop portal dwlr now this one
here this desktop portal wlr I needed
this to get the screen capture to
actually work properly in OBS I
installed that package and then rebooted
the machine and then OBS now is actually
recording my desktop now once you have
all of this installed you need to go
ahead and create your config files for
hyperland and for wayar there are
default example configs so the default
config for hyperland would be found in
user include hyperland Source config the
default config for wayar is in/ Etsy xdg
wayar config and then you need to take
those example configs and copy them over
to your home directory they of course
need to go in your home directory sl.
config SL hyper for the hyperland config
the hyperland config is hyper land.com
and then you need to copy over the
default wayar config and put it Inc
config SL wayar and then it's a
config.js c and I've got an extra file
here that I don't need but config.js C
now even though I've spent a few hours
playing around in hyperland last night
and this afternoon I really haven't done
too much uh customization because I
spent most of my time installing things
and just making sure things work you
know right there was some trial and
error to get some basic things working
like the screen sharing and OBS and
things so I really haven't customized
much as far as the config if I go into
config
hyperhyper land.com here is my hyperland
config and for the most part it's the
default hyperland config uh I did have
to configure some monitors uh this is
the monitor set up for my home computer
now this different than this office
computer uh what I'm going to do though
is I'm actually going to Source a second
file for this monitor information and
the reason is if I set this monitor
information for my home computer and
then the monitor information for this
computer uh there the monitor names and
resolutions are different and what I'm
going to do is I'm going to Source this
file this monitor's file that way I I
can have the same config on my home
computer and this computer the only
difference will be this file that they
source for their monitor information I
hope that kind of makes sense but if you
don't have to sync the same config
between multiple machines like I do you
can just set up your monitors like this
basically the way this works is you do
Monitor and then the monitor name and
then the resolution and then the
position if you're using multiple
monitors and then the scale so if you
need to zoom in or whatever scrolling
down a little bit uh I changed some of
these variables uh in the config by
default they had this terminal variable
set to Kitty of course I set it to
alacrity I went ahead and set the file
manager to pcmanfm by default it's set
to thunar uh the menu is woi and then I
added these variables here I added this
variable for emac because I'm going to
have several key Bindings that involve
emac I and I need this string repeated
multiple times the emac client string
here and then I have this variable here
for reset and this is this command here
for hyper CTL dispatch submap reset what
this is used for is I wanted to have
some key chords key chords is where like
emac style key cords where I do for
example Super E and then I release and
then another key to do something for
example Super E E launches emac right so
they don't actually call them key chords
they call them submaps the way the sub
Map works is I do Super E and then it
waits for me to hit another key for
example e to launch emac but then I'm
still in that submap it's still waiting
for me to do something for example hit
escape to get out of the submap I didn't
want to have to constantly hit Escape
every time I did a key cord so this
reset command is going to fix that
scrolling down you've got some auto
start information by default it had this
line here where it executes once way bar
and Hyper paper this is way bar the
panel at the top I went ahead and added
this line to go ahead and launch the
emac Damon when I log in also as
standard for all my configs I
automatically start the EAC server on
all of my tiling window managers then
you've got some environmental uh things
here some environment stuff uh these are
default things these three here now
these three that are commented out are
experimental things I was playing around
with on my Nvidia machine I don't know
if I necessarily need these enabled on
my home computer now that the NVIDIA
drivers are better but I did see some
posts on the hyperland site uh
suggesting some of these variables so I
may or may not need those I'm not really
sure then You' got information about
gaps and Border sizes I haven't played
with anything as far as modifying any
kind of styling layouts I haven't played
with anything I really don't even know
what all the layouts are available in
hyperland because again I spent really
the last few hours playing with it
mainly just trying to get it to work
trying to get uh hyperland itself to
work trying to get wayar to work and
then you know when I was thinking about
making today's video I opened OBS I
noticed OBS wasn't recording my desktop
it didn't show the desktop I had to
investigate that problem so really it's
just mainly me just getting it up and
running right now so you know going
forward in this series of videos then
we'll actually start getting into some
of the actual configuration options
here's the uh keyboard layout and things
uh here are the actual key bindings here
now by default the super key is set as
the mod key which is fine that's what I
use I did play around with some of the
default key bindings for example I
always use super enter or super return
to launch a terminal that's not the
default key binding they were using they
were using something different so I've
got super enter to open a terminal super
shift C closes the window with focus and
super shift Q will actually kill
hyperland um so those are always
standard key bindings I have in every
single window manager that I use I also
do super shift enter to launch my run
launcher which is typically roofy in
this case it's going to be woi then
you've got key bindings for moving Focus
so if I open a few Windows moving focus
with the arrows you can see they're
using just your standard arrow keys as
far as up down and left and right for me
I went ahead and I copied that section
and then pasted it here I also added
bindings for HJ KL because I'm used to
uh moving focus with the Vim key so I
will do hjk and L to move Focus between
the windows instead of the arrow keys
then obviously you got super one through
zero to switch from workspaces one
through 10 yada yada y the only other
major things I played with I wanted to
get the key chords because I'm a big key
chord kind of guy I have a ton of key
bindings so I added this section here
for my emac related key chords so when I
enter Super E it waits for another key
to be hit so for example if I hit Super
E and then e it runs the emac command
and remember I set that variable for
emac if I do Super E followed by a it
runs EMS uh an audio player if I do
Super E followed by B it opens I buffer
you know it lists all the buffers in
emac that are currently open if I do
Super E B now this is of course I buffer
let me close that super e d would be
deared the file manager inside emex and
you guys remember that reset variable at
the top of my config you need to prend
all of these commands with this reset
variable that's very important that
means uh when you finish running this
command you reset the submap otherwise
the submap would still be enabled and I
would actually have to do some key
binding to escape out of it I would
actually have to hit the Escape key in
this case to reset the submap to get out
of the submap but because I have that
reset thing here as soon as I hit a
command that actually does something for
example Super E D I'm out of the submap
where if I didn't have that I'd still be
in it and I couldn't actually do
anything until I hit escape to actually
get into you know normal key bindings
again now the wayar config is a little
more confusing as far as the standard
way bar config I haven't done much with
it so this is the config.js C I have
noticed that my fonts in emac are
actually a little smaller in hyperland
than what they are on X11 window manager
so I may need to play with my fonts
either directly in emac or I may have to
adjust the scale and hyperland but for
right now I'm going to zoom in I'm going
to zoom in anyway on a video so you guys
can see what's going on with this config
but this is very much like a polybar
config if you've ever used polybar way
bar it's very similar as far as your
modules left Center and right so the
modules to the left I I don't know what
works what doesn't I've got hyperland
spaces and hyperland submap so the
workspaces that's those hyperland submap
if I do Super E Yeah it shows me that
I'm currently in the emac submap if I
escape out of it you know I'm out of the
submap so that's kind of neat and then
the modules in the center are hyperland
window that's the window name modules to
the right they got a million things
enabled some of them are not working
because I'm not using things for example
like MPD is not currently launched yet
don't have a battery because I'm not on
a laptop so a lot of modules here I'm
not actually going to use but you know
what is here you know it looks cool
obvious ly I'm going to theme it and you
know configure it I'm going to you know
change some of the colors and styling
and everything but for right now you
know this is what I've got working here
here's a little example configuration of
how you can configure the workspaces
with u their own little icons and
everything uh this was all stuff that
was just uh either from the default
config itself or it was a copy paste job
from like hyperland documentation and
stuff like that again I really haven't
done much with uh the configuration of
wayar yet either but going forward I'm
pretty excited about it I think this is
going to be a fun little project now
that I can actually use it because I've
been wanting to use hyperland really
since you guys have been asking me about
it about two years ago I wanted to try
it out but again I just if it didn't
work on my home computer it just didn't
make sense but now I'm going to dive
into this rather deep we're going to get
some video content the more I configure
things like hyperland and way bar the
more I learn of course I'm going to
share it with you guys those of you that
want to follow along with my journey as
far as following my config file as it
evolves check out my gitlab repository
over on gitlab.com
dwt1 that's my gitlab look for my DOT
files repository that's where you're
going to find all of my configs now
before I go I need to thank a few
special people I need to thank the
producers of this episode Matt James
Steve armor Dragon daroff datalist gdr
George Lee Matthew meows Aron Paul peace
AR vdor reality forless R profit Rolland
Soul last stre tun War gent and abtu and
Willie these guys they're my high tiered
patrons over on patreon without these
guys this quick first look at hyperland
would not have been possible the show is
also brought to you by each and every
one of these fine ladies and gentlemen
all these names you're seeing on the
screen right now these are all my
supporters over on patreon I don't have
any corporate sponsors I'm sponsored by
you guys the community if you like my
work want to see more videos about
fantastic free and open source software
like hyperland subscribe to Dro tube
over on patreon peace guys
