Added foot to the default terminal list
4 files changed, 5 insertions(+), 5 deletions(-)

M man/wofi-api.3
M man/wofi.1
M man/wofi.5
M src/wofi.c
M man/wofi-api.3 +1 -1
@@ 106,7 106,7 @@ Returns true if the user was holding con
 
 .TP
 .B void wofi_term_run(const char* cmd)
-Runs the provided cmd in a terminal emulator. The following order is used for picking a terminal emulator: The user specified terminal, kitty, termite, gnome\-terminal, weston\-terminal. If none of these can be found execution will fail.
+Runs the provided cmd in a terminal emulator. The following order is used for picking a terminal emulator: The user specified terminal, kitty, termite, alacritty, foot, gnome\-terminal, weston\-terminal. If none of these can be found execution will fail.
 
 .B const char* cmd
 \- The command to run, this is invoked by doing \fBterm \-\- cmd\fR.

          
M man/wofi.1 +1 -1
@@ 63,7 63,7 @@ Allows pango markup to be processed and 
 Specifies the cache file to load/store cache, default is $XDG_CACHE_HOME/wofi\-<mode name> where <mode name> is the name of the mode, if $XDG_CACHE_HOME is not specified ~/.cache is used.
 .TP
 .B \-t, \-\-term=\fITERM\fR
-Specifies the term to use when running a program in a terminal. This overrides the default terminal run order which is kitty, termite, gnome\-terminal, weston\-terminal in that order.
+Specifies the term to use when running a program in a terminal. This overrides the default terminal run order which is kitty, termite, alacritty, foot, gnome\-terminal, weston\-terminal in that order.
 .TP
 .B \-P, \-\-password \fR[character]
 Runs wofi in password mode with an optional password character to use. If no character is specified * is used by default.

          
M man/wofi.5 +1 -1
@@ 65,7 65,7 @@ If true allows pango markup to be proces
 Specifies the cache file to load/store cache, default is $XDG_CACHE_HOME/wofi\-<mode name> where <mode name> is the name of the mode, if $XDG_CACHE_HOME is not specified ~/.cache is used.
 .TP
 .B term=\fITERM\fR
-Specifies the term to use when running a program in a terminal. This overrides the default terminal run order which is kitty, termite, gnome\-terminal, weston\-terminal in that order.
+Specifies the term to use when running a program in a terminal. This overrides the default terminal run order which is kitty, termite, alacritty, foot, gnome\-terminal, weston\-terminal in that order.
 .TP
 .B password=\fICHARACTER\fR
 Runs wofi in password mode using the specified character, default is false.

          
M src/wofi.c +2 -2
@@ 1,5 1,5 @@ 
 /*
- *  Copyright (C) 2019-2020 Scoopta
+ *  Copyright (C) 2019-2022 Scoopta
  *  This file is part of Wofi
  *  Wofi is free software: you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by

          
@@ 40,7 40,7 @@ 
 #include <pango/pango.h>
 #include <gdk/gdkwayland.h>
 
-static const char* terminals[] = {"kitty", "termite", "alacritty", "gnome-terminal", "weston-terminal"};
+static const char* terminals[] = {"kitty", "termite", "alacritty", "foot", "gnome-terminal", "weston-terminal"};
 
 enum matching_mode {
 	MATCHING_MODE_CONTAINS,