CompSysTray 1.4

Window managers, icon programs, widgets, etc.
Post Reply
Message
Author
User avatar
Argolance
Posts: 3767
Joined: Sun 06 Jan 2008, 22:57
Location: PORT-BRILLET (Mayenne - France)
Contact:

CompSysTray 1.4

#1 Post 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.
Attachments
compsystray-1.4.pet
(16.08 KiB) Downloaded 260 times
compsystray-1.3.pet
(15.98 KiB) Downloaded 232 times
191120_143831_2646x1024_easyshot.jpg
CompSysTray right clic menu (features):
(20.17 KiB) Downloaded 294 times
Last edited by Argolance on Mon 23 Dec 2019, 10:26, edited 2 times in total.

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#2 Post 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

User avatar
Argolance
Posts: 3767
Joined: Sun 06 Jan 2008, 22:57
Location: PORT-BRILLET (Mayenne - France)
Contact:

#3 Post 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.

User avatar
Argolance
Posts: 3767
Joined: Sun 06 Jan 2008, 22:57
Location: PORT-BRILLET (Mayenne - France)
Contact:

#4 Post by Argolance »

*******************************************************
:!: Update from 1.3 to 1.4 (See the first message of this thread)
*******************************************************

Post Reply