~ udpated
This commit is contained in:
@@ -2,10 +2,17 @@
|
|||||||
|
|
||||||
> View images fast and without any hocus pocus, sometimes less is better
|
> 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.
|
The inspiration was a YouTube video. I watched the beginning and thought 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.
|
|
||||||
|
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
|
## Requirements
|
||||||
|
|
||||||
@@ -13,8 +20,6 @@ Of course it is not without usage, I will prepare the app to be hooked in Hyprla
|
|||||||
|
|
||||||
## Installations
|
## Installations
|
||||||
|
|
||||||
> As of now the only like-indented working implementation is for macOS. Wayland ignores the desired window states (resize, position).
|
|
||||||
|
|
||||||
### macOS
|
### macOS
|
||||||
|
|
||||||
- `brew install sdl3`
|
- `brew install sdl3`
|
||||||
@@ -41,4 +46,4 @@ Mouse-/Keybinds:
|
|||||||
|
|
||||||
- Close: `ESC, Enter, Space`
|
- Close: `ESC, Enter, Space`
|
||||||
- Move image: press `right mouse button` and `drag`
|
- Move image: press `right mouse button` and `drag`
|
||||||
- Resize image: `scroll mouse wheel`
|
- Zoom image: `scroll mouse wheel`
|
||||||
|
|||||||
Reference in New Issue
Block a user