Erik Reider
c54bf8ba16
Added hide and close latest notification to client ( #113 )
2022-04-18 00:18:46 +02:00
Nicolas Berbiche
f400e4a134
Make notification center width and height configurable ( #38 )
2022-04-17 22:25:22 +02:00
Erik Reider
7885a7cecc
Fixed CC sorter not checking if notification time is the same
2022-04-10 15:52:36 +02:00
Jonas Frei
a054e5afdc
Don't force-build the man-pages, use option instead ( #111 )
...
* Only build man-pages and require scdoc if 'man-page' option is true
Co-authored-by: Jonas Frei <8ec426b4-7173-428a-a6dc-3c520b45b0e2@wwsxrfc8.anonaddy.com >
2022-04-06 12:29:40 +02:00
Erik Reider
a5895e4670
Made scdoc a makedepend
2022-04-06 11:21:43 +02:00
Erik Reider
364038ec6d
Added right click to close notification ( #110 )
2022-04-05 17:19:14 +02:00
Erik Reider
188bef8bf9
Added scdoc as dependency to pkgbuild
2022-04-03 23:54:01 +02:00
Erik Reider
77b8a85ce1
Bumped version 0.4 -> 0.5
2022-04-03 18:03:10 +02:00
Erik Reider
a34893cb84
Simplified JSON enum serialization
2022-04-03 17:59:33 +02:00
Erik Reider
83a8a62ea9
Notification visibility ( #106 )
...
* Added config option
* Show notifications depending on state
* Updated json.in and jsonSchema
* Updated swaync(5) man file
2022-04-03 17:58:09 +02:00
Erik Reider
a9edf6d360
Man pages ( #104 )
...
* Initial man pages
* Added meson option and script
* Updated Dockerfiles
2022-04-02 17:52:35 +02:00
Chris Chamberlain
d95e84a499
waybar integration: emit an array of classses rather than a single class ( #103 )
...
* emit an array of classses rather than a single class
turns out waybar doesn't like:
"class": "foo bar"
intead it wants:
"class": ["foo", "bar"]
* only print once
2022-03-27 14:04:46 +02:00
Erik Reider
f7b8d67987
Fixed client not printing subscription on dbus disconnect
2022-03-18 00:27:38 +01:00
Erik Reider
d9b00e6ef5
Add tooltip to waybar client subscription
2022-03-18 00:00:29 +01:00
Erik Reider
19f630018e
Add cc visibility state in client subscribe print ( #102 )
2022-03-17 23:59:43 +01:00
Erik Reider
3df4c34c5f
Fixed script env variables sometimes being null
2022-03-07 18:26:59 +01:00
Erik Reider
39a4870512
Fixed notification scroll in CC. Fixes #98
2022-03-07 18:09:14 +01:00
Cyril Levis
2255ba1514
feat: add urgency level color ( #95 )
...
* feat: add urgency level color
* chore: first review
2022-02-24 20:31:09 +01:00
Cyril Levis
f932c4afff
chore: just a typo cleaning ( #96 )
2022-02-24 17:48:16 +01:00
Jonas Frei
a8043e0f11
Add install instructions for Gentoo ( #93 )
...
* Added Gentoo build instructions
* Added category 'gui-apps' to description
* Added link to GURU repository
2022-02-23 13:22:00 +01:00
Erik Reider
36e57c56bd
All notification images are now the same size
2022-02-21 16:04:56 +01:00
Erik Reider
223e78a0a7
Fixed notification image scaling being blurry on HiDPI displays ( #92 )
2022-02-21 01:20:05 +01:00
Erik Reider
4d71fdf316
Fixes #91
2022-02-21 00:28:54 +01:00
Erik Reider
0ed0361291
Fixes floating notifications not hiding when opening panel
2022-02-21 00:28:42 +01:00
Erik Reider
54e2fbacf8
Bumped version to 0.4
2022-02-20 00:03:06 +01:00
Erik Reider
157f28f8d4
Fixed ubuntu build issue
2022-02-18 21:04:07 +01:00
Erik Reider
4283ab9d07
Added "value" hint to draw a progressbar
2022-02-18 20:57:31 +01:00
Erik Reider
90dff21da3
Fixed trying to slice empty string when setting icon
2022-02-18 20:06:34 +01:00
Erik Reider
22bb2b4a70
Refactored replacement code
2022-02-18 20:01:02 +01:00
Erik Reider
c19ae742af
Removed unfinished notification progressbar
2022-02-18 19:59:50 +01:00
Erik Reider
756229cff3
Added⋅"synchronous" (and its derivatives) to replace notifications. Fixes #86
2022-02-18 19:45:07 +01:00
Erik Reider
65dce2c034
Fixed #88
2022-02-18 18:39:07 +01:00
Erik Reider
e98fdee155
Config hashtable can now parse string,int64,bool and objects
2022-02-18 18:22:58 +01:00
Erik Reider
ec739c6d48
Config: Handle arrays ( #85 )
...
* Can now handle arrays
* Added support for objects
* Removed default return
* Replaced arrar.foreach with a regular foreach statementy
* Added null check in serialization
* Fixed Ubuntu build issue
2022-02-17 18:10:24 +01:00
Erik Reider
ee7b47e3ac
Added wayland check
2022-02-11 18:47:32 +01:00
Erik Reider
f59a121478
Corrected exract_hashtable comment
2022-02-11 15:38:44 +01:00
Erik Reider
de0beaf7a4
Moved WANT_SCRIPTING preprocessor if statement down to the correct position
2022-02-11 15:38:19 +01:00
Erik Reider
9e2a4ba841
ConfigModel enums parse method now use switches
2022-02-11 15:37:27 +01:00
Louis DeLosSantos
eaef200fb2
docs: mention css reload ( #80 )
...
ran into this when themeing SwayNotificationCenter, assumed a `-R` alone
would bounce the css settings.
easier to make mention of this right away and avoid others debugging for
a bit.
Signed-off-by: ldelossa <louis.delos@gmail.com >
2022-02-08 23:52:14 +01:00
Erik Reider
90768ce824
Added documentation in README to disable scripting
2022-02-07 16:55:48 +01:00
Erik Reider
8d717d51f6
Use static icon image size for custom notification icons
2022-02-06 20:55:20 +01:00
Erik Reider
2e18cefc62
Refactored desktop_entry icon method
2022-02-06 20:48:34 +01:00
Erik Reider
f18fa5d3db
Use static icon size for notification icon
2022-02-06 20:48:09 +01:00
Erik Reider
8902b752d8
Add scripting dict to config (optional through meson option) ( #79 )
...
* Added initial scripting class in config
* Added exec string
* Added regex matching
* Can now run script and prints if there are any errors
* Export SWAYNC env variables
* Check if non-required fields are null before regexing
* Fixed Scripts to_string method not printing the correct names
* Added config bool to show new notification if script fails
* Added meson option to disable scripting before build
* Added example script into config
* Added scripts object and its properties to JSON schema
* Removed statement that urgency doesn't use regex
* Updated README with scripting info
* Added "script-fail-notify" to README
2022-02-06 20:17:13 +01:00
Erik Reider
6f0cbaa52d
Formatted json schema
2022-02-06 19:35:13 +01:00
Erik Reider
f9868be409
Fixed Freedesktop icons not being set
2022-02-06 17:36:21 +01:00
nightly brew
959614c595
Fixed typo in vala namespace, ui files templaces and file names ( #78 )
...
Co-authored-by: nightly-brew <>
2022-02-06 10:47:23 +01:00
Erik Reider
099aa06375
Be able to use JSON dictionaries in config ( #77 )
...
* Initial implementation
Added serialization and deserialization
Co-Authored-By: nightly brew <93888516+nightly-brew@users.noreply.github.com >
* Check if Generic T is a descendant of GLib.Object
Co-authored-by: nightly brew <93888516+nightly-brew@users.noreply.github.com >
2022-02-05 20:37:04 +01:00
Erik Reider
e3f99a1932
Simplified client subscription signal
2022-02-05 17:08:03 +01:00
Erik Reider
f87baba77b
Fixed trying to print a null string on each notification
2022-02-05 15:48:55 +01:00