mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
13 lines
609 B
Bash
Executable File
13 lines
609 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# In LARBS, ~/.config/wall.png is the location of the system wallpaper. This
|
|
# script, if given an argument, moves it there. This script without an
|
|
# argument sets ~/.config/wall.png as the wallpaper, which is required on login
|
|
# if you don't want a black screen.
|
|
#
|
|
# You may also give a directory name to select a random image from that
|
|
# directory as a wallpaper. Be careful that the directory only has images.
|
|
|
|
[ ! -z "$1" ] && cp "$1" ~/.config/assets/wallpaper.png && notify-send -i "$HOME/.config/assets/wallpaper.png" "Wallpaper changed."
|
|
xwallpaper --focus ~/.config/assets/wallpaper.png
|