Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
ximper-shell-notification-center
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
ximper-shell-notification-center
Commits
12ec6012
Unverified
Commit
12ec6012
authored
Dec 13, 2022
by
Adam Borowski
Committed by
GitHub
Dec 13, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
a bunch of typo fixes (#187)
parent
13ca0361
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
15 additions
and
15 deletions
+15
-15
bug_report.md
.github/ISSUE_TEMPLATE/bug_report.md
+1
-1
README.md
README.md
+2
-2
swaync.1.scd
man/swaync.1.scd
+1
-1
swaync.5.scd
man/swaync.5.scd
+3
-3
configModel.vala
src/configModel/configModel.vala
+2
-2
dnd.vala
src/controlCenter/widgets/dnd/dnd.vala
+1
-1
title.vala
src/controlCenter/widgets/title/title.vala
+1
-1
main.vala
src/main.vala
+1
-1
meson.build
src/meson.build
+1
-1
notiDaemon.vala
src/notiDaemon/notiDaemon.vala
+1
-1
swayncDaemon.vala
src/swayncDaemon/swayncDaemon.vala
+1
-1
No files found.
.github/ISSUE_TEMPLATE/bug_report.md
View file @
12ec6012
...
@@ -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 notifi
c
ation 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**
...
...
README.md
View file @
12ec6012
...
@@ -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 overla
ye
d package:
The package can be downloaded from COPR after adding the COPR repo as a ostree repo, and installed as a overla
i
d 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 prope
r
ties 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
...
...
man/swaync.1.scd
View file @
12ec6012
...
@@ -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 prope
r
ties 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
...
...
man/swaync.5.scd
View file @
12ec6012
...
@@ -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 proper
it
es, that ++
If the notification doesn't include one of the proper
ti
es, 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: W
h
ether 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 proper
it
es, ++
notification. If the notification doesn't include one of the proper
ti
es, ++
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. ++
...
...
src/configModel/configModel.vala
View file @
12ec6012
...
@@ -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 access
a
ble config will be used
* `path` is "null", the default user access
i
ble 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 access
a
ble config
// Use the default user access
i
ble 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
(),
...
...
src/controlCenter/widgets/dnd/dnd.vala
View file @
12ec6012
...
@@ -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 to
r
wards 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
);
...
...
src/controlCenter/widgets/title/title.vala
View file @
12ec6012
...
@@ -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 to
r
wards 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
);
}
}
...
...
src/main.vala
View file @
12ec6012
...
@@ -47,7 +47,7 @@ namespace SwayNotificationCenter {
...
@@ -47,7 +47,7 @@ namespace SwayNotificationCenter {
()
=>
{},
()
=>
{},
()
=>
{
()
=>
{
stderr
.
printf
(
stderr
.
printf
(
"Could not aquire swaync name!...\n"
);
"Could not a
c
quire swaync name!...\n"
);
Process
.
exit
(
1
);
Process
.
exit
(
1
);
});
});
...
...
src/meson.build
View file @
12ec6012
# Sets the version to a vala variable in Contants.vala
# Sets the version to a vala variable in Con
s
tants.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()
...
...
src/notiDaemon/notiDaemon.vala
View file @
12ec6012
...
@@ -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"
)]
...
...
src/swayncDaemon/swayncDaemon.vala
View file @
12ec6012
...
@@ -24,7 +24,7 @@ namespace SwayNotificationCenter {
...
@@ -24,7 +24,7 @@ namespace SwayNotificationCenter {
()
=>
{},
()
=>
{},
()
=>
{
()
=>
{
stderr
.
printf
(
stderr
.
printf
(
"Could not aquire notification name. "
+
"Could not a
c
quire 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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment