![]() |
Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
1 Attachment(s)
Hi guys,
today I sat down to build something from QBW... basically it's a text clock telling the time, which also says the time via espeak when clicked and opens the clock app when double clicked. I am using a font from the Resident Evil theme, and espeak obviously: Code:
[queen-beecon.desktop-2] Code:
if [ "$1" == "QBW_CLICK" ] && [ $2 -eq 2 ] Kind regards, Sarah |
Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
has anyone succesfully created a media player widget with queen beacon?
|
Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
hi all ,, i have two questions ,, hope i can find the answers as quick as possible :)
the first one is : what the things i need to learn/know to make a nice looking QBW? and if you pleased tell me where to learn them ! consider me as a complete noob the second one is : is it possible to password lock a desktop using the QBWs!! sorry for my missed up english !! :/ |
Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
|
Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
greattttt :) ,, i will be digging there :)
and about the password lock thing !!! |
Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
I want to create an icon on the normal desktop for email with an unread email counter and when clicked it should open Claws-mail. The Gmail script from the wiki doesn't seem to work (anymore?)
I have managed to get something with curl in the console using the command from here 9adding -k option but have no idea how and where to fit this as script in qbw. I think it can be done in a script like mentioned this. but exactly how to do this I don't know Is this possible? any idea's/help ? :) |
Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
Quote:
PHP Code:
If you have configured the beecon to run both on timer and on click, in your script you might check $QBW_EXEC_REASON for the following strings if QBW_TIMER_UPDATE then poll gmail (with the command above) if QBW_CLICK then run Claws-mail per example in here |
Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
Thanks, it is almost working now, I had issues with wget due to @ in the password, solved it..
Now it is only displaying the mailbox_empty.png but it does update the mailcount, simply pasting the command in the script doesn't let it return the correct state? My programming skills are ehm.. at noob level :) so i got this far: PHP Code:
|
Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
Quote:
First "if block" is missing a piece because awk statement "if($1>0)m=1;else m=0}END{exit m}" just returns the exit code to the calling script... I'd add an explicit exit statement before the fi; Second "if block" is missing a further check and an exit status; behavior here would be that for every click the beecon will launch the mail program but return a 0 exit and whatever output the dbus-send is issuing to stdout (= always mailbox_empty.png and possibly "" number of messages) See below for a possible improvement: PHP Code:
|
Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
1 Attachment(s)
hmm, I'm not sure about the mailcheck when clicked, it is supposed to just open claws so just an exit 0 would be ok here I think? (displaying mailbox_empty.png until the next timed update).
The problem I'm having is it always seems returns 0 thus displaying mailbox_empty.png although I do get the new mail count. (mailbox_full.png does work when i change the exit 0 to exit 1) |
All times are GMT. The time now is 18:23. |
vBulletin® Version 3.8.8