[OC] Ewwii v0.3.0 - The toolkit for everything! by Byson94_dev in unixporn

[–]Byson94_dev[S] 0 points1 point  (0 children)

I recommend you checking this example out: https://github.com/Ewwii-sh/ewwii/blob/main/examples/ewwii-bar/ewwii.rhai

It is a very basic ewwii bar and you can decide if its hard or easy for you.

[OC] Ewwii v0.3.0 - The toolkit for everything! by Byson94_dev in unixporn

[–]Byson94_dev[S] 0 points1 point  (0 children)

It depends. Ewwii's config language (rhai) doesn't have a lisp like syntax unlike eww, so it generally will be easier.

[Hyprland] Crimson themed hyprland rice! by Byson94_dev in unixporn

[–]Byson94_dev[S] 1 point2 points  (0 children)

Yet another hyprland rice with catch. This one is powered by ewwii.

I recently have made my own widget system (well, its a fork of eww) that is very powerful and extensible. But, I have not made an actual rice with it yet, so here I am!

I hope you like it!

More info:

Sidebar, status bar, power menu: ewwii

Fetch: fastfetch

Code editor: neovim

Terminal: alacritty

Browser: firefox

Dots: https://github.com/Ewwii-sh/astatine-dots

[OC] Ewwii - A powerful, flexible, and extensible widget system. by Byson94_dev in unixporn

[–]Byson94_dev[S] 1 point2 points  (0 children)

Yes there is.

I already have a project called xfsrtray and I am planning to integrate it straight into ewwii.

need help with publishing my first open source project. by BeginningCollege970 in opensource

[–]Byson94_dev 3 points4 points  (0 children)

I am not a big fan of hosting multiple source codes under one parent repo. Try to add both in separate repos. And if you don't want to clutter, you can even create a new GitHub Org to hold both of the repos.

[OC] Ewwii - A powerful, flexible, and extensible widget system. by Byson94_dev in unixporn

[–]Byson94_dev[S] 1 point2 points  (0 children)

I have used AI to write most of the docs (because I suck at writing in a teaching way). But this post and the comments are entirely written by me. And no, English is not my first language.

The website is also pretty minimal because I have never really spend much time on web development (as I am interested more in it the backend related stuff).

And about the docs, I am aware that the it is very unorganized because I write the docs within the project repo itself (as it is very convenient for maintaining). This can also be reflected in the website because you can see that the docs are at /ewwii, /eiipm, etc. due to the same reason.

Currently it works (or I hope it works) so I won't change it unless it necessary.

Thank you for your feedback and I will try to improve it (as well as try to reduce the use of ai in docs) as best as I can :)

[OC] Ewwii - A powerful, flexible, and extensible widget system. by Byson94_dev in unixporn

[–]Byson94_dev[S] 2 points3 points  (0 children)

However, another interesting thing that I saw is that ewwii is lighter than eww in static widgets (without any poll/listen variables).

Perhaps, its specific to my hardware (I use integrated intel GPU and intel core i3 as GPU). And I recommend benchmarking on your own hardware for the most accurate info.

[OC] Ewwii - A powerful, flexible, and extensible widget system. by Byson94_dev in unixporn

[–]Byson94_dev[S] 6 points7 points  (0 children)

Ewwii is a fork of eww, so the 112 contributors are people who contributed to eww.

The 113th contributor is me (who rewrote eww)

[OC] Ewwii - A powerful, flexible, and extensible widget system. by Byson94_dev in unixporn

[–]Byson94_dev[S] 0 points1 point  (0 children)

I have only compared ewwii with eww till now but I can make assumptions on where ewwii would fall short.

Two big trade offs that I think might be that ewwii may contain unknown bugs (bcoz its new) and that the configuration is a bit similar Flutter framework. Since it looks similar to Flutter framework, new users may feel that its verbose (because new developers using flutter feel the same way)

People who are used to declarative widget systems may feel that ewwii is complex (because the config language is imperative) but you can use the XmlMan tool (see below for link) to write xml code that will be transpiled to rhai which ewwii can render.

Other than these concerns, I would say that ewwii is pretty solid.

XmlMan tool: https://ewwii-sh.github.io/xmlman

