diff --git a/trb.sh b/trb.sh new file mode 100755 index 0000000..e0fdade --- /dev/null +++ b/trb.sh @@ -0,0 +1,13 @@ +#!/bin/bash + + + +zenity --question --text "Do you want to trim?" +if [[ $? == 1 ]];then + exit +else + + results=$(pkexec /sbin/fstrim -va) + notify-send "${results}" + +fi