Commit Graph

58 Commits

Author SHA1 Message Date
Erik Reider
5f79ba2748
Updated the COPR link to the new official repo
Repo: https://copr.fedorainfracloud.org/coprs/erikreider/SwayNotificationCenter/
2022-07-23 16:05:51 +02:00
Carlos Ortega
b455c63479
Issue #141: Waybar subscription missed opportunity (#142)
* add notifications number in text field

* include a mention about this in the README

* fix the linting issue... hopefully

* print the count as a uint directly
2022-07-10 11:40:19 +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
debfb696cd
Added Linting badge to README.md 2022-05-05 22:41:37 +02:00
Erik Reider
364038ec6d
Added right click to close notification (#110) 2022-04-05 17:19:14 +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
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
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
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
6f850ebadb
Build Actions (#69)
* Added initial Ubuntu build action

* Update building.yml

* Update building.yml

* use 21.10 docker image

* Remove sudo

* Add -y to apt install

* Add "DEBIAN_FRONTEND=noninteractive" to remove tzdata dialogs

* Added arch build action

* Add build badge to README.md
2022-01-28 18:14:51 +01:00
Erik Reider
840b2a127e
Update README.md 2022-01-21 11:45:27 +01:00
Aleksei Fedotov
998f7e286d
Add build for fedora and other RPM based distros. (#59)
* Add rpkg spec template for building RPMs.

This is a template for rpkg[1], which is used to generate spec files and
consequently SRPM and RPM.

Rpkg generates swaync.spec from swaync.rpkg.spec and packages it
together with sources into SRPM. Then SRPM is used to build on Koji[2]
and produce binary RPM's for various targets and platform.

The whole sequence:

swaync.rpkg.spec -> swaync.spec -> SwayNotificationCenter.src.rpm -> SwayNotificationCenter.rpm

Assuming that you have rpkg installed, you could run 'rpkg local' for
local build, or 'rpkg copr-build' to start the build on Koji.

[1] https://pagure.io/rpkg
[2] https://koji.fedoraproject.org

* Add installation instructions for Fedora.

Co-authored-by: Aleksei Fedotov <aleksei@fedotov.email>
2022-01-16 18:47:45 +01:00
Erik Reider
5be4e738eb Added waybar subscription format with a working example 2022-01-11 01:05:44 +01:00
Nicolas Berbiche
d45a1a7712
Configurable notification window width (#42) (#39)
Co-authored-by: ErikReider <ereider20010103@gmail.com>

Co-authored-by: ErikReider <ereider20010103@gmail.com>
2022-01-10 20:42:20 +01:00
Erik Reider
933f1dd850 Added hide-on-action to config 2022-01-09 00:46:45 +01:00
Erik Reider
78c645d4a0
Added swaync to aur packages 2022-01-09 00:29:32 +01:00
Luca Berneking
37142fcb37
Close control center when clearing all notifications (#53)
* Close control center when clearing all notifications

* make hide on clear configurable, disabled by default
2022-01-08 15:42:13 +01:00
Erik Reider
5e5efb0130
Update README.md 2021-12-27 18:08:05 +01:00
Erik Reider
5435d6f7f2
Update README.md 2021-12-24 22:06:12 +01:00
Nicolas Berbiche
847c874b78
Configurable notification window width (#42)
Co-authored-by: ErikReider <ereider20010103@gmail.com>

Co-authored-by: ErikReider <ereider20010103@gmail.com>
Co-authored-by: Erik Reider <35975961+ErikReider@users.noreply.github.com>
2021-12-23 21:53:54 +01:00
Nicolas Berbiche
a41f2b6e56
Configurable critical notification timeout (#40)
I think there was also a logic error related to setting an expiry
timeout.

It was only set if `params.expire_timeout` was not `0`, instead of
checking that both the user configured timeout and the one requested was
set to `0`.
2021-12-23 21:22:43 +01:00
Erik Reider
e863a24c28 Added open and close animations to notifications 2021-12-22 18:40:40 +01:00
Erik Reider
30ec92246d Improved README.md clarity 2021-12-14 12:08:20 +01:00
christopher-l
75894f50ff
Added option 'center' for 'positionX' in config (#30)
Co-authored-by: Christopher Lübbemeier <luebbemeier@metaventis.com>
2021-12-03 13:40:13 +01:00
Erik Reider
c3950c0568
Update README.md 2021-11-16 21:29:21 +01:00
Erik Reider
e5b1579e08 Added image_visibility parameter to config 2021-10-16 18:44:30 +02:00
Erik Reider
565f2cf87d Changed keyboard_shortcuts to keyboard-shortcuts in config 2021-10-16 18:43:25 +02:00
Erik Reider
3e5378101f Can now toggle keyboard shortcuts 2021-10-13 19:27:31 +02:00
Erik Reider
c0f52adfc9
New config deserialization system + new notification timeout and timeout_low properties (#19)
* New config deserialization system + new timeout and timeout_low values

* Updated README

* Now doesn't accept values < 1

* Can now reload config from client and dbus

* Updated README with config reload command

* Removed unused json errordomain

* Fixed _path being overridden on first start

* Changed timeout_low name to timeout-low

* Fixed segfault when calling PositionX/Y.parse()

* Notiwindow and CC now change position on config change

* Added method to change config value from dbus

* Removed unused debug print

* Change_value now writes to the specified or default path

* Added new option to skip writing to config

* Added comments

* Added --reload-config command to README.md
2021-10-13 13:19:38 +02:00
Erik Reider
9ebd8dd167 Updatded README.md to include gestures as features 2021-09-16 13:38:35 +02:00
Erik Reider
e5789eb23b Updated README.md with sway usage 2021-09-16 10:43:53 +02:00
Erik Reider
24f0bb2e0d
Update README.md 2021-08-07 15:48:12 +02:00
Erik Reider
a909c3ed40 Added support for images in body markdown 2021-08-07 15:44:32 +02:00
Erik Reider
aca9f8173e Updated README 2021-08-06 20:00:44 +02:00
Erik Reider
9d5f3284f6 Added Do Not Disturb button to panel with keyboard shortcut 2021-08-02 20:19:31 +02:00
Erik Reider
fb21a14c4e Added Home and End shortcuts to README.md 2021-08-02 19:03:18 +02:00
Erik Reider
fd9e78628f Added close all notifications keyboard shortcut 2021-08-02 18:58:59 +02:00
Erik Reider
345493b716 Updated README.md 2021-08-02 18:40:28 +02:00
Erik Reider
4bc3930196 Added keyboard shortcuts to notification panel 2021-08-02 18:39:53 +02:00
Erik Reider
c9ab1de6e0
Update README.md 2021-08-01 00:23:34 +02:00
Erik Reider
69d24cbadf
Update README.md 2021-08-01 00:18:12 +02:00
Erik Reider
e33b7076ea
Update README.md 2021-07-31 00:37:11 +02:00
Erik Reider
bf44de97a7
Update README.md 2021-07-30 22:49:36 +02:00
Erik Reider
548d4b4ac6 Added install instructions for arch 2021-07-30 22:36:50 +02:00
Erik Reider
f0f715ec8a Fixed spelling in README 2021-07-30 22:14:17 +02:00
Erik Reider
5a56d8fd34 Improved install method in README 2021-07-30 21:56:58 +02:00
Erik Reider
4abddf022c Initial PKGBUILD 2021-07-30 18:59:06 +02:00
Erik Reider
e79de7fdd5
Update README.md 2021-07-30 18:20:29 +02:00
Erik Reider
62a080655c
Update README.md 2021-07-29 21:38:42 +02:00