jitty-scripts/trb.sh

14 lines
180 B
Bash
Raw Normal View History

2017-05-09 21:31:02 -07:00
#!/bin/bash
zenity --question --text "Do you want to trim?"
if [[ $? == 1 ]];then
exit
else
results=$(pkexec /sbin/fstrim -va)
notify-send "${results}"
fi