aboutsummaryrefslogtreecommitdiff
path: root/i3/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'i3/scripts')
-rwxr-xr-xi3/scripts/i3/wallpaper.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/i3/scripts/i3/wallpaper.sh b/i3/scripts/i3/wallpaper.sh
new file mode 100755
index 0000000..cb76cef
--- /dev/null
+++ b/i3/scripts/i3/wallpaper.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+#image=$(find ~/wallpaper/wallpaper/wallpapers -type f \( -name '*.jpg' -o -name '*.png' \) -print0 | shuf -n1 -z | xargs -0)
+image=~/wallpaper/current.jpg
+hsetroot \
+ -fill "${image}" \
+ -add "#ffffffff" \
+ -addd "#ffffff00" 5 \
+ -addd "#ffffff00" 5 \
+ -add "#ffffffff" \
+ -gradient 0