swaync: add rules to help with debugging

This commit is contained in:
2023-12-10 16:14:18 +00:00
parent f7a318c937
commit 4d5b462b2c
2 changed files with 22 additions and 0 deletions

View File

@@ -227,6 +227,27 @@ in
# - SWAYNC_REPLACES_ID # - SWAYNC_REPLACES_ID
# - SWAYNC_ID # - SWAYNC_ID
# - SWAYNC_SUMMARY # - SWAYNC_SUMMARY
# rules to use for testing. trigger with:
# - `notify-send test test:message` (etc)
# should also be possible to trigger via any messaging app
fbcli-test-im = {
body = "test:message";
exec = "${fbcli} --event proxied-message-new-instant";
};
fbcli-test-call = {
body = "test:call";
exec = "${fbcli} --event phone-incoming-call -t 20";
};
fbcli-test-call-stop = {
body = "test:call-stop";
exec = "${fbcli-stop} --event phone-incoming-call -t 20";
};
fbcli-test-timer = {
body = "test:timer";
exec = "${fbcli} --event timeout-completed";
};
incoming-im-known-app-name = { incoming-im-known-app-name = {
# trigger notification sound on behalf of these IM clients. # trigger notification sound on behalf of these IM clients.
app-name = "(Chats|Dino|discord|Element|Fractal|gtkcord4)"; app-name = "(Chats|Dino|discord|Element|Fractal|gtkcord4)";

View File

@@ -82,6 +82,7 @@ in
"gthumb" "gthumb"
"gtkcord4" # Discord client. 2023/11/21: disabled because v0.0.12 leaks memory "gtkcord4" # Discord client. 2023/11/21: disabled because v0.0.12 leaks memory
"lemoa" # lemmy app "lemoa" # lemmy app
"libnotify" # for notify-send; debugging
# "lollypop" # "lollypop"
"mate.engrampa" # archive manager "mate.engrampa" # archive manager
"mepo" # maps viewer "mepo" # maps viewer