azote icon indicating copy to clipboard operation
azote copied to clipboard

Make azote work with swaylock somehow

Open wildwestrom opened this issue 2 years ago • 1 comments

I would love if azote could set the background for swaylock.

Currently I have my swaylock config like this:

image=/full/path/to/image.png
scaling=fit
color=000000

Ideally I'd like to see:

  1. swaylock detected if present on the system.
  2. A GUI option to add a specific background just for the lockscreen.
  3. Make it so the swaylock config can stay the same upon changing the wallpaper.

Since swaylock's config lives in $XDG_CONFIG_HOME/swaylock/config, the image setting could point to a specific directory or symbolic link to the image, which azote handles. A solution like this would allow one to not "hard-code" the image within the swaylock config for version control purposes.

wildwestrom avatar Feb 28 '22 01:02 wildwestrom

It could be done, but we have to think carefully about it. The solution should be universal enough so that it could work not with swaylock only. Sorry, but this must wait a little bit. I have a lot of feature requests and bug reports in all my projects, but hardly any contributions.

nwg-piotr avatar Mar 01 '22 09:03 nwg-piotr

What about making some file like .azoteimage and make it a symlink to current wallpaper. Then you just specify it as swaylock image.

rs-pro0 avatar Apr 15 '23 07:04 rs-pro0

I put quite a lot of effort in the lock screen management in the nwg-shell config utility. It works on sway, and will work on Hyprland soon. One can choose random images from unsplash.com, and from a local path. Let me be honest: if I'm going to add an option to choose one certain image, I'll do it in nwg-shell as well. I don't have enough spare time to implement stuff that's not going to be useful in my flagship project, sorry.

image

nwg-piotr avatar Apr 15 '23 09:04 nwg-piotr

I think I could implement my solution this but I'm not sure if it is the solution you want. I'll check out your config utility and maybe I'll come up with something better.

rs-pro0 avatar Apr 15 '23 09:04 rs-pro0