music playpause script
[dotfiles.git] / shell / .local / bin / update
index 84cc6f2..f9c8470 100755 (executable)
@@ -9,4 +9,11 @@ cmd() {
 }
 
 sudo sh -c "$(cmd)"
-sh -c "tlmgr update --self && tlmgr update --all && offlineimap -o -u ttyui && khal $NUL && khard $NUL && pass git pull origin master"
+tlmgr update --self && tlmgr update --all
+khal calendar $NUL
+khard $NUL
+pass git pull origin master
+if ! tmux list-sessions
+then
+       tmuxmail
+fi