trb.sh: Added trimming notification
This commit is contained in:
parent
a3f658ed80
commit
e29e198aea
3
trb.sh
3
trb.sh
@ -20,7 +20,8 @@ zenity --question --text "Do you want to trim?"
|
|||||||
if [[ $? == 1 ]];then
|
if [[ $? == 1 ]];then
|
||||||
exit
|
exit
|
||||||
else
|
else
|
||||||
|
notify-send "Trimming..."
|
||||||
|
echo "Trimming..."
|
||||||
results=$(${su_prompt} /sbin/fstrim -va)
|
results=$(${su_prompt} /sbin/fstrim -va)
|
||||||
notify-send "${results}"
|
notify-send "${results}"
|
||||||
echo "${results}"
|
echo "${results}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user