Skip to content

Commit

Permalink
fix: allow spaces in term_cwd (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
boredland committed Nov 26, 2023
1 parent 0d96f7c commit 9046807
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion community/sway/etc/sway/definitions
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ set $background /usr/share/backgrounds/manjaro-sway/gruvbox-dark-manjarosway-384

# Your preferred terminal emulator
set $term /usr/share/sway/scripts/foot.sh
set $term_cwd $term -D $(swaycwd 2>/dev/null || echo $HOME)
set $term_cwd $term -D "$(swaycwd 2>/dev/null || echo $HOME)"
set $term_float footclient -a floating_shell
set $term_float_portrait footclient -a floating_shell_portrait

Expand Down
2 changes: 1 addition & 1 deletion community/sway/usr/share/sway/scripts/foot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ if [ -f $USER_CONFIG_PATH ]; then
USER_CONFIG=$USER_CONFIG_PATH
fi

foot -c ${USER_CONFIG:-"/usr/share/sway/templates/foot.ini"} $@ &
foot -c "${USER_CONFIG:-"/usr/share/sway/templates/foot.ini"}" "$@" &

0 comments on commit 9046807

Please sign in to comment.