Skip to content

semanavasco/wayglance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wayglance

wayglance is a Wayland toolkit made in Rust for building custom desktop widgets and bars in Lua. It provides a simple API to create and manage GTK-based widgets, handle events, and interact with the Wayland compositor.

Usage

Run with a configuration file:

wayglance run --config examples/bar.lua

Generate Lua stubs for better IDE integration (e.g., with Lua Language Server):

wayglance gen-stubs > stubs.lua

Examples

The examples/ directory contains a few examples of what you can build with wayglance:

  • bar.lua: A complete status bar featuring workspaces, window titles, and a clock.
  • clock.lua: A simple background clock widget.

Feedback

This is one of my first Rust projects and I'm actively learning! I'm open to suggestions, code reviews, and constructive criticism. Feel free to open issues. I'd appreciate if you'd let me fix them rather than opening PRs with written solutions. Thank you!

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A wayland toolkit for building custom widgets using Lua.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages