trb.sh: Added trimming notification

This commit is contained in:
mollusk 2017-08-30 08:00:04 -07:00
parent a3f658ed80
commit e29e198aea

3
trb.sh
View File

@ -20,7 +20,8 @@ zenity --question --text "Do you want to trim?"
if [[ $? == 1 ]];then
exit
else
notify-send "Trimming..."
echo "Trimming..."
results=$(${su_prompt} /sbin/fstrim -va)
notify-send "${results}"
echo "${results}"