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
7e503e68
Unverified
Commit
7e503e68
authored
Mar 25, 2024
by
o0nd7ots
Committed by
GitHub
Mar 25, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed sources annotation (#407)
* Fixed sources annotation github supports jsonc Also unified shell commands to use zsh * Replaced `json` with `jsonc` where needed
parent
1b6380b2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
README.md
README.md
+10
-10
No files found.
README.md
View file @
7e503e68
...
...
@@ -141,7 +141,7 @@ sudo zypper install SwayNotificationCenter
Lunar and later:
```
```
zsh
sudo
apt
install
sway-notification-center
```
...
...
@@ -150,14 +150,14 @@ sudo apt install sway-notification-center
Bookworm and later:
```
```
zsh
sudo
apt
install
sway-notification-center
```
### Guix
The simplest way is to install it to user's profile:
```
```
zsh
guix
install
swaynotificationcenter
```
...
...
@@ -278,7 +278,7 @@ The active toggle button also gains the css-class ".toggle:checked"
`config.json`
example:
```
json
```
json
c
{
"buttons-grid": { // also works with actions in menubar widget
"actions": [
...
...
@@ -329,7 +329,7 @@ Notification information can be printed into a terminal by running
Config properties:
```
json
```
json
c
{
"scripts": {
"example-script": {
...
...
@@ -341,13 +341,13 @@ Config properties:
"category": "Notification category Regex"
}
}
other
non
scripting
properties...
//
other non scripting properties...
}
```
`config.json`
example:
```
json
```
json
c
{
"scripts": {
// This script will only run when Spotify sends a notification containing
...
...
@@ -359,7 +359,7 @@ Config properties:
"body": "Rick Astley - Whenever You Need Somebody"
}
}
other
non
scripting
properties...
//
other non scripting properties...
}
```
...
...
@@ -431,9 +431,9 @@ Waybar css file
Alternatively, the number of notifications can be shown by adding
`{}`
anywhere in the
`format`
field in the Waybar config
```
json
```
json
c
"custom/notification": {
"format": "{} {icon}",
...
//
...
},
```
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