https://github.com/cococry/lupe
simple, lightweight, fast zoom for X
https://github.com/cococry/lupe
Last synced: 11 days ago
JSON representation
simple, lightweight, fast zoom for X
- Host: GitHub
- URL: https://github.com/cococry/lupe
- Owner: cococry
- Created: 2026-07-04T19:23:06.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2026-07-04T20:17:36.000Z (about 1 month ago)
- Last Synced: 2026-07-04T21:10:04.979Z (about 1 month ago)
- Language: C
- Size: 95.7 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# lupe
simple, lightweight, fast zoom for X
**Lupe** is a simple tool that can be used with any X window manager¹ to provide
smooth and responsive zooming/panning capabilities.
¹ As long as your system supports the widely available OpenGL compatibility profile.
## Building
The build dependencies are libGL, libX11 and libm.
Make sure you have those installed before building.
Building:
```console
gcc -o nob nob.c
./nob
```
## Running
Simply:
```console
./build/lupe
```
## Installing
Use the `install` option of the nob recipe. You can optionally specify the install
prefix as an argument to the `install` option.
Installing (to /usr/local/bin):
```console
sudo ./nob install
```
## CLI Usage
```console
lupe [options]
```
## Options
| Option | Description |
|---|---|
| `-nl`, `--no-lerp` | Disable smooth scrolling and panning |
| `-h`, `--help` | Show the help message |
## Keybinds
| Keybind | Description |
|---|---|
| `Space` | Toggle torch highlight mode |
| `Escape` | Quit and return to desktop |
| `Shift + Mousewheel` | Adjust torch highlight radius |
| `Mousewheel` | Adjust zoom |
| `Left Click + Drag` | Pan around |
Note that you can change the keybinds and more in the [config.h](https://github.com/cococry/lupe/blob/main/config.h) file (this requires rebuilding).