#!/bin/sh DIRECTORY="/run/media/$USER" if [ -d "$DIRECTORY" ] then [ "$(/usr/bin/ls -A "$DIRECTORY")" ] && echo "%{F#81a1c1}禍" || echo "禍" else echo "禍" fi