* Initial Mpris widget code
* Fixed carousel not updating widgets when CC is hidden
* Scroll to newest player when new player appears
* Updated widget style
* Clamp image radius
* Use generic type when getting config value
* Use Application icon as fallback
* Use Appname as fallback
* Show first artist in subtitle
* Button opacity is now applied only to the image child
* Treat Stopped state as paused
* Fixed linting issues
* Updated README
* Updated config and config schema
* Simplified player check
* Updated Man page
* Enable scrolling
* Updated css to include title and subtitle
* Initial widget code with Title and DND widgets
* Fixed linting issues
* Added label widget
* Added label to widgets JSON Schema
* Added default widgets
* Added info to swaync 5 man page
* Updated README with widget info
* Added ability for multiple configs per widget
* Reworked how the widget CSS classes are applied
* Fixed linting issues
* Added CSS class names to man page
* 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
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>
* 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
* 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>