From 4e3bbbc43654f4c4d4e992d9c09bc270572f6032 Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Mon, 22 Apr 2019 11:45:44 +0200 Subject: Update conf --- i3/scripts/i3/wallpaper.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 i3/scripts/i3/wallpaper.sh (limited to 'i3/scripts') 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 -- cgit v1.2.3