Zoomer application for wayland (linux) inspired by tsoding's boomer written in rust
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. |
If you set your scaling different to 1.0 in your .config/hypr/hyprland.conf, you also need the following variables to be set:
$scale = 2
monitor = , highres, auto, $scale
xwayland {
force_zero_scaling = true
}
env = GDK_SCALE,$scale
Please also refer to: Hyprland Wiki
Dependencies:
- wayland-client
- cmake
- rust
- pkg-config
- clang (for compiling raylib)
- libclang (for bindgen)
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
You can also install woomer using the nix flake:
# flake.nix
{
inputs = {
woomer.url = "github:coffeeispower/woomer";
# .....
}
# ....
}
After that, you can just install it
{inputs, system, ...}:
{
home.packages = [
inputs.woomer.packages.${system}.default
# ....
];
# ....
}