From 142e78071cbd7ddc2228cc707a583e081ec3bdf2 Mon Sep 17 00:00:00 2001 From: Onur Date: Thu, 3 Oct 2024 18:45:21 +0300 Subject: [PATCH] Update rofi-sensible-terminal to include foot --- doc/rofi-sensible-terminal.1.markdown | 1 + script/rofi-sensible-terminal | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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