From 933224d3b46a01ec5741a9834befeba3564977ca Mon Sep 17 00:00:00 2001 From: Vaxry <43317083+vaxerski@users.noreply.github.com> Date: Sat, 2 Jul 2022 19:12:34 +0200 Subject: [PATCH] updated readme --- README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) 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