Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY $1
- mkdir ~/.cache/wallpaper/
- rm -rf ~/.cache/wallpaper/*
- cp -f $1 ~/.cache/wallpaper
- cp -f $1 /usr/share/backgrounds/Default.jpg
- # Set As Wallpaper
- gsettings set org.gnome.desktop.background picture-uri file:///usr/share/backgrounds/Default.jpg
- sleep 5
- # Make your wallpaper blurry and copy to backgrounds
- convert -blur 0x30 ~/.cache/wallpaper/* /usr/share/backgrounds/gdm_lock.jpg
- gsettings set org.gnome.login-screen logo /usr/share/backgrounds/gdm_lock.jpg
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement