tag:blogger.com,1999:blog-3213850822469958395.comments2020-07-08T23:11:18.838-07:00Useful and useless scriptswlourfhttp://www.blogger.com/profile/06479004851003967010noreply@blogger.comBlogger23125tag:blogger.com,1999:blog-3213850822469958395.post-21939637337504906432020-07-08T23:11:18.838-07:002020-07-08T23:11:18.838-07:00How can i add own Values for a BAR like this
"...How can i add own Values for a BAR like this<br />"${execi 5 nvidia-smi | grep -Eo '...%.+?W' | awk '{print $4}'}"<br />Maddihttps://www.blogger.com/profile/13884234727257240647noreply@blogger.comtag:blogger.com,1999:blog-3213850822469958395.post-6837464881871292992020-07-06T23:08:23.345-07:002020-07-06T23:08:23.345-07:00i can find the script on the deviantArt page :( Wh...i can find the script on the deviantArt page :( Where is it ??Maddihttps://www.blogger.com/profile/13884234727257240647noreply@blogger.comtag:blogger.com,1999:blog-3213850822469958395.post-8965053808125038922015-03-11T00:00:28.503-07:002015-03-11T00:00:28.503-07:00http://www.scriptsuser.org
facebook Trickshttp://www.scriptsuser.org<br />facebook TricksAnonymoushttps://www.blogger.com/profile/12152990642514006149noreply@blogger.comtag:blogger.com,1999:blog-3213850822469958395.post-73847982184893297252012-03-07T17:05:56.011-08:002012-03-07T17:05:56.011-08:00Hi!
Thanks for awesome widget!
I've made a s...Hi!<br /><br />Thanks for awesome widget!<br /><br />I've made a small improvement and decided to share it. It concerns conky vars, which return values with units (i.e. diskio - 1B, 1K, 1M, etc). Here's diff:<br />http://pastebin.com/JtGxQnDq<br /><br />In short, it converts given values to byte units.<br />Of course, it could use some further improvement to make it more general (not just the case with diskio) - other units, improved unit grabbing (i.e. with string.gsub), decimal vs. binary prefix interpretation, etc...stat1c-voidhttps://www.blogger.com/profile/04740428386510231650noreply@blogger.comtag:blogger.com,1999:blog-3213850822469958395.post-48449540513092671542012-03-01T04:05:03.733-08:002012-03-01T04:05:03.733-08:00Interesting post. Thanks for the share. Keep posti...Interesting post. Thanks for the share. Keep posting such kind of information on your blog. I bookmarked it for continuous visit.<br /><a href="http://viperwolfplayer.com" rel="nofollow"> youtube html5 player</a>|<a href="HTML5-CONVERTER.COM" rel="nofollow"> html5 converter</a>Laurainehttps://www.blogger.com/profile/13785227157224255176noreply@blogger.comtag:blogger.com,1999:blog-3213850822469958395.post-77673029405217453522012-02-05T00:53:18.838-08:002012-02-05T00:53:18.838-08:00can this be used to display volume on audio channe...can this be used to display volume on audio channels?rkm.sbchttps://www.blogger.com/profile/07916244855459609555noreply@blogger.comtag:blogger.com,1999:blog-3213850822469958395.post-82681674006161225292011-12-29T14:44:51.443-08:002011-12-29T14:44:51.443-08:00Hey there,
great work! Tried to use it on my syst...Hey there,<br /><br />great work! Tried to use it on my system, but for some reasons it works fine sometimes, other times my cpu just goes to 100% and the windows doesn't show up. Have you ever experienced this problem? If I comment out the lua script part, the problem doesn't appear. <br /><br />Thanks!nathanhttps://www.blogger.com/profile/04223158133957727955noreply@blogger.comtag:blogger.com,1999:blog-3213850822469958395.post-63450903361684379542011-08-13T08:47:44.216-07:002011-08-13T08:47:44.216-07:00for the third example I used a construction like t...for the third example I used a construction like this<br />http://kit-oz.deviantart.com/art/Conky-Text-Calendar-203873807kit_ozhttps://www.blogger.com/profile/11893764350191590267noreply@blogger.comtag:blogger.com,1999:blog-3213850822469958395.post-83198673916727631952011-04-09T09:55:47.284-07:002011-04-09T09:55:47.284-07:00Thanks a lot for this tip! I will update my post s...Thanks a lot for this tip! I will update my post soon.<br />This method is not useful when the functions need the same variables as arguments (like in the third example of the script)wlourfhttps://www.blogger.com/profile/06129461181993603233noreply@blogger.comtag:blogger.com,1999:blog-3213850822469958395.post-2416754858968636142011-04-06T15:08:57.927-07:002011-04-06T15:08:57.927-07:00Sorry for my bad english.. ;)
I mean it's easi...Sorry for my bad english.. ;)<br />I mean it's easier to create a function that does one thing and call it by ${lua function arguments}kit_ozhttps://www.blogger.com/profile/11893764350191590267noreply@blogger.comtag:blogger.com,1999:blog-3213850822469958395.post-34096086119231534522011-04-06T04:34:49.069-07:002011-04-06T04:34:49.069-07:00Do you mean with lua_draw_hook_pre or lua_draw_hoo...Do you mean with lua_draw_hook_pre or lua_draw_hook_post?<br />The problem with theses functions is that you can use them only once in a conkyrc.wlourfhttps://www.blogger.com/profile/06129461181993603233noreply@blogger.comtag:blogger.com,1999:blog-3213850822469958395.post-15807334533232097382011-04-05T22:29:37.415-07:002011-04-05T22:29:37.415-07:00Why not call Lua functions from the TEXT section? ...Why not call Lua functions from the TEXT section? difference in one condition - the function must return at least one spacekit_ozhttps://www.blogger.com/profile/11893764350191590267noreply@blogger.comtag:blogger.com,1999:blog-3213850822469958395.post-26786978110101081052011-03-28T12:05:05.250-07:002011-03-28T12:05:05.250-07:00Hi foppe, interesting question! I will look to it ...Hi foppe, interesting question! I will look to it more deeply later.<br /><br />To answer you : you can't create Conky variable.<br />The second solution is better : <br />{name="exec", agr="./scripts/foo.py 5" ...<br /><br />Or try to redirect the output of the python script to a text file and parse it with in the Lua script with <br />{{name="exec", agr="cat /path/file", " etc.<br />just be sure the cat command returns a number (or mix it with grep cut awk or sed, whatever you want !)<br /><br />You can read the text file with Lua function but the $exec function of conky will be ok for the moment. <br /><br />Hope this help ans sorry for the late answer !<br /><br />wlourfwlourfhttps://www.blogger.com/profile/06129461181993603233noreply@blogger.comtag:blogger.com,1999:blog-3213850822469958395.post-57254677236895309722011-03-18T17:49:47.771-07:002011-03-18T17:49:47.771-07:00Hi,
How would I go about if I want to display a g...Hi,<br /><br />How would I go about if I want to display a graph, using this script, where the data is not a conky variable?<br />The usecase is this: I have a python script that parses weather data. For instance parsing humidty would generate a number as % so it would do great in a bar graph. However I don't see where I should either <br />- create a variable in conkyrc and pass that to a modified lua script ${humidity} and graph_settings{{name="humidity", agr="" etc.<br />- or modify the setup_bar_graph() function in the lua script to add a conky_parse('${exec ./scripts/foo.py 5}')<br /><br />Greetings,<br /><br />FoppeAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-3213850822469958395.post-20621341610972118392010-10-31T06:38:36.936-07:002010-10-31T06:38:36.936-07:00thaannnnks you !thaannnnks you !wlourfhttps://www.blogger.com/profile/06129461181993603233noreply@blogger.comtag:blogger.com,1999:blog-3213850822469958395.post-50657382243688436072010-10-13T00:41:29.031-07:002010-10-13T00:41:29.031-07:00Brilliant! Will use these on my current desktop. T...Brilliant! Will use these on my current desktop. Thanks!Anonymoushttps://www.blogger.com/profile/10424322888377934195noreply@blogger.comtag:blogger.com,1999:blog-3213850822469958395.post-88058706918161143972010-10-13T00:35:47.046-07:002010-10-13T00:35:47.046-07:00Very useful, thanks for sharing and credits to all...Very useful, thanks for sharing and credits to all cool scripts you make :)Anonymoushttps://www.blogger.com/profile/10424322888377934195noreply@blogger.comtag:blogger.com,1999:blog-3213850822469958395.post-26299423290685447902010-07-03T06:57:43.491-07:002010-07-03T06:57:43.491-07:00thanks! If you can't run it, run it in a conso...thanks! If you can't run it, run it in a console and post this output of the console on the ubuntu forums : <a href="http://ubuntuforums.org/showthread.php?p=9518741#post9518741" rel="nofollow">here</a>wlourfhttps://www.blogger.com/profile/06129461181993603233noreply@blogger.comtag:blogger.com,1999:blog-3213850822469958395.post-1868531011308042602010-07-03T03:14:02.534-07:002010-07-03T03:14:02.534-07:00That is awesome, I am a little bummed that I canno...That is awesome, I am a little bummed that I cannot get it to run on my machine... But you sir have tallenttc3driverhttps://www.blogger.com/profile/17021942259133492655noreply@blogger.comtag:blogger.com,1999:blog-3213850822469958395.post-11609465554359893252010-07-02T09:48:28.485-07:002010-07-02T09:48:28.485-07:00Thanks ! I hope to see your own set-up soon !Thanks ! I hope to see your own set-up soon !wlourfhttps://www.blogger.com/profile/06129461181993603233noreply@blogger.comtag:blogger.com,1999:blog-3213850822469958395.post-21996317023002689522010-06-29T11:29:54.073-07:002010-06-29T11:29:54.073-07:00Nice work you've done here! I use your lua wid...Nice work you've done here! I use your lua widget on my desktop and simply love it! Will link to your blog from now on when mentioning about your scripts.<br /><br />Keep up the good work!<br /><br />sheers!Anonymoushttps://www.blogger.com/profile/10424322888377934195noreply@blogger.comtag:blogger.com,1999:blog-3213850822469958395.post-85345517982261523982010-03-03T08:31:04.404-08:002010-03-03T08:31:04.404-08:00thank you Mr Peachy !thank you Mr Peachy !wlourfhttps://www.blogger.com/profile/06129461181993603233noreply@blogger.comtag:blogger.com,1999:blog-3213850822469958395.post-83830203540723026192010-03-02T18:06:27.220-08:002010-03-02T18:06:27.220-08:00bleeding is when blood is coming out of a wound......bleeding is when blood is coming out of a wound...<br />as in "I am bleeding" <br />bloody is when something has blood on it as in <br />"the knife was bloody" <br />:)mrpeachyhttps://www.blogger.com/profile/10876689355976519597noreply@blogger.com