+ Add pfetch-like motd (admire the worst Windows ASCII logi :) )
This commit is contained in:
parent
928c35c3b2
commit
78e8ac0865
4 changed files with 38 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue