Added foot to the default terminal list

This commit is contained in:
Scoopta 2022-05-02 01:02:09 -07:00
parent 43b1de994f
commit 4ec3df5df5
4 changed files with 5 additions and 5 deletions

View File

@ -106,7 +106,7 @@ Returns true if the user was holding control when selecting an entry, false othe
.TP .TP
.B void wofi_term_run(const char* cmd) .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 .B const char* cmd
\- The command to run, this is invoked by doing \fBterm \-\- cmd\fR. \- The command to run, this is invoked by doing \fBterm \-\- cmd\fR.

View File

@ -63,7 +63,7 @@ Allows pango markup to be processed and rendered.
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. 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 .TP
.B \-t, \-\-term=\fITERM\fR .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 .TP
.B \-P, \-\-password \fR[character] .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. Runs wofi in password mode with an optional password character to use. If no character is specified * is used by default.

View File

@ -65,7 +65,7 @@ If true allows pango markup to be processed and rendered, default is false.
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. 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 .TP
.B term=\fITERM\fR .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 .TP
.B password=\fICHARACTER\fR .B password=\fICHARACTER\fR
Runs wofi in password mode using the specified character, default is false. Runs wofi in password mode using the specified character, default is false.

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2019-2020 Scoopta * Copyright (C) 2019-2022 Scoopta
* This file is part of Wofi * This file is part of Wofi
* Wofi is free software: you can redistribute it and/or modify * Wofi is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
@ -40,7 +40,7 @@
#include <pango/pango.h> #include <pango/pango.h>
#include <gdk/gdkwayland.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 { enum matching_mode {
MATCHING_MODE_CONTAINS, MATCHING_MODE_CONTAINS,