Page 1 of 1

CompSysTray 1.4

Posted: Wed 20 Nov 2019, 14:23
by Argolance
Bonjour,
It's all in the title and the attached image!
(Available as update from 1.0 to 1.3 using 2POSou for ToOpPy users)
**********************************************************

Image Version 1.4 du 2019/11/24:
  • - Exit if compton not installed
    - yad --notification: write new variables for icon, menu and tooltip to the pipe for "more smooth change" (thanks to fredx181 for his suggestion)
Cordialement.

Posted: Wed 20 Nov 2019, 18:21
by fredx181
Very nice, thanks !!

One suggestion (maybe for next time using yad --notification):
Instead of restarting the tray-icon when it needs updated, you can write the new variables for icon, menu and tooltip to the pipe, e.g.:

Code: Select all

echo "icon:$NEW_ICON" >&3
echo "menu:$NEW_MENU" >&3
echo -e "tooltip:$NEW_POPUP_TEXT" >&3
Then it would be a more smooth change in the system-tray.
(or maybe instead of >&3 : >$COMPTON_FIFO)

Fred

Posted: Wed 20 Nov 2019, 19:44
by Argolance
Bonsoir,
fredx181 wrote:One suggestion (maybe for next time using yad --notification)
Thank you for what I have been looking for without success! :D

I indeed wondered if there wasn't a way to refresh the icon that was more in line with yad -- notification, but I couldn't find any example about it!
Is there something I would have missed in the yad tips thread or in the nice smokey01's NoteCase *.ncd file?

Cordialement.

Posted: Mon 25 Nov 2019, 23:25
by Argolance
*******************************************************
:!: Update from 1.3 to 1.4 (See the first message of this thread)
*******************************************************