diff options
author | Sébastien Dailly <sebastien@chimrod.com> | 2019-04-22 11:45:44 +0200 |
---|---|---|
committer | Sébastien Dailly <sebastien@chimrod.com> | 2019-04-22 11:45:44 +0200 |
commit | 4e3bbbc43654f4c4d4e992d9c09bc270572f6032 (patch) | |
tree | 34c35f2046f3406e336a4205bcd3e5bb6aa9a42e /i3/scripts | |
parent | 4c7aaef74b7c1507ae79f7794eeef80f01dd40e9 (diff) |
Update conf
Diffstat (limited to 'i3/scripts')
-rwxr-xr-x | i3/scripts/i3/wallpaper.sh | 10 |
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 |