Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Chunks-rs
A library that simplifies the process of making widgets for Wayland Compositors.
Chunks uses GTK4 and GTK4 Layer Shell at its core, and comes stock with a listener for the Hyprland IPC. This helps with changing Widget states when something changes, such as making the current window fullscreen.
Usage
Make sure you have GTK4 and GTK4-Layer-Shell installed on your system.
For more in depth examples, please refer to example-chunks
[]
= "0.4.8"
This will create a storage widget, similar to the one in the screenshot:
const STYLE: &str = "
window {
background-color: transparent;
}
#storage {
font-size: 34px;
background-color: #000000;
color: #FFFFFF;
}
";
Slabs
Chunks has recently had a new addition - Slabs. These are Popup Widgets, with almost the exact same implementation as Chunks.
Slabs do not need a designated layer, as they are set to Overlay by default. Instead of a layer, enter the amount of seconds you would like the Popup to display for.
new
.build;
Slabs have very limited functionality as of right now.