Merge pull request #517 from bebehei/typos

Fix typos
This commit is contained in:
Nikos Tsipinakis 2018-06-12 12:30:58 +03:00 committed by GitHub
commit 7bcb287ca2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 15 additions and 15 deletions

View File

@ -348,7 +348,7 @@ Set to -1 to disable.
Specifies how very long lines should be handled Specifies how very long lines should be handled
If it's set to false, long lines will be truncated an ellipsised. If it's set to false, long lines will be truncated and ellipsized.
If it's set to true, long lines will be broken into multiple lines expanding If it's set to true, long lines will be broken into multiple lines expanding
the notification window height as necessary for them to fit. the notification window height as necessary for them to fit.
@ -562,7 +562,7 @@ See TIME FORMAT for valid times.
=head1 HISTORY =head1 HISTORY
Dunst saves a number of notifications (specified by B<history_length>) in memory. Dunst saves a number of notifications (specified by B<history_length>) in memory.
These notifications can be recalled (i.e. redesiplayed) by pressing the These notifications can be recalled (i.e. redisplayed) by pressing the
B<history_key> (see the shortcuts section), whether these notifications will B<history_key> (see the shortcuts section), whether these notifications will
time out like if they have been just send depends on the value of the time out like if they have been just send depends on the value of the
B<sticky_history> setting. B<sticky_history> setting.
@ -669,7 +669,7 @@ actions. Dunst has support for both displaying indicators for these, and
interacting with these actions. interacting with these actions.
If "show_indicators" is true and a notification has an action, an "(A)" will be If "show_indicators" is true and a notification has an action, an "(A)" will be
prepended to the notification format. Likewise, an "(U)" is preneded to prepended to the notification format. Likewise, an "(U)" is prepended to
notifications with URLs. It is possible to interact with notifications that notifications with URLs. It is possible to interact with notifications that
have actions regardless of this setting, though it may not be obvious which have actions regardless of this setting, though it may not be obvious which
notifications HAVE actions. notifications HAVE actions.

View File

@ -140,7 +140,7 @@
# geometry. # geometry.
word_wrap = yes word_wrap = yes
# When word_wrap is set to no, specify where to ellipsize long lines. # When word_wrap is set to no, specify where to make an ellipsis in long lines.
# Possible values are "start", "middle" and "end". # Possible values are "start", "middle" and "end".
ellipsize = middle ellipsize = middle
@ -303,7 +303,7 @@
# fullscreen values # fullscreen values
# show: show the notifications, regardless if there is a fullscreen window opened # show: show the notifications, regardless if there is a fullscreen window opened
# delay: displays the new notification, if there is there is no fullscreen window active # delay: displays the new notification, if there is no fullscreen window active
# If the notification is already drawn, it won't get undrawn. # If the notification is already drawn, it won't get undrawn.
# pushback: same as delay, but when switching into fullscreen, the notification will get # pushback: same as delay, but when switching into fullscreen, the notification will get
# withdrawn from screen again and will get delayed like a new notification # withdrawn from screen again and will get delayed like a new notification

View File

@ -32,7 +32,7 @@ GMainLoop *mainloop = NULL;
GSList *rules = NULL; GSList *rules = NULL;
/* misc funtions */ /* misc functions */
static gboolean run(void *data); static gboolean run(void *data);
void wake_up(void) void wake_up(void)

View File

@ -51,7 +51,7 @@ void regex_teardown(void)
} }
/* /*
* Exctract all urls from a given string. * Extract all urls from a given string.
* *
* Return: a string of urls separated by \n * Return: a string of urls separated by \n
* *

View File

@ -158,14 +158,14 @@ gint64 queues_get_next_datachange(gint64 time);
/** /**
* Pause queue-management of dunst * Pause queue-management of dunst
* *
* @post Calling update_lists() is neccessary * @post Calling update_lists() is necessary
*/ */
void queues_pause_on(void); void queues_pause_on(void);
/** /**
* Unpause (run) queue-management of dunst * Unpause (run) queue-management of dunst
* *
* @post Calling update_lists() is neccessary * @post Calling update_lists() is necessary
*/ */
void queues_pause_off(void); void queues_pause_off(void);

View File

@ -183,7 +183,7 @@ void load_settings(char *cmdline_config_path)
settings.indicate_hidden = option_get_bool( settings.indicate_hidden = option_get_bool(
"global", "global",
"indicate_hidden", "-indicate_hidden", defaults.indicate_hidden, "indicate_hidden", "-indicate_hidden", defaults.indicate_hidden,
"Show how many notificaitons are hidden?" "Show how many notifications are hidden"
); );
settings.word_wrap = option_get_bool( settings.word_wrap = option_get_bool(
@ -365,7 +365,7 @@ void load_settings(char *cmdline_config_path)
settings.transparency = option_get_int( settings.transparency = option_get_int(
"global", "global",
"transparency", "-transparency", defaults.transparency, "transparency", "-transparency", defaults.transparency,
"Transparency. range 0-100" "Transparency. Range 0-100"
); );
settings.corner_radius = option_get_int( settings.corner_radius = option_get_int(
@ -585,7 +585,7 @@ void load_settings(char *cmdline_config_path)
settings.critfgcolor = option_get_string( settings.critfgcolor = option_get_string(
"urgency_critical", "urgency_critical",
"foreground", "-cf", defaults.critfgcolor, "foreground", "-cf", defaults.critfgcolor,
"Foreground color for notifications with ciritical urgency" "Foreground color for notifications with critical urgency"
); );
settings.critframecolor = option_get_string( settings.critframecolor = option_get_string(

View File

@ -317,7 +317,7 @@ screen_info *get_active_screen(void)
Window focused = get_focused_window(); Window focused = get_focused_window();
if (focused == 0) { if (focused == 0) {
/* something went wrong. Fallback to default */ /* something went wrong. Fall back to default */
ret = XDefaultScreen(xctx.dpy); ret = XDefaultScreen(xctx.dpy);
goto sc_cleanup; goto sc_cleanup;
} }
@ -337,7 +337,7 @@ screen_info *get_active_screen(void)
if (ret > 0) if (ret > 0)
goto sc_cleanup; goto sc_cleanup;
/* something seems to be wrong. Fallback to default */ /* something seems to be wrong. Fall back to default */
ret = XDefaultScreen(xctx.dpy); ret = XDefaultScreen(xctx.dpy);
goto sc_cleanup; goto sc_cleanup;
} }

View File

@ -341,7 +341,7 @@ gboolean x_mainloop_fd_dispatch(GSource *source, GSourceFunc callback, gpointer
wake_up(); wake_up();
} else if ( settings.f_mode != FOLLOW_NONE } else if ( settings.f_mode != FOLLOW_NONE
/* Ignore PropertyNotify, when we're still on the /* Ignore PropertyNotify, when we're still on the
* same screen. PropertyNotify is only neccessary * same screen. PropertyNotify is only necessary
* to detect a focus change to another screen * to detect a focus change to another screen
*/ */
&& win->visible && win->visible