diff options
Diffstat (limited to 'sway-smart-spawn-foot.sh')
-rwxr-xr-x | sway-smart-spawn-foot.sh | 1 |
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" |