contenta-verify-dbb69181ba63e3b7
27.6 C
New York
June 10, 2026
GstechZone
Tech

I used Codex to customise my Hyprland desktop – and discovered a precious AI lesson


hyperlandhero-laptop
Jack Wallen/ZDNET

Observe ZDNET: Add us as a preferred source on Google.


ZDNET’s key takeaways

  • Configuring the Hyprland window supervisor is difficult.
  • I needed to see how nicely AI would carry out at making a .conf file.
  • There’s an essential lesson to be discovered right here.

That is the yr I noticed how a lot I take pleasure in tiling window managers, and Hyprland is my favourite up to now.

If you happen to’ve by no means skilled a tiling window supervisor, know that they don’t seem to be precisely for the faint of coronary heart. They’re pushed by keyboard shortcuts, of which there are quite a bit to memorize. On high of that, most of them require configuration through textual content information.

Such is the case with Hyprland.

Hyprland is configured through the ~/.config/hyrp/hyrpland.conf file; for the uninitiated, it may be quite daunting. You actually ought to know what you are stepping into earlier than you make that first edit to the file.

Additionally: How to install Arch Linux without losing your mind

I’ve executed a little bit of Hyprland dotfile ricing (a elaborate method of claiming I’ve hung out customizing hyprland.conf information), however I made a decision to run just a little experiment.

I needed to see if AI may create a hyperland.conf file based mostly on my immediate. I made a decision to start out recent with a CachyOS set up. (I chosen each the Hyrpland and KDE Plasma desktops — why I added each will develop into clear shortly.) As soon as I had CachyOS up and working, I began the method. I made a decision to strive three totally different AI instruments: Opera’s Aria, Ollama, and Codex.

Of the three AI instruments, Codex was the one one able to making a remotely usable configuration. Here is the way it went.

The immediate

To create the customization, I used the next immediate:

Create a hyprland.conf configuration file for Hyprland model 0.55.2 that makes use of Waybar with a glassy, rounded-corner theme, a coloration palette of purple and pink, and makes use of the next keybindings: Tremendous+t to open the terminal, Tremendous+b to open the online browser, and the default keybindings for transferring home windows and window focus.

Upon working the question, each AI service I used knowledgeable me that many configuration choices can be placeholders and that I would wish to customise them to suit my wants.

Additionally: 7 AI coding techniques I use to ship real, reliable products – fast

It took a couple of tries, however ultimately Codex gave me this .conf file, which you can view in my GitHub repository.

I had my doubts that it might work. Even so, I added the contents from Codex and reloaded the window supervisor with:

hyprctl reload

I used to be not stunned to come across quite a few errors. I might noticed a few of the errors even earlier than I copied the output to the .conf file, however needed to see what occurred regardless.

Hyprland

That is only a pattern of the errors within the Codex-generated config file.

Screenshot by Jack Wallen/ZDNET

Listed here are the issues I discovered at first look:

  • There was no default terminal set.
  • The border_radius possibility not works in 0.55.2.
  • Within the rounding = 12px possibility, the px would trigger an error, so it needed to be eliminated.
  • Windowrule doesn’t work.

Additionally: The best Linux laptops you can buy

I additionally needed to set up the next to make this work:

  • kitty terminal app
  • Waybar
  • change

With out the above put in, Hyprland would not be very useful.

After resolving the above points, I used to be stunned that the .conf file labored. It wasn’t a really elegant desktop, nor did it apply the colour scheme I added in my question, however I had a skeleton .conf file I may use to additional tweak.

Why did I set up KDE Plasma?

After I first set out to do that, I solely put in Hyprland on CachyOS. After including the contents to the config file as-is (as a result of I needed to see the way it labored), I wound up with what was basically a non-functioning desktop. The principle cause for that is that kitty, Waybar, and Rofi weren’t put in.

Additionally: KDE Linux is the purest form of Plasma I’ve used in months – but there’s a catch

I put in CachyOS a second time, solely with KDE Plasma alongside for the trip. With KDE Plasma added, I knew I had a backup desktop atmosphere to make use of, ought to issues go awry. All I needed to do was reboot CachyOS, log into KDE Plasma, and repair the problems.

As soon as I had all the points mounted inside the Codex-derived .conf file, Hyprland labored as anticipated. In fact, there have been a variety of tweaks that wanted to be taken care of to get it precisely how I needed it to look,

A lesson discovered

I used to be pretty sure how this experiment would end up, and it solidified my opinion that AI is commonly unsuitable however can not less than function a launching level. Although I defined to Codex (the one AI to return near making a functioning hyprland.conf file) which model of Hyprland I used to be utilizing, it nonetheless used choices which can be not viable.

Additionally: GNOME 50 is a brilliant release – but I had to look twice to see why

To those that is perhaps serious about migrating to the Linux working system, I first wish to say that Hyprland will not be the window supervisor for you. Stick to KDE Plasma, Cinnamonor GNOME. For many who wish to attempt to use Hyprland (or any tiling window supervisor configured with a textual content file), contemplate AI to be a method to see how the configuration information work, however be sure that to study from what AI presents to you, so you may perceive the way it works and might begin creating information by yourself.

Consider AI as nothing greater than a method to take your first steps, however know that you’ll have to appropriate its errors.





Source link

Related posts

The crypto Readability Act returns to the Senate this week. The banks are already making an attempt to kill it.

nabeelhassan565@gmail.com

Founding father of Shark Tank-backed startup Scholly sues his acquirer Sallie Mae

It isn’t only one factor — it is one other factor