dotfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit aa4db8e587ce1bdf5b005dab4f19bcb1c3b4bd68
parent 55a37ce79e83c3451439a09261ee49cc773a997d
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Sun, 13 Jan 2019 14:57:16 -0500

setbg takes arg

Diffstat:
M.scripts/tools/setbg | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.scripts/tools/setbg b/.scripts/tools/setbg @@ -1,3 +1,4 @@ #!/bin/sh -# Sets the background. Many scripts need to do this, but I've put it here so you can easily change all their actions. +# Sets the background. If given an argument, will set file as background. +[ ! -z "$1" ] && cp "$1" ~/.config/wall.png && notify-send -i "$HOME/.config/wall.png" "Wallpaper changed." xwallpaper --center ~/.config/wall.png