i3-colors/tests/test-extract-with-vars-and-apply.sh
2019-10-09 16:50:21 -04:00

11 lines
234 B
Bash

#!/bin/bash
wai=$(dirname $(readlink -f $0))
source "${wai}/include.sh"
tmp=$(mktemp)
##### Test extract theme on a config file then apply it
$exec extract ${data}/config-with-vars > $tmp
$exec apply -d $tmp ${data}/config
rm $tmp