hyprlock icon indicating copy to clipboard operation
hyprlock copied to clipboard

[Background] Set path via cmd

Open Flat opened this issue 8 months ago • 2 comments

Description

Currently backgrounds cannot take a cmd for the initial path. A current workaround is to set an initial empty path and then use reload_cmd however the minimum delay on this is 1 second, which isn't ideal. Would be great if path can take a cmd or a string path to an image so it can be calculated at start.

Flat avatar Mar 27 '25 13:03 Flat

I also would like this.

I did find a workaround, I have a script to randomly change the wallpaper, I set it to also symlink the wallpaper to $XDG_STATE_HOME/wallpaper and then set the path to that

evilhamsterman avatar Apr 09 '25 22:04 evilhamsterman

just having backgroun:path be a command itself in case reload_time is not 0, instead of the separate reload_cmd would have been the way to go I think.

PointerDilemma avatar Apr 10 '25 08:04 PointerDilemma