From 0a057450fe804c545b50989de43e92876a890d59 Mon Sep 17 00:00:00 2001 From: Benedikt Heine Date: Mon, 26 Feb 2018 17:01:30 +0100 Subject: [PATCH] Fix typos --- docs/dunst.pod | 6 +++--- dunstrc | 4 ++-- src/dunst.c | 2 +- src/menu.c | 2 +- src/queues.h | 4 ++-- src/settings.c | 6 +++--- src/x11/screen.c | 4 ++-- src/x11/x.c | 2 +- 8 files changed, 15 insertions(+), 15 deletions(-) diff --git a/docs/dunst.pod b/docs/dunst.pod index f2af6ef..41ccfb6 100644 --- a/docs/dunst.pod +++ b/docs/dunst.pod @@ -348,7 +348,7 @@ Set to -1 to disable. 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 the notification window height as necessary for them to fit. @@ -562,7 +562,7 @@ See TIME FORMAT for valid times. =head1 HISTORY Dunst saves a number of notifications (specified by B) 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 (see the shortcuts section), whether these notifications will time out like if they have been just send depends on the value of the B setting. @@ -669,7 +669,7 @@ actions. Dunst has support for both displaying indicators for these, and interacting with these actions. 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 have actions regardless of this setting, though it may not be obvious which notifications HAVE actions. diff --git a/dunstrc b/dunstrc index 4fba54d..406c7a7 100644 --- a/dunstrc +++ b/dunstrc @@ -140,7 +140,7 @@ # geometry. 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". ellipsize = middle @@ -303,7 +303,7 @@ # fullscreen values # 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. # 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 diff --git a/src/dunst.c b/src/dunst.c index 8b6ae46..20d7cf5 100644 --- a/src/dunst.c +++ b/src/dunst.c @@ -32,7 +32,7 @@ GMainLoop *mainloop = NULL; GSList *rules = NULL; -/* misc funtions */ +/* misc functions */ static gboolean run(void *data); void wake_up(void) diff --git a/src/menu.c b/src/menu.c index 2689839..ee90ed9 100644 --- a/src/menu.c +++ b/src/menu.c @@ -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 * diff --git a/src/queues.h b/src/queues.h index 7cdd9f1..2bda3e8 100644 --- a/src/queues.h +++ b/src/queues.h @@ -158,14 +158,14 @@ gint64 queues_get_next_datachange(gint64 time); /** * Pause queue-management of dunst * - * @post Calling update_lists() is neccessary + * @post Calling update_lists() is necessary */ void queues_pause_on(void); /** * Unpause (run) queue-management of dunst * - * @post Calling update_lists() is neccessary + * @post Calling update_lists() is necessary */ void queues_pause_off(void); diff --git a/src/settings.c b/src/settings.c index 173c910..7f4e584 100644 --- a/src/settings.c +++ b/src/settings.c @@ -183,7 +183,7 @@ void load_settings(char *cmdline_config_path) settings.indicate_hidden = option_get_bool( "global", "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( @@ -365,7 +365,7 @@ void load_settings(char *cmdline_config_path) settings.transparency = option_get_int( "global", "transparency", "-transparency", defaults.transparency, - "Transparency. range 0-100" + "Transparency. Range 0-100" ); settings.corner_radius = option_get_int( @@ -585,7 +585,7 @@ void load_settings(char *cmdline_config_path) settings.critfgcolor = option_get_string( "urgency_critical", "foreground", "-cf", defaults.critfgcolor, - "Foreground color for notifications with ciritical urgency" + "Foreground color for notifications with critical urgency" ); settings.critframecolor = option_get_string( diff --git a/src/x11/screen.c b/src/x11/screen.c index e18fd51..35df29c 100644 --- a/src/x11/screen.c +++ b/src/x11/screen.c @@ -317,7 +317,7 @@ screen_info *get_active_screen(void) Window focused = get_focused_window(); if (focused == 0) { - /* something went wrong. Fallback to default */ + /* something went wrong. Fall back to default */ ret = XDefaultScreen(xctx.dpy); goto sc_cleanup; } @@ -337,7 +337,7 @@ screen_info *get_active_screen(void) if (ret > 0) goto sc_cleanup; - /* something seems to be wrong. Fallback to default */ + /* something seems to be wrong. Fall back to default */ ret = XDefaultScreen(xctx.dpy); goto sc_cleanup; } diff --git a/src/x11/x.c b/src/x11/x.c index bda92e5..4e55def 100644 --- a/src/x11/x.c +++ b/src/x11/x.c @@ -341,7 +341,7 @@ gboolean x_mainloop_fd_dispatch(GSource *source, GSourceFunc callback, gpointer wake_up(); } else if ( settings.f_mode != FOLLOW_NONE /* 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 */ && win->visible