From 5312fd7bf20a2cf7d824f7430c688f01c70bf8d9 Mon Sep 17 00:00:00 2001 From: Michel Date: Mon, 22 Jan 2024 16:54:59 +0100 Subject: [PATCH] feat: mount devices once connected --- bin/once-connected.zsh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bin/once-connected.zsh b/bin/once-connected.zsh index 710c061..49b6d81 100755 --- a/bin/once-connected.zsh +++ b/bin/once-connected.zsh @@ -4,6 +4,14 @@ alias xterm='xterm -bg black -fg white -fa Hack -fs 10' +## Mount dev folders +# +# Note: To be done first, so other actions can use mounted folders. +# +[[ -x $HOME/bin/mount_dev.zsh ]] && +xterm -geometry 120x40 -title "Mount devices" -hold -e $HOME/bin/mount_dev.zsh + + ## Start periodic actions # $HOME/bin/every-hour.zsh