Unverified Commit 12ec6012 authored by Adam Borowski's avatar Adam Borowski Committed by GitHub

a bunch of typo fixes (#187)

parent 13ca0361
...@@ -23,7 +23,7 @@ Steps to reproduce the behavior: ...@@ -23,7 +23,7 @@ Steps to reproduce the behavior:
**Expected behavior** **Expected behavior**
A clear and concise description of what you expected to happen. A clear and concise description of what you expected to happen.
**Please provide logs if you're experiencing notifiation errors / bugs** **Please provide logs if you're experiencing notification errors / bugs**
Attach Gists for swaync logs by running `G_MESSAGES_DEBUG=all swaync` and (if applicable) application logs. Attach Gists for swaync logs by running `G_MESSAGES_DEBUG=all swaync` and (if applicable) application logs.
**Screenshots** **Screenshots**
......
...@@ -66,7 +66,7 @@ dnf install SwayNotificationCenter ...@@ -66,7 +66,7 @@ dnf install SwayNotificationCenter
``` ```
Fedora Silverblue (and other rpm-ostree variants): Fedora Silverblue (and other rpm-ostree variants):
The package can be downloaded from COPR after adding the COPR repo as a ostree repo, and installed as a overlayed package: The package can be downloaded from COPR after adding the COPR repo as a ostree repo, and installed as a overlaid package:
```zsh ```zsh
ostree remote add SwayNotificationCenter https://download.copr.fedorainfracloud.org/results/erikreider/SwayNotificationCenter/fedora-$releasever-$basearch/ ostree remote add SwayNotificationCenter https://download.copr.fedorainfracloud.org/results/erikreider/SwayNotificationCenter/fedora-$releasever-$basearch/
rpm-ostree install SwayNotificationCenter rpm-ostree install SwayNotificationCenter
...@@ -156,7 +156,7 @@ Scripting rules and logic: ...@@ -156,7 +156,7 @@ Scripting rules and logic:
. <b>Only one</b> script can be fired per notification . <b>Only one</b> script can be fired per notification
. Each script requires `exec` and at least one of the other properties . Each script requires `exec` and at least one of the other properties
. All listed properties must match the notification for the script to be ran . All listed properties must match the notification for the script to be ran
. If any of the propeties doesn't match, the script will be skipped . If any of the properties doesn't match, the script will be skipped
. If a notification doesn't include one of the properties, that property will . If a notification doesn't include one of the properties, that property will
be skipped be skipped
......
...@@ -63,7 +63,7 @@ Scripting rules and logic: ...@@ -63,7 +63,7 @@ Scripting rules and logic:
. *Only one* script can be fired per notification . *Only one* script can be fired per notification
. Each script requires `exec` and at least one of the other properties . Each script requires `exec` and at least one of the other properties
. All listed properties must match the notification for the script to be ran . All listed properties must match the notification for the script to be ran
. If any of the propeties doesn't match, the script will be skipped . If any of the properties doesn't match, the script will be skipped
. If a notification doesn't include one of the properties, that property will be skipped . If a notification doesn't include one of the properties, that property will be skipped
Notification information can be printed into a terminal by running Notification information can be printed into a terminal by running
......
...@@ -148,7 +148,7 @@ config file to be able to detect config errors ...@@ -148,7 +148,7 @@ config file to be able to detect config errors
optional: true ++ optional: true ++
description: Which category the notification belongs to. Uses Regex.++ description: Which category the notification belongs to. Uses Regex.++
description: Set the visibility of each incoming notification. ++ description: Set the visibility of each incoming notification. ++
If the notification doesn't include one of the properites, that ++ If the notification doesn't include one of the properties, that ++
property will be ignored. All properties (except for state) use ++ property will be ignored. All properties (except for state) use ++
regex. If all properties match the given notification, the ++ regex. If all properties match the given notification, the ++
notification will be follow the provided state. ++ notification will be follow the provided state. ++
...@@ -222,7 +222,7 @@ config file to be able to detect config errors ...@@ -222,7 +222,7 @@ config file to be able to detect config errors
type: bool ++ type: bool ++
optional: true ++ optional: true ++
default: true ++ default: true ++
description: Wether to display a "Clear All" button ++ description: Whether to display a "Clear All" button ++
button-text: ++ button-text: ++
type: string ++ type: string ++
optional: true ++ optional: true ++
...@@ -334,7 +334,7 @@ config file to be able to detect config errors ...@@ -334,7 +334,7 @@ config file to be able to detect config errors
optional: true ++ optional: true ++
description: Which category the notification belongs to. Uses Regex.++ description: Which category the notification belongs to. Uses Regex.++
description: Which scripts to check and potentially run for every ++ description: Which scripts to check and potentially run for every ++
notification. If the notification doesn't include one of the properites, ++ notification. If the notification doesn't include one of the properties, ++
that property will be ignored. All properties (except for exec) use regex. ++ that property will be ignored. All properties (except for exec) use regex. ++
If all properties match the given notification, the script will be run. ++ If all properties match the given notification, the script will be run. ++
Only the first matching script will be run. ++ Only the first matching script will be run. ++
......
...@@ -989,13 +989,13 @@ namespace SwayNotificationCenter { ...@@ -989,13 +989,13 @@ namespace SwayNotificationCenter {
/** /**
* Writes and replaces settings with the new settings in `path`. If * Writes and replaces settings with the new settings in `path`. If
* `path` is "null", the default user accessable config will be used * `path` is "null", the default user accessible config will be used
* ("~/.config/swaync/config.json") * ("~/.config/swaync/config.json")
*/ */
private bool write_to_file (owned string ? path = null) { private bool write_to_file (owned string ? path = null) {
try { try {
if (path == null) { if (path == null) {
// Use the default user accessable config // Use the default user accessible config
string dir_path = Path.build_path ( string dir_path = Path.build_path (
Path.DIR_SEPARATOR.to_string (), Path.DIR_SEPARATOR.to_string (),
Environment.get_user_config_dir (), Environment.get_user_config_dir (),
......
...@@ -39,7 +39,7 @@ namespace SwayNotificationCenter.Widgets { ...@@ -39,7 +39,7 @@ namespace SwayNotificationCenter.Widgets {
dnd_button.set_can_focus (false); dnd_button.set_can_focus (false);
dnd_button.valign = Gtk.Align.CENTER; dnd_button.valign = Gtk.Align.CENTER;
// Backwards compatible torwards older CSS stylesheets // Backwards compatible towards older CSS stylesheets
dnd_button.get_style_context ().add_class ("control-center-dnd"); dnd_button.get_style_context ().add_class ("control-center-dnd");
pack_end (dnd_button, false); pack_end (dnd_button, false);
......
...@@ -44,7 +44,7 @@ namespace SwayNotificationCenter.Widgets { ...@@ -44,7 +44,7 @@ namespace SwayNotificationCenter.Widgets {
}); });
clear_all_button.set_can_focus (false); clear_all_button.set_can_focus (false);
clear_all_button.valign = Gtk.Align.CENTER; clear_all_button.valign = Gtk.Align.CENTER;
// Backwards compatible torwards older CSS stylesheets // Backwards compatible towards older CSS stylesheets
clear_all_button.get_style_context ().add_class ("control-center-clear-all"); clear_all_button.get_style_context ().add_class ("control-center-clear-all");
pack_end (clear_all_button, false); pack_end (clear_all_button, false);
} }
......
...@@ -47,7 +47,7 @@ namespace SwayNotificationCenter { ...@@ -47,7 +47,7 @@ namespace SwayNotificationCenter {
() => {}, () => {},
() => { () => {
stderr.printf ( stderr.printf (
"Could not aquire swaync name!...\n"); "Could not acquire swaync name!...\n");
Process.exit (1); Process.exit (1);
}); });
......
# Sets the version to a vala variable in Contants.vala # Sets the version to a vala variable in Constants.vala
version = '@0@'.format(meson.project_version()) version = '@0@'.format(meson.project_version())
git = find_program('git', native: true, required: false) git = find_program('git', native: true, required: false)
if git.found() if git.found()
......
...@@ -87,7 +87,7 @@ namespace SwayNotificationCenter { ...@@ -87,7 +87,7 @@ namespace SwayNotificationCenter {
* *
* New vendor-specific caps may be specified as long as they start with * New vendor-specific caps may be specified as long as they start with
* "x-vendor". For instance, "x-gnome-foo-cap". Capability names must * "x-vendor". For instance, "x-gnome-foo-cap". Capability names must
* not contain spaces. They are limited to alpha-numeric characters * not contain spaces. They are limited to alphanumeric characters
* and dashes ("-"). * and dashes ("-").
*/ */
[DBus (name = "GetCapabilities")] [DBus (name = "GetCapabilities")]
......
...@@ -24,7 +24,7 @@ namespace SwayNotificationCenter { ...@@ -24,7 +24,7 @@ namespace SwayNotificationCenter {
() => {}, () => {},
() => { () => {
stderr.printf ( stderr.printf (
"Could not aquire notification name. " + "Could not acquire notification name. " +
"Please close any other notification daemon " + "Please close any other notification daemon " +
"like mako or dunst\n"); "like mako or dunst\n");
Process.exit (1); Process.exit (1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment