mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2024-11-27 01:38:33 -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#81a1c1}禍" || echo "禍"
|
||
|
else
|
||
|
echo "禍"
|
||
|
fi
|