wallust

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README

commit 5a613815216475c52f479fca530a90d93781e8bc
parent 5e876c62bd9e3e5e19b547217b46153ba83ab931
Author: bdmfegys@duck.com <bdmfegys@duck.com>
Date:   Fri, 10 May 2024 23:17:48 -0400

add script for converting wal templates to wallust new_engine option

Diffstat:
Aconvert_from_wal.sh | 12++++++++++++
1 file changed, 12 insertions(+), 0 deletions(-)

diff --git a/convert_from_wal.sh b/convert_from_wal.sh @@ -0,0 +1,12 @@ +#!/bin/sh +rpl () { + sed -i $1 $2 +} + +# replaces pywal double open brace escapes with regular opening curly braces +rpl 's/{/{{/g' $1 +rpl 's/{{{{/{/g' $1 + +# replaces pywal double close brace escapes with regular closing curly braces +rpl 's/}/}}/g' $1 +rpl 's/}}}}/}/g' $1