hyprlock: add reload options to Image (#570)

* hyprlock: add reload options to Image

* typo
This commit is contained in:
bvr-yr 2024-04-07 20:09:36 +03:00 committed by GitHub
parent f2d991bb94
commit cb5bb868d7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -103,6 +103,8 @@ image {
border_size = 4 border_size = 4
border_color = rgb(221, 221, 221) border_color = rgb(221, 221, 221)
rotate = 0 # degrees, counter-clockwise rotate = 0 # degrees, counter-clockwise
reload_time = -1 # seconds between reloading, 0 to reload with SIGUSR2
reload_cmd = # command to get new path. if empty, old path will be used. don't run "follow" commands like tail -F
position = 0, 200 position = 0, 200
halign = center halign = center
@ -211,4 +213,4 @@ Worth noting:
## User Signals ## User Signals
- `SIGUSR1` - unlocks hyprlock. For example, you can switch to a another tty and run `pkill -USR1 hyprlock`. - `SIGUSR1` - unlocks hyprlock. For example, you can switch to a another tty and run `pkill -USR1 hyprlock`.
- `SIGUSR2` - updates labels. See above. - `SIGUSR2` - updates labels and images. See above.