Welcome to awesome bug tracking system.
FS#969 - awsetbg with simulation mode (show what it should execute, but execute nothing)
I use one background per tag.
I change the background every time I switch to a new desktop/tag.
I try to reduce the background refresh delay as short as possible.
the awsetbg script is usefull, but it checks a lot of thing, it will always be slowly than using the direct command to set the background.
IMHO awsetbg is usefull because it wraps a lot of background setter.
Then it will be interresting to have a option to change the behavior :
- awsetbg will do his detection and show what the command it will usually do.
- I catch the result and put it in cache (in lua), and run the command
- The next time, I take the result directly from the cache, and run directly the command.
I already changed my awsetbg to support this.
But I also do others changes and not really thougth about compatibility outside bash ...
See the diff patch and the full file.
This task depends upon