Skip to main content
Topic: Help with scipt to change wallpaper just before shutdown ? (Read 120 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Help with scipt to change wallpaper just before shutdown ?

Hi there!

I am not sure if this is the right place to post this question, but this was the only sub-forum I found with a reference to scripts.

I am running open-rc and would like to change my wallpaper (automatically) before shutdown, but  my searches result in almost exclusively systemd cases.

I will appreciate any tips, maybe links ?

Thanks in advance!

Re: Help with scipt to change wallpaper just before shutdown ?

Reply #1
I guess you have to write openrc wallpaper_change script, put it in /etc/init.d and add it to shutdown runlevel:
Code: [Select]
sudo rc-update add wallpaper_change shutdown

Re: Help with scipt to change wallpaper just before shutdown ?

Reply #2
@Ambie :  Thanks for prompt answer!   

This was exactly the info I was looking for. I will now  start looking into how  to write the script.