From 16b08862fa292c390517a4a6036c7849520bee02 Mon Sep 17 00:00:00 2001 From: Ano-sys Date: Sun, 25 Oct 2026 00:51:15 +0200 Subject: [PATCH] ~ udpated --- README.md | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 939b70c..e916303 100644 --- a/README.md +++ b/README.md @@ -2,10 +2,17 @@ > View images fast and without any hocus pocus, sometimes less is better -## Disclaimer +## About -The inspiration was a YouTube video, I've watched the beginning and though to myself that this cannot be that hard to implement. -Of course it is not without usage, I will prepare the app to be hooked in Hyprland to launch the current photo stored in clipboard. +The inspiration was a YouTube video. I watched the beginning and thought to myself that this cannot be that hard to implement. + +A Hyprland integration is included to open an image from the clipboard, either as a file path or as image data. + +## Disclaimer for Wayland / Hyprland users + +Under Wayland, window placement is controlled by the compositor, so moving the window with the viewer's left-button drag does not work. The compositor may also override the requested window size. See the [SDL Wayland notes](https://wiki.libsdl.org/SDL3/README-wayland) for details. + +Mouse-wheel zoom and right-button dragging operate on the image inside the window. On Hyprland, use your configured compositor bindings to move or resize the window, and configure it as floating if you want free window placement. ## Requirements @@ -13,8 +20,6 @@ Of course it is not without usage, I will prepare the app to be hooked in Hyprla ## Installations -> As of now the only like-indented working implementation is for macOS. Wayland ignores the desired window states (resize, position). - ### macOS - `brew install sdl3` @@ -41,4 +46,4 @@ Mouse-/Keybinds: - Close: `ESC, Enter, Space` - Move image: press `right mouse button` and `drag` -- Resize image: `scroll mouse wheel` +- Zoom image: `scroll mouse wheel`