8 ms·
An Electron powered status bar? So we have Rust, Lua and Javascript in there. Hmm... Maybe someone can port (nwm)[https://github.com/mixu/nwm https://github.com
by transfire 10y ago
An Electron powered status bar? So we have Rust, Lua and Javascript in there. Hmm... Maybe someone can port (nwm)[https://github.com/mixu/nwm https://github.com/mixu/nwm] to Wayland?
- pdkl95 10y ago> An Electron powered status bar? Chromium and Javascript to run a status bar? A panel is a relatively simple program; it shouldn't be using more than ~1MB of memory (maybe more with large icons). Using Chromium adds many useless layers of abstraction (e.g. HTML, JS engine) and wastes an incredible amount of memory.
- cm3 10y agoI wouldn't use it myself, but I guess the justification is that you have the full power of a web page, crammed into a widget bar, and there are many frontend devs who are most familiar with HTML+CSS+JS. Again, I wouldn't use it, and agree it's a bad idea as long as browser engines are monstrosities.
- dbl9 10y agoThe programming and styling like a web page might be it and maybe it's also easier to consume random web feeds.
- nilved 10y agoMy status bar would use 1MB of memory if it had a 900 KB animated gif clock.
- cm3 10y agoYou're right and the memory use of KDE, GNOME, XFCE is unjustifiable. Even sway (the i3-inspired Wayland compositor) uses a lot of money for a simple tiling compositor that doesn't have fancy "bling". It's three times the memory use as xmonad and xmobar, but maybe it's an architectural issue with wayland. I mean, Weston isn't light-weight either.
- gnarbarian 10y agoGive lxde a shot then.
- cm3 10y agoI never felt comfortable with desktop envs, going back to KDE1 in the 90s. Used FVWM, Enlightenment, WindowMaker, LarsWM, Ion, WMI, DWM, spectrwm, Xmonad, sway, Weston, but never a desktop env due to missing flexibility and harder and harder config portability. My FVWM config still works, but GTK3 and GNOME configs are highly unlikely to work the same after 12 months.
- LukeShu 10y agoI don't use a DE, for much the same reasons you name, but I do use several pieces of LXDE, as they are generally built configurably and work well outside of the DE.
- gnarbarian 10y agoHey I hear you. I would say lxde is like e16 except less fancy looking. VERY basic. like, you get to write a script to bind the print screen key to take a screenshot.
- cesnja 10y agoWayland compositors must also do (some) actions that were previously handled by X server. Ergo your comparison is a bit unfair, you should try comparing sway vs i3 + Xorg.
- cm3 10y agoThat's what I suspected by saying "maybe it's an architectural issue with wayland".
- anewhnaccount 10y agoMore of an architectural goal than an architectural issue.
- Scarbutt 10y agonext: an electron powered mouse pointer.
- dbl9 10y agoThere's Electron-powered terminal emulators, so we're already there.