From b5361d8e21a6b79025227e1e7061bfce6e880a48 Mon Sep 17 00:00:00 2001 From: Ano-sys Date: Sat, 15 Aug 2026 19:06:59 +0200 Subject: [PATCH] Updated readme to be more clear which binary is ment for viewer flag in script --- README.md | 2 +- hypr/scripts/simple-image-viewer-clipboard.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 11f0b85..f54ea2b 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ Of course it is not without usage, I will prepare the app to be hooked in Hyprla - `sudo pacman -S sdl3 --noconfirm` - `gcc SimpleImageViewer.c -o SimpleImageViewer -Wall -Werror $(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 +- in `simple-image-viewer-clipboard.sh`: set `viewer` to the binary path gcc created, 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 diff --git a/hypr/scripts/simple-image-viewer-clipboard.sh b/hypr/scripts/simple-image-viewer-clipboard.sh index a8fadd2..63f090b 100755 --- a/hypr/scripts/simple-image-viewer-clipboard.sh +++ b/hypr/scripts/simple-image-viewer-clipboard.sh @@ -1,7 +1,7 @@ #!/bin/sh set -eu -viewer= +viewer="/path/to/SimpleImageViewer" notify() { if [ -x /usr/bin/notify-send ]; then