Commit Graph

517 Commits

Author SHA1 Message Date
Erik Reider
b84a24a632 Add notification-body-image-height/width property to config. Fixes #131 2022-05-31 18:23:16 +02:00
Erik Reider
735f2c5ab1 Add notification-image-size property to config 2022-05-31 18:10:13 +02:00
Erik Reider
725b80c615 Fixed some style inconsistencies when using arc theme 2022-05-30 18:04:39 +02:00
Erik Reider
739781040c Center notification Title and Body vertically 2022-05-29 17:16:52 +02:00
Erik Reider
7a69695fb2 Set default notification image visibility to "when-available". Fixes #70 2022-05-29 16:54:25 +02:00
Erik Reider
f9b75f4f32 Added control-center-height to default config 2022-05-22 22:14:16 +02:00
Erik Reider
d17680b03f Fixed default style.css file not being parsed correctly after e082c3cb 2022-05-19 18:55:02 +02:00
Moritz Poldrack
3d08d105eb
Add arm to pkgbuild + pkgbuild fixes (#126)
* add ARM support to PKGBUILD

* fixed various issues with the PKGBUILD files

- added checksum to fixed-release PKGBUILD
- added auto-updating version to git-PKGBUILD
- moved PKGBUILD to /build-scripts
- fixed typo in description
- fixed license fields

Co-authored-by: Erik Reider <35975961+ErikReider@users.noreply.github.com>
2022-05-18 22:33:55 +02:00
Erik Reider
e082c3cba2 Added comment above .top-action-title in style.css 2022-05-18 21:32:56 +02:00
Erik Reider
a9c7af2371 Increased default cc width to 500 2022-05-15 21:04:04 +02:00
Erik Reider
b05c0393d7 Bumped version to 0.6.1 2022-05-14 14:54:16 +02:00
Erik Reider
6d49f15363 Fixed #124. Position X and Y broken after linting changes 2022-05-14 14:48:03 +02:00
Erik Reider
dae1ac0b56 Bumped version to 0.6 2022-05-14 13:03:05 +02:00
Erik Reider
f0369e6b51 Added --enable-gobject-tracing and --enable-checking to valac 2022-05-14 13:01:05 +02:00
Erik Reider
d295a76e77
Added GetSubscribeData to dbus daemon (#123)
* Added GetSubscribeData to dbus daemon

* Updated client to use GetSubscribeData
2022-05-14 12:54:48 +02:00
Erik Reider
f4ba92140f Increased default notification border radius 2022-05-14 12:30:42 +02:00
Erik Reider
17deb981cc Merge branch 'main' of github.com:ErikReider/SwayNotificationCenter 2022-05-13 14:15:52 +02:00
Erik Reider
e9603dce1b Moved cc subscription signal call into notidaemon 2022-05-13 14:15:47 +02:00
Erik Reider
8319917b7b Fixed cc toggling not calling subscription signal 2022-05-13 14:14:57 +02:00
Anthony Ruhier
07f6aac047
Do not keep transient notifications in the CC (#121)
Fixes #120.

Notifications can indicate in their hints that they should be transient.

A transient notification is not persistent, therefore, respects this
hint and do not stack transient notifications in the control center.
2022-05-12 14:56:55 +02:00
Erik Reider
50d2274f60 Updated default style to follow libadwaita style 2022-05-11 21:21:13 +02:00
Erik Reider
e7556a0da0 Fixed default action being null 2022-05-11 19:51:13 +02:00
Erik Reider
ce876e8649 Fixed swaync-client zsh completions 2022-05-11 19:16:54 +02:00
Erik Reider
f68868232c
Cache Do Not Disturb state (#119)
* Initial caching with dnd support

* Updated README

* Removed initial notification caching code
2022-05-08 19:42:04 +02:00
Erik Reider
7251bb0a57 Simplified markdown regex string 2022-05-08 19:37:56 +02:00
Erik Reider
19beafa528 Fix some markup characters not being unescaped 2022-05-08 19:37:34 +02:00
Erik Reider
ec01b49319 Fixed building on Ubuntu 2022-05-07 15:42:25 +02:00
Erik Reider
da6d1efe6e Fix linting error 2022-05-07 15:36:40 +02:00
Erik Reider
2a07bd7487 Fixed notiModel compile warnings 2022-05-07 15:34:17 +02:00
Erik Reider
f848b57018 Changed the daemon structure. Now in a simpler layout 2022-05-07 15:21:56 +02:00
Erik Reider
c38a189060 Removed all string templates 2022-05-06 13:28:57 +02:00
Erik Reider
902ede9c15 Line length lint now is error 2022-05-06 13:15:00 +02:00
Erik Reider
8c2df6b2bc Notification.vala now follows vala coding style 2022-05-06 13:10:57 +02:00
Nicolas Berbiche
312a69dd69
Ellipsize and wrap notification body (#37)
* Ellipsize and wrap notification body

* Implement hack around clipped notification in notification window

* Removed lines hack

* Manually set scrolled window properties

Co-authored-by: Erik Reider <35975961+ErikReider@users.noreply.github.com>
2022-05-06 11:29:07 +02:00
Erik Reider
debfb696cd
Added Linting badge to README.md 2022-05-05 22:41:37 +02:00
Erik Reider
8eb56a195b
Vala-lint fixes + linting Github Action (#118)
* Updated code to follow vala-lint style

* Added GitHub Linting Action
2022-05-05 22:40:00 +02:00
Erik Reider
b7c943617c
Fixed markup parsing unofficial tags (#117)
* Fixed markup parsing unofficial tags

* Added comments and some small refactoring
2022-05-05 21:24:29 +02:00
Erik Reider
042f1e61cd Fix Glade complaining about "margin-left" and "margin-right" on notification.ui 2022-05-02 22:46:56 +02:00
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