#!/usr/bin/env bash updown="$(sudo wg show "$1" 2> /dev/null)" if [ "$updown" ]; then echo "嬨 $1" else echo "%{F#666}嬨 $1%{F-}" fi