#!/usr/bin/env fish

load-color-vars

set format "$argv[1]"
set background (test -n "$color0"; and echo "$(echo $color0)69"; or echo "#d0d0d0aa")
set border (test -n "$color7"; and echo "$color7"; or echo "#ffffff")

set args -b $background -c $border -w 3
if test -n "$format"
    set -a args -f $format
end

slurp $args
