diff options
Diffstat (limited to '.local/bin')
-rwxr-xr-x | .local/bin/setbg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/setbg b/.local/bin/setbg index 8eeecfe..09e7369 100755 --- a/.local/bin/setbg +++ b/.local/bin/setbg @@ -5,7 +5,7 @@ # If given a file, set that as the new wallpaper. ## Location of link to wallpaper link. -bgloc="${XDG_DATA_HOME:-$HOME/.local/share/}/wallpaper" +bgloc="${XDG_DATA_HOME:-$HOME/.local/share}/wallpaper" trueloc="$(readlink -f "$1")" && case "$(file --mime-type -b "$trueloc")" in |