]> Freerunner's - dabruin.kak/commitdiff
chore: using tabs everywhere
authorThomas Teixeira <thomas.teixeira@startmail.com>
Mon, 5 Aug 2024 12:31:41 +0000 (14:31 +0200)
committerThomas Teixeira <thomas.teixeira@startmail.com>
Mon, 5 Aug 2024 12:31:41 +0000 (14:31 +0200)
dabruin.kak

index 77b542bab60a06c30a19dc0ee64e1d5b466cd766..321cdf81bdd765b886ea5c1c053658884ec3ce2e 100644 (file)
@@ -4,13 +4,13 @@
 ##
 
 evaluate-commands %sh{
-    calculate_dim() {
-       printf "$1" | cut -d: -f2 | fold -w2 |
-               while read -r hex; do
-                       base10="$(printf '%d' "0x${hex}")"
-                       printf '%02x' "$((base10 * 5 / 9))"
-               done | xargs printf 'rgb:%s'
-    }
+       calculate_dim() {
+               printf "$1" | cut -d: -f2 | fold -w2 |
+                       while read -r hex; do
+                               base10="$(printf '%d' "0x${hex}")"
+                               printf '%02x' "$((base10 * 5 / 9))"
+                       done | xargs printf 'rgb:%s'
+       }
        # base
        accent="${kak_opt_dabruin_accent:-rgb:FFB852}"
        background='rgb:242124'