commit 6aaf9b9e8843b8568485ac55bb6815d790b8b062 parent aa48cf841b6b80d008c12491a581942473637461 Author: hhvn <dev@hhvn.uk> Date: Wed, 7 Jul 2021 17:59:04 +0100 .s/b/colour-wall: remove Diffstat:
D | .scripts/bin/colour-wall | | | 10 | ---------- |
1 file changed, 0 insertions(+), 10 deletions(-)
diff --git a/.scripts/bin/colour-wall b/.scripts/bin/colour-wall @@ -1,10 +0,0 @@ -#!/bin/sh - -uptime=$(uptime -s | tr -dc '0-9') -unix=$(date +%s) -mem=$(free | head -n 2 | tail -n 1 | awk '{print $2 + $3 + $4 + $5 + $6 + $7}') - -# hex=$(echo "scale=0;obase=16;ibase=A; (($uptime*$unix)/$mem)%16581375" | bc) -hex=$(echo "scale=0;obase=16;ibase=A; (($uptime*$unix)/$mem)" | bc | grep -o '......$') -convert -size 1x1 xc:"#$hex" /tmp/colour.jpg -xwallpaper --zoom /tmp/colour.jpg