+ Add pfetch-like motd (admire the worst Windows ASCII logi :) )

This commit is contained in:
ziro 2020-07-31 14:32:47 +07:00
parent 928c35c3b2
commit 78e8ac0865
4 changed files with 38 additions and 5 deletions

View file

@ -7,6 +7,6 @@ chosen=$(echo "$un_mountables" | dmenu -i -p "Devices" | awk '{print $1}')
prompt=$(echo -en "Yes\nNo" | dmenu -i -p "Are you sure?")
case $prompt in
"Yes") sudo umount $chosen && notify-send "Unmounting..." "$chosen";;
"Yes") sudo umount $chosen && notify-send "Unmounting..." "$chosen" || notify-send "Unmounting failed" "FDD is still writing or being used";;
"No") exit 1 ;;
esac