mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
Yeah of course I'm going to totally rewrite a script right after I do a video on it. It uses links now to not waste space and env variables. Location moved to cache. Thanks to those who suggested some changes.
10 lines
474 B
Bash
Executable File
10 lines
474 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# ~/.config/assets/wallpaper.png is the location of the system wallpaper. This
|
|
# script, if given an argument, moves it there. This script without an
|
|
# argument sets ~/.config/assets/wallpaper.png as the wallpaper, which is required on login
|
|
# if you don't want a black screen.
|
|
|
|
[ ! -z "$1" ] && cp "$1" ~/.config/assets/wallpaper.png && notify-send -i "$HOME/.config/assets/wallpaper.png" "Wallpaper changed."
|
|
xwallpaper --focus ~/.config/assets/wallpaper.png
|