aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xi3/bin/setbg-photo4
1 files changed, 3 insertions, 1 deletions
diff --git a/i3/bin/setbg-photo b/i3/bin/setbg-photo
index 71b08df..93d602b 100755
--- a/i3/bin/setbg-photo
+++ b/i3/bin/setbg-photo
@@ -1,4 +1,6 @@
#!/bin/bash
-feh --bg-fill ~/Dropbox/Photos/Wallpapers/active/"$(ls -1 ~/wallpapers | sort -R | head -1)"
+DIR="/home/camil/Dropbox/Photos/Wallpapers/active"
+
+feh --bg-fill "$DIR/$(ls -1 "$DIR" | sort -R | head -1)"
exit 1