eromatiya / lightdm-webkit2-theme-glorious

A sleek, modern and glorified LightDM webkit2 theme
https://manilarome.github.io/lightdm-webkit2-theme-glorious/
GNU General Public License v3.0
603 stars 54 forks source link

Set custom background dynamically by copying image to `/usr/share/backgrounds` using a script #39

Open Chaitanyabsprip opened 3 years ago

Chaitanyabsprip commented 3 years ago
ln -sf $(find /home/chaitanya/Pictures/ -type f \( -name "*.png" -or -name "*.jpg" -or -name "*.jpeg" \) | shuf -n1) "/home/chaitanya/.wallpaper"
# sudo cp $(readlink $HOME/.wallpaper) /usr/share/backgrounds/mirage.png
nitrogen --set-scaled $HOME/.wallpaper

I am using the above script to change the wallpaper of my wm. I would like to dynamically change the greeter background by copying the symlinked image to /usr/share/background currently doing this results in a gray background.