diff --git a/doc/rofi-sensible-terminal.1.markdown b/doc/rofi-sensible-terminal.1.markdown index 1406299dd..2060d89a6 100644 --- a/doc/rofi-sensible-terminal.1.markdown +++ b/doc/rofi-sensible-terminal.1.markdown @@ -36,6 +36,7 @@ It tries to start one of the following (in that order): * alacritty * kitty * wezterm +* foot ## SEE ALSO diff --git a/script/rofi-sensible-terminal b/script/rofi-sensible-terminal index 4bec1c909..856585ef7 100755 --- a/script/rofi-sensible-terminal +++ b/script/rofi-sensible-terminal @@ -9,7 +9,7 @@ # We welcome patches that add distribution-specific mechanisms to find the # preferred terminal emulator. On Debian, there is the x-terminal-emulator # symlink for example. -for terminal in $TERMINAL x-terminal-emulator urxvt rxvt st terminology qterminal Eterm aterm uxterm xterm roxterm xfce4-terminal.wrapper mate-terminal lxterminal konsole alacritty kitty wezterm; do +for terminal in $TERMINAL x-terminal-emulator urxvt rxvt st terminology qterminal Eterm aterm uxterm xterm roxterm xfce4-terminal.wrapper mate-terminal lxterminal konsole alacritty kitty wezterm foot; do if command -v $terminal >/dev/null 2>&1; then exec $terminal "$@" fi