From 00fb6120c9aaf87946bc19d1a770460459728e04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Soutad=C3=A9?= Date: Fri, 7 Jan 2022 08:35:13 +0100 Subject: [PATCH] Update README.md and version to be aligned on Gnome store version --- README.md | 16 ++++++++++------ metadata.json | 2 +- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 07a5492..48534a7 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,10 @@ This GNOME Shell Extension aims to display information to center box. Using DBUS Installation ------------ +Install it from https://extensions.gnome.org/extension/2826/generic-monitor/ + +OR + Create a symbolic link from your _.local_ directory and enable extension ln -s $PWD/generic-monitor@gnome-shell-extensions/ ~/.local/share/gnome-shell/extensions/ @@ -109,11 +113,11 @@ Signals can be : Targets : - * signal : emit a signal to desktop application - * delete : Delete item - * open-popup : Open the popup if there is one - * close-popup : Close the popup if there is one - * toggle-popup : Toggle (open/close) the popup if there is one + * signal : Emit a signal to desktop application + * delete : Delete item + * open-popup : Open the popup if there is one + * close-popup : Close the popup if there is one + * toggle-popup : Toggle (open/close) the popup if there is one Signal names emit when action "signal" is specified : @@ -142,7 +146,7 @@ Example You can test it with command line : - gdbus call --session --dest org.gnome.Shell --object-path /com/soutade/GenericMonitor --method com.soutade.GenericMonitor.notify '{"group":"new","items":[{"name":"first","on-click":"toggle-popup","text":{"text":"Hello","style":"color:green"},"popup":{"items":[{"picture":{"path":"/tmp/cat2.jpg"}}]}}]}' + gdbus call --session --dest org.gnome.Shell --object-path /com/soutade/GenericMonitor --method com.soutade.GenericMonitor.notify '{"group":"new","items":[{"name":"first","on-click":"toggle-popup","text":{"text":"Hello","style":"color:green"},"popup":{"items":[{"picture":{"path":"/tmp/cat.jpg"}}]}}]}' gdbus call --session --dest org.gnome.Shell --object-path /com/soutade/GenericMonitor --method com.soutade.GenericMonitor.deleteGroups '{"groups":["new"]}' diff --git a/metadata.json b/metadata.json index 4aebea1..3c3cdaa 100644 --- a/metadata.json +++ b/metadata.json @@ -2,7 +2,7 @@ "uuid": "generic-monitor@gnome-shell-extensions", "name": "Generic Monitor", "description": "Display text & icon on systray using DBUS", - "version": "6", + "version": "9", "shell-version": [ "41", "40",