summaryrefslogtreecommitdiffstats
path: root/down
blob: a91cf6046d8fa4dcb5842e154d3e5c97597750f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/zsh

failed()
{
echo "Failed"
exit 1
}

sync
mount | grep loop | grep -v pacman && sudo umount /mnt*
unmount-removables || failed
sleep 2
pidof tmux && ~/bin/tux killall force
sleep 1