Updated readme to be more clear which binary is ment for viewer flag in script
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
|
||||
viewer=
|
||||
viewer="/path/to/SimpleImageViewer"
|
||||
|
||||
notify() {
|
||||
if [ -x /usr/bin/notify-send ]; then
|
||||
|
||||
Reference in New Issue
Block a user