summaryrefslogtreecommitdiff
path: root/.local
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-09-25 15:20:50 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-09-25 15:20:50 +0200
commitef3479ee26ee40c4173e02e018487d1aea18d966 (patch)
tree3fb090dcbc5c69dec56d10bcb3414bc221ae5ad5 /.local
parent85776cad39e34602f82d18f3f51b8bcbd21bd6e6 (diff)
Fix setbg
Diffstat (limited to '.local')
-rwxr-xr-x.local/bin/setbg2
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