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
* 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>
* Added version command to swaync
* Added version arg to client
* Prints to stdout
* Replaced GetServerInformation version with the generated one
* Updated shell completions
* 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>
* Provide dbus and systemd service files by default
* Split ExecReload command in two, since swaync-client only handles one argument per run.
* Fix mistake in ExecReload directive: systemd doesn't allow shell constructs, but only allows to concatenate multiple commands with a semicolon.
Co-authored-by: nightly-brew <>
* Provide dbus and systemd service files by default
* Split ExecReload command in two, since swaync-client only handles one argument per run.
Co-authored-by: nightly-brew <>