i3bar: spelling fixes
This commit is contained in:
@ -41,7 +41,7 @@ typedef struct {
|
||||
} i3bar_child;
|
||||
|
||||
/*
|
||||
* Start a child-process with the specified command and reroute stdin.
|
||||
* Start a child process with the specified command and reroute stdin.
|
||||
* We actually start a $SHELL to execute the command so we don't have to care
|
||||
* about arguments and such
|
||||
*
|
||||
@ -49,26 +49,26 @@ typedef struct {
|
||||
void start_child(char *command);
|
||||
|
||||
/*
|
||||
* kill()s the child-process (if any). Called when exit()ing.
|
||||
* kill()s the child process (if any). Called when exit()ing.
|
||||
*
|
||||
*/
|
||||
void kill_child_at_exit(void);
|
||||
|
||||
/*
|
||||
* kill()s the child-process (if any) and closes and
|
||||
* free()s the stdin- and sigchild-watchers
|
||||
* kill()s the child process (if any) and closes and
|
||||
* free()s the stdin- and SIGCHLD-watchers
|
||||
*
|
||||
*/
|
||||
void kill_child(void);
|
||||
|
||||
/*
|
||||
* Sends a SIGSTOP to the child-process (if existent)
|
||||
* Sends a SIGSTOP to the child process (if existent)
|
||||
*
|
||||
*/
|
||||
void stop_child(void);
|
||||
|
||||
/*
|
||||
* Sends a SIGCONT to the child-process (if existent)
|
||||
* Sends a SIGCONT to the child process (if existent)
|
||||
*
|
||||
*/
|
||||
void cont_child(void);
|
||||
|
@ -49,7 +49,7 @@ typedef struct config_t {
|
||||
config_t config;
|
||||
|
||||
/**
|
||||
* Start parsing the received bar configuration json-string
|
||||
* Start parsing the received bar configuration JSON string
|
||||
*
|
||||
*/
|
||||
void parse_config_json(char *json);
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
/*
|
||||
* Initiate a connection to i3.
|
||||
* socket-path must be a valid path to the ipc_socket of i3
|
||||
* socket_path must be a valid path to the ipc_socket of i3
|
||||
*
|
||||
*/
|
||||
int init_connection(const char *socket_path);
|
||||
|
@ -4,7 +4,7 @@
|
||||
* i3bar - an xcb-based status- and ws-bar for i3
|
||||
* © 2010-2012 Axel Wagner and contributors (see also: LICENSE)
|
||||
*
|
||||
* mode.c: Handle mode-event and show current binding mode in the bar
|
||||
* mode.c: Handle "mode" event and show current binding mode in the bar
|
||||
*
|
||||
*/
|
||||
#pragma once
|
||||
@ -22,7 +22,7 @@ struct mode {
|
||||
typedef struct mode mode;
|
||||
|
||||
/*
|
||||
* Start parsing the received json-string
|
||||
* Start parsing the received JSON string
|
||||
*
|
||||
*/
|
||||
void parse_mode_json(char *json);
|
||||
|
@ -4,7 +4,7 @@
|
||||
* i3bar - an xcb-based status- and ws-bar for i3
|
||||
* © 2010-2012 Axel Wagner and contributors (see also: LICENSE)
|
||||
*
|
||||
* outputs.c: Maintaining the output-list
|
||||
* outputs.c: Maintaining the outputs list
|
||||
*
|
||||
*/
|
||||
#pragma once
|
||||
@ -19,13 +19,13 @@ SLIST_HEAD(outputs_head, i3_output);
|
||||
struct outputs_head* outputs;
|
||||
|
||||
/*
|
||||
* Start parsing the received json-string
|
||||
* Start parsing the received JSON string
|
||||
*
|
||||
*/
|
||||
void parse_outputs_json(char* json);
|
||||
|
||||
/*
|
||||
* Initiate the output-list
|
||||
* Initiate the outputs list
|
||||
*
|
||||
*/
|
||||
void init_outputs(void);
|
||||
@ -42,7 +42,7 @@ struct i3_output {
|
||||
bool primary; /* If it is the primary output */
|
||||
bool visible; /* If the bar is visible on this output */
|
||||
int ws; /* The number of the currently visible ws */
|
||||
rect rect; /* The rect (relative to the root-win) */
|
||||
rect rect; /* The rect (relative to the root window) */
|
||||
|
||||
xcb_window_t bar; /* The id of the bar of the output */
|
||||
xcb_pixmap_t buffer; /* An extra pixmap for double-buffering */
|
||||
|
@ -51,7 +51,7 @@
|
||||
#if defined(DLOG)
|
||||
#undef DLOG
|
||||
#endif
|
||||
/* Use cool logging-macros */
|
||||
/* Use cool logging macros */
|
||||
#define DLOG(fmt, ...) \
|
||||
do { \
|
||||
if (config.verbose) { \
|
||||
|
@ -4,7 +4,7 @@
|
||||
* i3bar - an xcb-based status- and ws-bar for i3
|
||||
* © 2010-2012 Axel Wagner and contributors (see also: LICENSE)
|
||||
*
|
||||
* workspaces.c: Maintaining the workspace-lists
|
||||
* workspaces.c: Maintaining the workspace lists
|
||||
*
|
||||
*/
|
||||
#pragma once
|
||||
@ -18,13 +18,13 @@ typedef struct i3_ws i3_ws;
|
||||
TAILQ_HEAD(ws_head, i3_ws);
|
||||
|
||||
/*
|
||||
* Start parsing the received json-string
|
||||
* Start parsing the received JSON string
|
||||
*
|
||||
*/
|
||||
void parse_workspaces_json(char *json);
|
||||
|
||||
/*
|
||||
* free() all workspace data-structures
|
||||
* free() all workspace data structures
|
||||
*
|
||||
*/
|
||||
void free_workspaces(void);
|
||||
@ -36,7 +36,7 @@ struct i3_ws {
|
||||
int name_width; /* The rendered width of the name */
|
||||
bool visible; /* If the ws is currently visible on an output */
|
||||
bool focused; /* If the ws is currently focused */
|
||||
bool urgent; /* If the urgent-hint of the ws is set */
|
||||
bool urgent; /* If the urgent hint of the ws is set */
|
||||
rect rect; /* The rect of the ws (not used (yet)) */
|
||||
struct i3_output *output; /* The current output of the ws */
|
||||
|
||||
|
@ -65,14 +65,14 @@ void init_xcb_late(char *fontname);
|
||||
void init_colors(const struct xcb_color_strings_t *colors);
|
||||
|
||||
/*
|
||||
* Cleanup the xcb-stuff.
|
||||
* Cleanup the xcb stuff.
|
||||
* Called once, before the program terminates.
|
||||
*
|
||||
*/
|
||||
void clean_xcb(void);
|
||||
|
||||
/*
|
||||
* Get the earlier requested atoms and save them in the prepared data-structure
|
||||
* Get the earlier requested atoms and save them in the prepared data structure
|
||||
*
|
||||
*/
|
||||
void get_atoms(void);
|
||||
@ -104,7 +104,7 @@ void init_tray_colors(void);
|
||||
void destroy_window(i3_output *output);
|
||||
|
||||
/*
|
||||
* Reallocate the statusline-buffer
|
||||
* Reallocate the statusline buffer
|
||||
*
|
||||
*/
|
||||
void realloc_sl_buffer(void);
|
||||
|
Reference in New Issue
Block a user