diff --git a/README.md b/README.md index bc7ddd2..1a1a292 100644 --- a/README.md +++ b/README.md @@ -31,9 +31,14 @@ Preload will tell Hyprland to load a particular image. Wallpaper will apply the A Wallpaper ***cannot*** be applied without preloading. The config is ***not*** reloaded dynamically. +# IPC +You can use `hyprctl hyprpaper` to issue a keyword, for example +``` +hyprctl hyprpaper wallpaper DP-1,~/Pictures/myepicpng.png +``` + +For other compositors, the socket works like socket1 of Hyprland, and is located in `/tmp/hypr/.hyprpaper.sock` (this path only when Hyprland is not running!) + # todos -- socket communication (hyprctl) -- switching wps -- allow setting only for selected monitors - jpeg support