aboutsummaryrefslogtreecommitdiff
path: root/i3/bin/setbg-photo
diff options
context:
space:
mode:
authorCamil Staps2018-05-05 16:19:28 +0200
committerCamil Staps2018-05-05 16:19:28 +0200
commitf563f5e048a352284a3dd1e902a0af355ba39cff (patch)
tree69a06254c460914cf6d547e7ce9a8aed0a3e06e1 /i3/bin/setbg-photo
parentUse wallpapers from dropbox (diff)
Fix photos path
Diffstat (limited to 'i3/bin/setbg-photo')
-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