From e992c3c164e9bf8869fb8b20eaa17ca595d92aac Mon Sep 17 00:00:00 2001 From: Christian Krinitsin Date: Sat, 16 Mar 2024 21:16:28 +0100 Subject: custom bins --- bin/random-wallpaper | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 bin/random-wallpaper (limited to 'bin/random-wallpaper') diff --git a/bin/random-wallpaper b/bin/random-wallpaper new file mode 100755 index 0000000..796d44c --- /dev/null +++ b/bin/random-wallpaper @@ -0,0 +1,13 @@ +#!/bin/sh + +# +# This script takes a random wallpaper out of the folder it cd's into +# In the repo there are duplicates of the backgrounds with different colorgrading, +# I'm "limiting" myself to one colorgrading + + +cd ~/.everforest-walls/nature/ + +IMAGE=$(find *'1.png' | sort -R | tail -n 1) + +swaymsg output "*" bg ~/.everforest-walls/nature/$IMAGE fill -- cgit v1.2.3