From ef3479ee26ee40c4173e02e018487d1aea18d966 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sun, 25 Sep 2022 15:20:50 +0200 Subject: Fix setbg --- .local/bin/setbg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.local/bin/setbg') 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 -- cgit v1.2.3-70-g09d2