You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setting text = cmd[update:(...)] for label means the command is queried when hyprlock is first engaged.
Image objects work differently, where a (default) path is given with path, and the image can be reloaded with the command given by reload_cmd.
Setting dynamic images this way means that the default image is always loaded first, and then overridden. This means that the command must either poll, or a SIGUSR2 signal must be sent by a background process immediately upon starting hyprlock (with some delay, requiring a fidgety sleep (...) to be able to set the image at the moment of starting hyperlock.
A system similar to the label setup is desirable for a image, where it can directly query a command/path, so that these extra steps don't have to be taken.
The text was updated successfully, but these errors were encountered:
Description
Setting
text = cmd[update:(...)]
for label means the command is queried when hyprlock is first engaged.Image objects work differently, where a (default) path is given with
path
, and the image can be reloaded with the command given byreload_cmd
.Setting dynamic images this way means that the default image is always loaded first, and then overridden. This means that the command must either poll, or a
SIGUSR2
signal must be sent by a background process immediately upon starting hyprlock (with some delay, requiring a fidgetysleep (...)
to be able to set the image at the moment of starting hyperlock.A system similar to the label setup is desirable for a image, where it can directly query a command/path, so that these extra steps don't have to be taken.
The text was updated successfully, but these errors were encountered: