mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2024-11-29 18:58:28 -05:00
11 lines
172 B
Bash
Executable File
11 lines
172 B
Bash
Executable File
#!/bin/sh
|
|
|
|
DIRECTORY="/run/media/$USER"
|
|
|
|
if [ -d "$DIRECTORY" ]
|
|
then
|
|
[ "$(/usr/bin/ls -A "$DIRECTORY")" ] && echo "%{F#61afef}禍" || echo "禍"
|
|
else
|
|
echo "禍"
|
|
fi
|