No description
- Rust 74.4%
- Nix 18.5%
- GLSL 7.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .vscode | ||
| shaders | ||
| src | ||
| .envrc | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| CONTRIBUTING.md | ||
| demo.gif | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE | ||
| README.md | ||
Forked
Forked to fix a bug and append new functionality
Woomer - Boomer but for wayland
Zoomer application for wayland (linux) inspired by tsoding's boomer written in rust
Controls
| Control | Description |
|---|---|
| Right Click, ESC, A or Q | 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. |
HiDPI Displays
Hyprland
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
Building
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
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
{inputs, system, ...}:
{
home.packages = [
inputs.woomer.packages.${system}.default
# ....
];
# ....
}
