Updated readme to be more clear which binary is ment for viewer flag in script

This commit is contained in:
Ano-sys
2026-08-15 19:06:59 +02:00
parent 2a360721b6
commit b5361d8e21
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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` - `sudo pacman -S sdl3 --noconfirm`
- `gcc SimpleImageViewer.c -o SimpleImageViewer -Wall -Werror $(pkg-config --cflags --libs sdl3) -lm` or with `clang` - `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/` - 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/` - move the `hypr_simpleimageviewer.lua` file into `~/.config/hypr/`
- replace [USER] with your user - replace [USER] with your user
- add `require(hypr_simpleimageviewer)` at the top of your Hyprland config - add `require(hypr_simpleimageviewer)` at the top of your Hyprland config
@@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
set -eu set -eu
viewer= viewer="/path/to/SimpleImageViewer"
notify() { notify() {
if [ -x /usr/bin/notify-send ]; then if [ -x /usr/bin/notify-send ]; then