diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2019-01-13 14:57:16 -0500 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2019-01-13 14:57:16 -0500 |
| commit | aa4db8e587ce1bdf5b005dab4f19bcb1c3b4bd68 (patch) | |
| tree | 67b4ba0e36f78298175f03203a5e61f2f21cd776 /.scripts | |
| parent | 55a37ce79e83c3451439a09261ee49cc773a997d (diff) | |
| download | eibhear-aa4db8e587ce1bdf5b005dab4f19bcb1c3b4bd68.tar.gz eibhear-aa4db8e587ce1bdf5b005dab4f19bcb1c3b4bd68.tar.zst eibhear-aa4db8e587ce1bdf5b005dab4f19bcb1c3b4bd68.zip | |
setbg takes arg
Diffstat (limited to '.scripts')
| -rwxr-xr-x | .scripts/tools/setbg | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.scripts/tools/setbg b/.scripts/tools/setbg index 6ffd21d..00e996a 100755 --- 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 |
