Added script for Hyprland integration and updated README.md

This commit is contained in:
Ano-sys
2026-05-30 14:02:44 +02:00
parent 2541f26dda
commit 9986fafa80
3 changed files with 102 additions and 1 deletions
+6 -1
View File
@@ -10,7 +10,7 @@ Of course it is not without usage, I will prepare the app to be hooked in Hyprla
- SDL3
## Installations
> As of now the only like-indented working implementation is for macOS.
> As of now the only like-indented working implementation is for macOS. Wayland ignores the desired window states (resize, position).
#### macOS
- `brew install sdl3`
@@ -21,3 +21,8 @@ Of course it is not without usage, I will prepare the app to be hooked in Hyprla
#### Linux
- `sudo pacman -S sdl3 --noconfirm`
- `gcc SimpleImageViewer.c -o SimpleImageViewer -Wall -Werror -o3 $(pkg-config --cflags --libs sdl3) -lm` or with `clang`
- when using Hyprland, move the scripts folder into your `~/.config/hypr/`
- in `simple-image-viewer-clipboard.sh`: set `viewer`, I placed my binary beside this script
- move the `hypr_simpleimageviewer.lua` file into `~/.config/hypr/`
- replace [USER] with your user
- add `require(hypr_simpleimageviewer)` at the top of your Hyprland config