summaryrefslogtreecommitdiff
path: root/sway-smart-spawn-foot.sh
diff options
context:
space:
mode:
authorAleksei <alex3kov@zoho.com>2024-05-01 07:48:00 +0300
committerAleksei <alex3kov@zoho.com>2024-05-01 07:48:00 +0300
commit5d74a62d8b23df4ca836250c7aedd60e9bcd2428 (patch)
treee3900e85bea012d5beb50c524adbf5ae0812644e /sway-smart-spawn-foot.sh
parent3c2613d76bd4d5bab59c4ded59a9098251253108 (diff)
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"