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