summaryrefslogtreecommitdiff
path: root/sway-smart-spawn-foot.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sway-smart-spawn-foot.sh')
-rwxr-xr-xsway-smart-spawn-foot.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway-smart-spawn-foot.sh b/sway-smart-spawn-foot.sh
index 81308b5..3f84ea3 100755
--- a/sway-smart-spawn-foot.sh
+++ b/sway-smart-spawn-foot.sh
@@ -24,4 +24,5 @@ case "$appid" in
dir=$HOME
;;
esac
+[ -d "$dir" ] || dir=$HOME
exec foot -d none -D "$dir"