aboutsummaryrefslogtreecommitdiff
path: root/i3/bin/setbg-photo
diff options
context:
space:
mode:
authorCamil Staps2018-05-05 16:15:35 +0200
committerCamil Staps2018-05-05 16:15:35 +0200
commitffdaef3d7877443efa4dec9ad8dca5a51ce025af (patch)
treea73e72f8dc71dcee517a0625d1245391c80ca904 /i3/bin/setbg-photo
parentUse dedicated wallpaper directory (diff)
Use photograph wallpaper by default
Diffstat (limited to 'i3/bin/setbg-photo')
-rwxr-xr-xi3/bin/setbg-photo4
1 files changed, 4 insertions, 0 deletions
diff --git a/i3/bin/setbg-photo b/i3/bin/setbg-photo
new file mode 100755
index 0000000..d150bc1
--- /dev/null
+++ b/i3/bin/setbg-photo
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+feh --bg-fill ~/wallpapers/active/"$(ls -1 ~/wallpapers | sort -R | head -1)"
+exit 1