mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-18 13:54:36 -05:00
Correct spelling mistakes. (#722)
This commit is contained in:
parent
54c45f8f5f
commit
79adae77d7
19 changed files with 23 additions and 23 deletions
|
@ -189,7 +189,7 @@ apt install rofi
|
||||||
|
|
||||||
#### Ubuntu 16.04 Xenial
|
#### Ubuntu 16.04 Xenial
|
||||||
|
|
||||||
**Please note that the latest version of rofi in Ubuntu 16.04 is extremly outdated (v0.15.11)**
|
**Please note that the latest version of rofi in Ubuntu 16.04 is extremely outdated (v0.15.11)**
|
||||||
|
|
||||||
This will cause issues with newer scripts (i.e. with clerk) and we recommend to manually download and install the deb file for zesty instead. You can find the deb on [ubuntu's launchpad page for rofi](https://launchpad.net/ubuntu/+source/rofi).
|
This will cause issues with newer scripts (i.e. with clerk) and we recommend to manually download and install the deb file for zesty instead. You can find the deb on [ubuntu's launchpad page for rofi](https://launchpad.net/ubuntu/+source/rofi).
|
||||||
|
|
||||||
|
|
|
@ -296,7 +296,7 @@ Start in case sensitive mode\. This option can be changed at run\-time using the
|
||||||
\fB\-cycle\fR
|
\fB\-cycle\fR
|
||||||
.
|
.
|
||||||
.P
|
.P
|
||||||
Cycle thru the result list\. Default is \'true\'\.
|
Cycle through the result list\. Default is \'true\'\.
|
||||||
.
|
.
|
||||||
.P
|
.P
|
||||||
\fB\-filter\fR \fIfilter\fR
|
\fB\-filter\fR \fIfilter\fR
|
||||||
|
@ -1246,7 +1246,7 @@ Or:
|
||||||
The first two fields specify the alpha level\. This determines the amount of transparency (00 everything, FF nothing)\. The other fields represent the actual color, in hex\.
|
The first two fields specify the alpha level\. This determines the amount of transparency (00 everything, FF nothing)\. The other fields represent the actual color, in hex\.
|
||||||
.
|
.
|
||||||
.P
|
.P
|
||||||
Transparency can be used within \fBrofi\fR, for example if the selected background color is 50% transparent, the background color of the window will be visible thru it\.
|
Transparency can be used within \fBrofi\fR, for example if the selected background color is 50% transparent, the background color of the window will be visible through it\.
|
||||||
.
|
.
|
||||||
.SH "KEY BINDINGS"
|
.SH "KEY BINDINGS"
|
||||||
\fBrofi\fR has the following key bindings:
|
\fBrofi\fR has the following key bindings:
|
||||||
|
|
|
@ -165,7 +165,7 @@ This option can be changed at run-time using the `-kb-toggle-case-sensitivity` k
|
||||||
|
|
||||||
`-cycle`
|
`-cycle`
|
||||||
|
|
||||||
Cycle thru the result list. Default is 'true'.
|
Cycle through the result list. Default is 'true'.
|
||||||
|
|
||||||
`-filter` *filter*
|
`-filter` *filter*
|
||||||
|
|
||||||
|
@ -754,7 +754,7 @@ Or:
|
||||||
The first two fields specify the alpha level. This determines the amount of transparency (00 everything, FF nothing). The other fields represent the actual color, in hex.
|
The first two fields specify the alpha level. This determines the amount of transparency (00 everything, FF nothing). The other fields represent the actual color, in hex.
|
||||||
|
|
||||||
Transparency can be used within **rofi**, for example if the selected background color is 50% transparent, the background color
|
Transparency can be used within **rofi**, for example if the selected background color is 50% transparent, the background color
|
||||||
of the window will be visible thru it.
|
of the window will be visible through it.
|
||||||
|
|
||||||
## KEY BINDINGS
|
## KEY BINDINGS
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
*
|
*
|
||||||
* SSH Mode, returns a list of known SSH hosts the user can log into.
|
* SSH Mode, returns a list of known SSH hosts the user can log into.
|
||||||
* It does this by parsing the SSH config file and optional the known host and host list
|
* It does this by parsing the SSH config file and optional the known host and host list
|
||||||
* It also keeps history of the last choosen hosts.
|
* It also keeps history of the last chosen hosts.
|
||||||
*
|
*
|
||||||
* This mode uses the following options from the #config object:
|
* This mode uses the following options from the #config object:
|
||||||
* * #Settings::ssh_command
|
* * #Settings::ssh_command
|
||||||
|
|
|
@ -238,7 +238,7 @@ gchar *rofi_escape_markup ( gchar *text );
|
||||||
* @param pattern The user input to match against.
|
* @param pattern The user input to match against.
|
||||||
* @param plen Pattern length.
|
* @param plen Pattern length.
|
||||||
* @param str The input to match against pattern.
|
* @param str The input to match against pattern.
|
||||||
* @param slen Lenght of str.
|
* @param slen Length of str.
|
||||||
*
|
*
|
||||||
* FZF like fuzzy sorting algorithm.
|
* FZF like fuzzy sorting algorithm.
|
||||||
*
|
*
|
||||||
|
|
|
@ -91,7 +91,7 @@ typedef int ( *_mode_token_match )( const Mode *data, rofi_int_matcher **tokens,
|
||||||
*
|
*
|
||||||
* Initialize the mode.
|
* Initialize the mode.
|
||||||
*
|
*
|
||||||
* @returns TRUE is successfull
|
* @returns TRUE is successful
|
||||||
*/
|
*/
|
||||||
typedef int ( *__mode_init )( Mode *sw );
|
typedef int ( *__mode_init )( Mode *sw );
|
||||||
|
|
||||||
|
|
|
@ -106,7 +106,7 @@ struct RofiViewState
|
||||||
int mouse_seen;
|
int mouse_seen;
|
||||||
/** Flag indicating if view needs to be reloaded. */
|
/** Flag indicating if view needs to be reloaded. */
|
||||||
int reload;
|
int reload;
|
||||||
/** The funciton to be called when finalizing this view */
|
/** The function to be called when finalizing this view */
|
||||||
void ( *finalize )( struct RofiViewState *state );
|
void ( *finalize )( struct RofiViewState *state );
|
||||||
|
|
||||||
/** Width of the view */
|
/** Width of the view */
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
*
|
*
|
||||||
* Widget used to pack multiple widgets either horizontally or vertically.
|
* Widget used to pack multiple widgets either horizontally or vertically.
|
||||||
* It supports packing widgets horizontally or vertically. Child widgets are always
|
* It supports packing widgets horizontally or vertically. Child widgets are always
|
||||||
* expanded to the maximum size in the oposite direction of the packing direction.
|
* expanded to the maximum size in the opposite direction of the packing direction.
|
||||||
* e.g. vertically packed widgets use the full box width.
|
* e.g. vertically packed widgets use the full box width.
|
||||||
*
|
*
|
||||||
* @{
|
* @{
|
||||||
|
|
|
@ -119,7 +119,7 @@ typedef enum
|
||||||
* @param name The name of the to be created widget.
|
* @param name The name of the to be created widget.
|
||||||
* @param flags #TextboxFlags indicating the type of textbox.
|
* @param flags #TextboxFlags indicating the type of textbox.
|
||||||
* @param tbft #TextBoxFontType current state of textbox.
|
* @param tbft #TextBoxFontType current state of textbox.
|
||||||
* @param text intial text to display.
|
* @param text initial text to display.
|
||||||
* @param xalign Set the Xalign value.
|
* @param xalign Set the Xalign value.
|
||||||
* @param yalign set the yalign value.
|
* @param yalign set the yalign value.
|
||||||
*
|
*
|
||||||
|
|
|
@ -203,14 +203,14 @@ int widget_get_width ( widget *widget );
|
||||||
/**
|
/**
|
||||||
* @param widget The widget handle
|
* @param widget The widget handle
|
||||||
*
|
*
|
||||||
* @returns the y postion of the widget relative to its parent.
|
* @returns the y position of the widget relative to its parent.
|
||||||
*/
|
*/
|
||||||
int widget_get_y_pos ( widget *widget );
|
int widget_get_y_pos ( widget *widget );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param widget The widget handle
|
* @param widget The widget handle
|
||||||
*
|
*
|
||||||
* @returns the x postion of the widget relative to its parent.
|
* @returns the x position of the widget relative to its parent.
|
||||||
*/
|
*/
|
||||||
int widget_get_x_pos ( widget *widget );
|
int widget_get_x_pos ( widget *widget );
|
||||||
|
|
||||||
|
|
|
@ -121,7 +121,7 @@ void config_parse_xresource_dump ( void );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param type The type of the value
|
* @param type The type of the value
|
||||||
* @param key The key refering to this configuration option
|
* @param key The key referring to this configuration option
|
||||||
* @param value The value to update based [out][in]
|
* @param value The value to update based [out][in]
|
||||||
* @param comment Description of this configuration option
|
* @param comment Description of this configuration option
|
||||||
*
|
*
|
||||||
|
|
|
@ -491,7 +491,7 @@ t_property_distance_zero
|
||||||
;
|
;
|
||||||
/** Distance. */
|
/** Distance. */
|
||||||
t_property_distance
|
t_property_distance
|
||||||
/** Interger unit and line style */
|
/** Integer unit and line style */
|
||||||
: T_INT t_property_unit t_property_line_style {
|
: T_INT t_property_unit t_property_line_style {
|
||||||
$$.distance = (double)$1;
|
$$.distance = (double)$1;
|
||||||
$$.type = $2;
|
$$.type = $2;
|
||||||
|
|
|
@ -56,7 +56,7 @@
|
||||||
|
|
||||||
#include "timings.h"
|
#include "timings.h"
|
||||||
/**
|
/**
|
||||||
* Name of the history file where previously choosen commands are stored.
|
* Name of the history file where previously chosen commands are stored.
|
||||||
*/
|
*/
|
||||||
#define RUN_CACHE_FILE "rofi-3.runcache"
|
#define RUN_CACHE_FILE "rofi-3.runcache"
|
||||||
|
|
||||||
|
|
|
@ -57,7 +57,7 @@
|
||||||
#include "dialogs/ssh.h"
|
#include "dialogs/ssh.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Name of the history file where previously choosen hosts are stored.
|
* Name of the history file where previously chosen hosts are stored.
|
||||||
*/
|
*/
|
||||||
#define SSH_CACHE_FILE "rofi-2.sshcache"
|
#define SSH_CACHE_FILE "rofi-2.sshcache"
|
||||||
|
|
||||||
|
|
|
@ -865,7 +865,7 @@ static int rofi_scorer_get_score_for ( enum CharClass prev, enum CharClass curr
|
||||||
* @param pattern The user input to match against.
|
* @param pattern The user input to match against.
|
||||||
* @param plen Pattern length.
|
* @param plen Pattern length.
|
||||||
* @param str The input to match against pattern.
|
* @param str The input to match against pattern.
|
||||||
* @param slen Lenght of str.
|
* @param slen Length of str.
|
||||||
*
|
*
|
||||||
* rofi_scorer_fuzzy_evaluate implements a global sequence alignment algorithm to find the maximum accumulated score by
|
* rofi_scorer_fuzzy_evaluate implements a global sequence alignment algorithm to find the maximum accumulated score by
|
||||||
* aligning `pattern` to `str`. It applies when `pattern` is a subsequence of `str`.
|
* aligning `pattern` to `str`. It applies when `pattern` is a subsequence of `str`.
|
||||||
|
|
|
@ -1827,7 +1827,7 @@ void rofi_view_workers_initialize ( void )
|
||||||
// We are allowed to have
|
// We are allowed to have
|
||||||
g_thread_pool_set_max_threads ( tpool, config.threads, &error );
|
g_thread_pool_set_max_threads ( tpool, config.threads, &error );
|
||||||
}
|
}
|
||||||
// If error occured during setup of pool, tell user and exit.
|
// If error occurred during setup of pool, tell user and exit.
|
||||||
if ( error != NULL ) {
|
if ( error != NULL ) {
|
||||||
g_warning ( "Failed to setup thread pool: '%s'", error->message );
|
g_warning ( "Failed to setup thread pool: '%s'", error->message );
|
||||||
g_error_free ( error );
|
g_error_free ( error );
|
||||||
|
|
|
@ -206,7 +206,7 @@ static void barview_draw ( widget *wid, cairo_t *draw )
|
||||||
int right_offset = lv->widget.w - widget_padding_get_right ( wid );
|
int right_offset = lv->widget.w - widget_padding_get_right ( wid );
|
||||||
int top_offset = widget_padding_get_top ( wid );
|
int top_offset = widget_padding_get_top ( wid );
|
||||||
if ( lv->cur_elements > 0 ) {
|
if ( lv->cur_elements > 0 ) {
|
||||||
// Set new x/y possition.
|
// Set new x/y position.
|
||||||
unsigned int max = MIN ( lv->cur_elements, lv->req_elements - offset );
|
unsigned int max = MIN ( lv->cur_elements, lv->req_elements - offset );
|
||||||
if ( lv->rchanged ) {
|
if ( lv->rchanged ) {
|
||||||
int first = TRUE;
|
int first = TRUE;
|
||||||
|
@ -302,7 +302,7 @@ static void listview_draw ( widget *wid, cairo_t *draw )
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
if ( lv->cur_elements > 0 && lv->max_rows > 0 ) {
|
if ( lv->cur_elements > 0 && lv->max_rows > 0 ) {
|
||||||
// Set new x/y possition.
|
// Set new x/y position.
|
||||||
unsigned int max = MIN ( lv->cur_elements, lv->req_elements - offset );
|
unsigned int max = MIN ( lv->cur_elements, lv->req_elements - offset );
|
||||||
if ( lv->rchanged ) {
|
if ( lv->rchanged ) {
|
||||||
unsigned int width = lv->widget.w - spacing_hori * ( lv->cur_columns - 1 );
|
unsigned int width = lv->widget.w - spacing_hori * ( lv->cur_columns - 1 );
|
||||||
|
|
|
@ -108,7 +108,7 @@ static WidgetTriggerActionResult textbox_editable_trigger_action ( widget *wid,
|
||||||
case MOUSE_CLICK_DOWN:
|
case MOUSE_CLICK_DOWN:
|
||||||
{
|
{
|
||||||
gint i;
|
gint i;
|
||||||
// substract padding on left.
|
// subtract padding on left.
|
||||||
x -= widget_padding_get_left ( wid );
|
x -= widget_padding_get_left ( wid );
|
||||||
gint max = textbox_get_font_width ( tb );
|
gint max = textbox_get_font_width ( tb );
|
||||||
// Right of text, move to end.
|
// Right of text, move to end.
|
||||||
|
|
|
@ -185,7 +185,7 @@ void widget_draw ( widget *widget, cairo_t *d )
|
||||||
}
|
}
|
||||||
|
|
||||||
// Background painting.
|
// Background painting.
|
||||||
// Set new x/y possition.
|
// Set new x/y position.
|
||||||
cairo_translate ( d, widget->x, widget->y );
|
cairo_translate ( d, widget->x, widget->y );
|
||||||
cairo_set_line_width ( d, 0 );
|
cairo_set_line_width ( d, 0 );
|
||||||
// Set outlines.
|
// Set outlines.
|
||||||
|
|
Loading…
Reference in a new issue