Close variety after it changes the wallpaper

Asked by Muhamed Vrajolli

I can configure variety to change the wallpaper on startup, but then it stays open, and it takes memory, is there a way to close it after it changes the wallpaper

Question information

Language:
English Edit question
Status:
Solved
For:
Variety Edit question
Assignee:
No assignee Edit question
Solved by:
Peter Levi
Solved:
Last query:
Last reply:
Revision history for this message
Best Peter Levi (peterlevi) said :
#1

Some bash scripting could do it - launch variety in background mode, instructing it to change wp when it launches, sleep for some time, and then send it an instruction to quit. This line works for me when I launch it from a terminal, you should be able to tweak it for your purposes:

( variety --next & ) && sleep 10 && variety -q

Revision history for this message
Muhamed Vrajolli (muhamedd) said :
#2

Thanks Peter Levi, that solved my question.