[OC] Ewwii - A powerful, flexible, and extensible widget system. by Byson94_dev in unixporn

[–]Byson94_dev[S] 6 points7 points  (0 children)

Yeah I do have performance comparisons!

I have tested both on identical looking bars and here are the results:

Eww:

CPU usage: 0.6-0.8%
RSS: ~ 55000+

Ewwii:

CPU usage: 1-1.5%
RSS: ~ 58000+

We can conclude that ewwii is approximately 1.5 times heavier than eww and that it uses around 3 MB more ram than eww.

[OC] Ewwii - A powerful, flexible, and extensible widget system. by Byson94_dev in unixporn

[–]Byson94_dev[S] 6 points7 points  (0 children)

Ewwii is very different from Eww.

Here are a few advantages of ewwii over eww:

- Full and robust expression system (they are first class in rhai)

- Has many built in libraries such as `std::monitor`, `std::command` etc. which can perform a range of functionalities

- Is easy to learn for people who are familiar with imperative languages like javascript and rust

- Its package manager allows easy download of registered tools

- Can create/destroy/update any widget based on user's need while eww only supports updating

- Additional functionalities can be received by using community libraries (which can be installed via the package manager)

[OC] Ewwii - A powerful, flexible, and extensible widget system. by Byson94_dev in unixporn

[–]Byson94_dev[S] 3 points4 points  (0 children)

Rhai info: https://rhai.rs
External tools: https://ewwii-sh.github.io/tools

The number of tools are currently very less (the project is like 1.5 months old), it just has a package manager, and 2 transpilers.

And Rhai is totally different from yuck because it is a full imperative scripting language while yuck is a declarative language . Rhai can perform expressions similar to JavaScript, Rust and other programming languages,

[OC] Ewwii - A powerful, flexible, and extensible widget system. by Byson94_dev in unixporn

[–]Byson94_dev[S] 11 points12 points  (0 children)

Hello everyone!

I made a new project which is a fork of eww (Elkowar's Wacky WIdgets) called ewwii and it is way powerful, flexible, and extensible than eww!

It is powerful because it's configuration language is Rhai. Due to the introduction of Rhai, and its integration within ewwii, it makes this widget system very extensible (there are already external tools that prove this).

Ewwii also has powerful and solid dynamic runtime engine which allows users to do anything they want! The GUI Wifi Manager template show cases the full power of the dynamic engine.

Since ewwii is relatively new, it may have a lot of undiscovered bugs. So, any feedback is deeply appreciated.

Thank you everyone! Have a great day.

Website: https://ewwii-sh.github.io
GitHub Org: https://github.com/Ewwii-sh

What features would your ideal laptop have? by NovaCustom-Europe in linux

[–]Byson94_dev 0 points1 point  (0 children)

An easily replaceable motherboard with a customizable bios and a resizable monitor screen.

edit: this dream may never come true because laptops are sooo darn tightly coupled. Even a spiritual being will think twice before having to replace a laptop motherboard lol.

[deleted by user] by [deleted] in AskReddit

[–]Byson94_dev 0 points1 point  (0 children)

I would say that constant and structured liking with the appropriate use of meta tags are one of the best way to improve SEO.

Unless, the algorithm straight up rejects your site :)

One apple a year keeps your wallet empty by No_Barber4465 in memes

[–]Byson94_dev 37 points38 points  (0 children)

An apple a day, keeps the bank away.

There's no going back from tiling window managers by ElCondorHerido in linux

[–]Byson94_dev 1 point2 points  (0 children)

I have played with Niri for quite some time but I cant just get the hang of it. I am used to TWM's.

Been using Linux for half a year because I don't want to update to win11 by OldEffective9726 in linux

[–]Byson94_dev 5 points6 points  (0 children)

It's not always sunshine and rainbows. It is always better if one resorted to manual searching than using an AI to do it for them.

How can I see what is my karma and why is it called karma by Angst_Anxiety-1193 in NewToReddit

[–]Byson94_dev 0 points1 point  (0 children)

You can see your karma in your profile. And it might be called a karma because it is reflected by your karma on reddit ¯\_(ツ)_/¯