869 private links
A nice wayland protocol explorer.
A detailed guide on how to use EWW, a modern and beautiful widget system (aka. bar) that runs both on Wayland and X11. EWW is written in Rust and based on GTK+, so I expect it easier to extend than Polybar.
The configuration is written using a s-expression language, world's best configuration language. From a glance, the configuration language also makes more sense than Polybar's. Widgets are composable, dynamic data/text interpolation fits organically.
Mostly unsatisfied with Polybar, I previously even want to write a bar software on my own. Now it seems that EWW suits all my needs. I will make a switch to EWW when I have more time to tinker around.
TL;DR:
- The application creates a wl_data_source object, indicating that it’s going to offer data to other applications.
- The application adds the mime types that it can handle to the data source (with wl_data_source::offer)
- The application finally calls wl_data_device::set_selection, to indicate “I’m taking ownership of the clipboard, and the above created wl_data_source is what I’m offering”.
The wayland book - a book on how wayland protocol works. Saved for future reference.