Thanks to visit codestin.com
Credit goes to github.com

Skip to content

coffeeispower/woomer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Woomer - Boomer but for wayland

Zoomer application for wayland (linux) inspired by tsoding's boomer written in rust

demo of woomer

Controls

Control Description
Right Click or ESC Quit the application.
R Reload the shaders (only for Developer mode)
Hold CTRL Enable flashlight effect.
Drag with left mouse button Move the image around.
Scroll wheel Zoom in/out.
Ctrl + SHIFT + Scroll wheel Change the radius of the flashlight.

Building

Dependencies:

  • wayland-client
  • cmake
  • rust
  • pkg-config

Like with any other rust program you can run:

cargo b

However if you want hot reloading of the spotlight shader you can add the dev feature:

cargo b -F dev

Installing using the Nix flake

You can also install woomer using the nix flake:

# flake.nix
{
  inputs = {
    woomer.url = "github:coffeeispower/woomer";
    # .....
  }
  # ....
}

After that, you can just install it along with wayland package

{inputs, system, ...}:
{
  home.packages = [
    # Required for the wayland-client library which is loaded at runtime
    wayland
    inputs.woomer.packages.${system}.default
    # ....
  ];
  # ....
}

If you're using hyprland or other wayland compositors configured using home manager and want to bind woomer to a key, you have to set LD_LIBRARY_PATH for it to open correctly: LD_LIBRARY_PATH=${pkgs.wayland}/lib ${inputs.woomer.packages.${system}.default}/bin/woomer
I'm pretty sure there's a better way to do this automatically on my side but I haven't figured out yet.

About

Zoomer application for Wayland inspired by tsoding's boomer

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Contributors 8