From: Thomas Teixeira Date: Fri, 3 Nov 2023 11:57:14 +0000 (+0100) Subject: ref: changing dim, maybe should be passed by an option X-Git-Url: https://git.ramnitz.eu/?a=commitdiff_plain;h=51298f627434597fe73c3adf258ccce2051f983e;p=dabruin.kak ref: changing dim, maybe should be passed by an option --- diff --git a/dabruin.kak b/dabruin.kak index ba7836c..657bf49 100644 --- a/dabruin.kak +++ b/dabruin.kak @@ -8,7 +8,7 @@ evaluate-commands %sh{ printf "$1" | cut -d: -f2 | fold -b2 | while read -r hex; do base10="$(printf '%d' "0x${hex}")" - printf '%02x' "$((base10 * 1 / 2))" + printf '%02x' "$((base10 * 5 / 9))" done | xargs printf 'rgb:%s' } # base