Skip to content

Latest commit

 

History

History
82 lines (63 loc) · 2.14 KB

README.md

File metadata and controls

82 lines (63 loc) · 2.14 KB

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.

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
    # ....
  ];
  # ....
}