Re: Fix for v3.5 tag.move() problem and shifty

2013-01-02 Thread Jörg Thalheim
Am 01.01.2013 17:36, schrieb Maxim Andreev: I'm tried to fix tag.move() problem which was described here in maillist some days ago. Also i applied this fix to shifty module which i'm porting to v3.5 right now. Please, try it and leave feedback here or on github, it's only one quickly applied

Re: Fix for v3.5 tag.move() problem and shifty

2013-01-02 Thread Jörg Thalheim
Am 02.01.2013 15:21, schrieb Jörg Thalheim: Am 01.01.2013 17:36, schrieb Maxim Andreev: I'm tried to fix tag.move() problem which was described here in maillist some days ago. Also i applied this fix to shifty module which i'm porting to v3.5 right now. Please, try it and leave feedback here

Re: Shifty for awesome git

2013-01-01 Thread Jörg Thalheim
Thanks. Good job. Am 01.01.2013 11:02, schrieb Maxim Andreev: Hello ! Is there a version of shifty working on the latest awesome release ? I tryed to make it work but I didn't managed to. I forked bioe007's shifty git repository and make it runnable on awesome v3.5 -

Re: CPU usage

2012-12-31 Thread Jörg Thalheim
Yes, same thing here. The usage goes down, if I suspend all my widgets: (vicious.suspend) Am 31.12.2012 12:34, schrieb Zsolt Udvari: Hi list! I've updated my awesome to 3.5, and I've notice an important thing: is it possible that awesome 3.5 use more cpu than 3.4.x ? I've same config as in

Re: CPU usage

2012-12-31 Thread Jörg Thalheim
Am 31.12.2012 13:12, schrieb Uli Schlachter: Hi, On 31.12.2012 12:48, Uli Schlachter wrote: [...] This seems to be overhead due to function calls through LGI (C profilers blame lua code, lua profiler blame LGI's component.lua AFAIR). [...] On second thought, let's not blame LGI too

Re: Autostart application on specific tag (not permanent with awful.rules.rules)

2012-02-16 Thread Jörg Thalheim
Shifty can start a client on a specific tag. http://awesome.naquadah.org/wiki/Shifty 2012/2/16 Claudio Roberto França Pereira spide...@gmail.com: It would be great if the run command widget also remembered the current tag to spawn the next window there. Sometimes Firefox takes some seconds to

Re: Vicious gmail widget

2012-02-10 Thread Jörg Thalheim
Mhm. Maybe a little tutorial on how to write new vicious widget would be helpful for some people... 2012/2/10 Adrian C. an...@sysphere.org: Does it appear before title tag? In which case maybe this would work. Counting on subject match to break out of the loop at which point last stored

Re: ANN: Menubar - decent application menu for Awesome

2012-01-07 Thread Jörg Thalheim
Amazing how fast it is! -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.

Re: Multithreading in Awesome

2011-12-21 Thread Jörg Thalheim
Since awful.util.spawn returns the PID, you could also kill the command later. 2011/12/21 Alexander Yakushev yakushev.a...@gmail.com: So I took into account Gregor's advice and put together a small lib that uses awesome-client and parallel process execution for asynchronous shell requests.

Re: amixer hangs

2011-11-15 Thread Jörg Thalheim
Cool that kind of example, I was searching for! 2011/11/15 Clément Démoulins clem...@archivel.fr: Le lundi 14 novembre 2011 à 23:53 -0200, Daniel Hilst a écrit : On 11/14/2011 04:28 PM, Adrian C. wrote: On Mon, 14 Nov 2011, Daniel Hilst Selli wrote: Thanks Adrian, I'm installing awesome

Re: naughty calendar is naughty

2011-11-08 Thread Jörg Thalheim
There exists also several pure lua calender implementation, which does not depend external application: shameless_self_plug https://github.com/Mic92/awesome-dotfiles/blob/master/cal.lua /shameless_self_plug 2011/11/8 Matija Žeželj matij...@gmail.com: hello group, i need help with my

Re: Widget updating

2011-11-04 Thread Jörg Thalheim
It seems, that you can't use inotify to watch /proc/mounts for changes: http://stackoverflow.com/questions/1113176/how-could-i-detect-when-a-directory-is-mounted-with-inotify But I was also wrong, when I said you can use dio alone to detect mounted partitions. The only way, it could work with dio

Re: Widget updating

2011-10-31 Thread Jörg Thalheim
This would block awesome. But there a lua-bindings[1] avaible, which provide a non-blocking way. Logwatcher[2] is a example for this. But this is not needed because all partititions/disk are already stored in the table, you got back from dio. [1] http://www3.telus.net/taj_khattra/luainotify.html

Fwd: Widget updating

2011-10-29 Thread Jörg Thalheim
-- Forwarded message -- From: Daniel Martí danielmarti.deb...@gmail.com Date: 2011/10/29 Subject: Re: Widget updating To: jthalh...@gmail.com Exactly, yes. Jörg Thalheim jthalh...@gmail.com wrote: Do you want dio from vicious automatic show the disk io about new devices

Re: Widget updating

2011-10-28 Thread Jörg Thalheim
Do you want dio from vicious automatic show the disk io about new devices as they are added to the system? 2011/10/28 Daniel Martí danielmarti.deb...@gmail.com: Dear awesome fellows, I'm trying to make a dio (disk input/output) which adds new devices as they are mounted. So, for instance, it

Re: Create widget with awesome-client

2011-09-11 Thread Jörg Thalheim
Actually no. What is your output of: cat /proc/diskstats 2011/9/10 Daniel Martí danielmarti.deb...@gmail.com: sda read_mb doesn't work. I must use vicious.register(iowidget, vicious.widgets.dio, ${read_mb}, 2, sda). Is this normal? Jörg Thalheim jthalh...@gmail.com wrote: You have

Re: [off-topic] A good terminal emulator for tiling WMs?

2011-09-08 Thread Jörg Thalheim
Which distribution you use? 2011/9/7 Lane Lester lles...@emailquick.net: I decided to try Eterm as the replacement terminal program. What I've observed is that, after I execute Eterm, my program launch of choice, PieDock, no longer works. Furthermore, I cannot restart it without first getting

Re: Create widget with awesome-client

2011-09-08 Thread Jörg Thalheim
-dotfiles/blob/master/rc.lua#L372 2011/9/8 Daniel Martí danielmarti.deb...@gmail.com: I hadn't thought about re-writing dio. I'll try it on my own first, and if I need any assistance I'll come back. Thanks! Jörg Thalheim jthalh...@gmail.com wrote: My first rewrite of dio included the feature

Re: Where to report bugs for Vicious?

2011-09-03 Thread Jörg Thalheim
Accepted... http://git.sysphere.org/vicious/commit/?id=25b375bd6b8ee5ceb04d09fca2d8ba413850d278 2011/9/1 Jörg Thalheim jthalh...@gmail.com: I made the commit. It should be accepted in the next hour. 2011/9/1 Adam Jimerson vend...@gmail.com: Thank you I made the suggested changes and it seems

Re: Where to report bugs for Vicious?

2011-09-01 Thread Jörg Thalheim
I made the commit. It should be accepted in the next hour. 2011/9/1 Adam Jimerson vend...@gmail.com: Thank you I made the suggested changes and it seems to be working just fine! Jörg Thalheim wrote: Actually there is no bug tracker for vicious. If the following helps, I will make a commit

Re: Where to report bugs for Vicious?

2011-08-31 Thread Jörg Thalheim
Actually there is no bug tracker for vicious. If the following helps, I will make a commit. Add this between the Grab enviroment tags: local math = { floor = math.floor } ... and replace the line: return { vol/0x1*100, on} with: return { math.floor(vol/0x1*100), on} Good

Fwd: Compile config file

2011-08-31 Thread Jörg Thalheim
Sorry, by mistaken I forgot to send a carbon copy back to the mailing list. Here is it: -- Forwarded message -- From: Jörg Thalheim jthalh...@gmail.com Date: 2011/8/28 Subject: Re: Compile config file To: Tom Solar Castro tso...@lavabit.com You can do this: $ mv rc.lua rc.lua_in

Re: Force Widget To Refresh

2011-08-28 Thread Jörg Thalheim
vicious.force({widget1,widget2}) You can add this to a button: widget:buttons(awful.button({ }, 1, function () vicious.force({widget}) end)) 2011/8/28 Joe Burgess joemburg...@gmail.com: I have setup the vicious weather widget and was wondering if there is a way to force a refresh?  It can be

Re: Gvim and size_hints_honor

2011-08-18 Thread Jörg Thalheim
Maybe we should extend the FAQ a little bit, about solving this problem. 2011/8/18 Vitor Eiji Justus Sakaguti vitorei...@gmail.com: On Wed, Aug 17, 2011 at 3:25 PM, Uli Schlachter psyc...@znc.in wrote: Uhm, how do you maximize gvim? All maximized states (fullscreen and

Re: Gvim and size_hints_honor

2011-08-17 Thread Jörg Thalheim
Try several font sizes and spot the difference. 2011/8/17 Vitor Eiji Justus Sakaguti vitorei...@gmail.com: Hi all, I'm having that classic my window doesn't use all the space in maximized layout issue with gvim. In my xterm windows I don't have this issue because I created a rule that sets

Moonscript

2011-08-11 Thread Jörg Thalheim
Interesting project I found today. It is a dynamic language, which compiles into lua. Similar what CoffeeScript with javascript does. The syntax of moonscript looks a little bit like a mix of python and ruby. http://moonscript.org/ -- To unsubscribe, send mail to

Re: lua client for gnome-globalmenu

2011-08-10 Thread Jörg Thalheim
This project seems to provide dbus server/client with lua bindings. I don't know if it is lightweight or whether it provide a none blocking interface. https://github.com/jmckaskill/adbus 2011/8/9 felix flx.b...@googlemail.com Hello dear awesomers, there is a gnome 3 extension called

Re: lua client for gnome-globalmenu

2011-08-10 Thread Jörg Thalheim
I check out the lua example. It is event based using callback functions, maybe exactly what you want. Integrating this into awesome shouldn't be to hard. One advantage is, that you can code your application/widget outside awesome and later build it in awesome. 2011/8/10 Jörg Thalheim jthalh

Re: french member

2011-08-05 Thread Jörg Thalheim
I don't often use google+, but well: jthalh...@gmail.com 2011/8/5 Pedram Navid pedram.na...@gmail.com: In sort of keeping with this topic, any Google+ users? I'd be interested in an Awesome circle..where we could throw ideas at each other. On Fri, Aug 5, 2011 at 12:30 AM, Ryan T. Sawyer

Re: Asynchronous execution of command

2011-07-19 Thread Jörg Thalheim
currently not the time to learn it. 2011/7/17 lfx l...@tlen.pl: On 17.07.2011 16:12, Jörg Thalheim wrote: Indeed async operations would be cool. Maybe some third party library could help. Mail your progress if you get something interesting working. http://luaforge.net/projects/luaevent/ Good

Re: Asynchronous execution of command

2011-07-17 Thread Jörg Thalheim
Indeed async operations would be cool. Maybe some third party library could help. Mail your progress if you get something interesting working. http://luaforge.net/projects/luaevent/ 2011/7/11 lfx l...@tlen.pl: On 11.07.2011 20:00, Uli Schlachter wrote: Is there any way to launch gpg command and

Re: Vicious crashing

2011-07-10 Thread Jörg Thalheim
Maybe you should add this advice to Readme. 2011/7/10 Adrian C. an...@sysphere.org: On Sun, 10 Jul 2011, Adrian C. wrote: Master -c0 This was it, he says he fixed it. -- Adrian C. (anrxc) | anrxc..sysphere.org | PGP ID: D20A0618 PGP FP: 02A5 628A D8EE 2A93 996E  929F D5CB 31B7 D20A 0618

Re: Is there a widget to show disk I/O rate in vicious

2011-06-09 Thread Jörg Thalheim
The module is called dio. Documentation is located as usual in README. Here is one way: vicious.register(iowidget, vicious.widgets.dio, bMain disk/b {sda read_mb}/{sda write_mb}MB bSecond disk/b {sdb write_mb}/{sdb write_mb}MB , 3) In my config https://github.com/Mic92/awesome-dotfiles/ I have a

Re: Is there a widget to show disk I/O rate in vicious

2011-06-09 Thread Jörg Thalheim
I forgotten that you have to create textbox named iowidget first: local iowidget = widget({ type = textbox } 2011/6/9 Jörg Thalheim jthalh...@gmail.com: The module is called dio. Documentation is located as usual in README. Here is one way: vicious.register(iowidget, vicious.widgets.dio

Re: mpdwidget does not work

2011-06-01 Thread Jörg Thalheim
Does the following snippet produce any notifications? Be careful, i have currently no chance to test the code. mpdwidget = widget({ type = 'textbox' }) vicious.register(mpdwidget, vicious.widgets.mpd,        function (widget, args) local msg = string.format(state: %s

Re: tasklist: raise client on mouse enter during dragdrop

2011-05-23 Thread Jörg Thalheim
the mouse::enter signal (function mouseenter is never called). The mouse::enter signal works fine if no mouse buttons are pressed. I'm afraid there is no easy solution for this problem On Sat, May 7, 2011 at 12:14 AM, Jörg Thalheim jthalh...@gmail.com wrote: Apply this patch /usr/share/awesome

Re: Double click in rc.lua

2011-05-09 Thread Jörg Thalheim
Currently no. But the underlying library allow this (through timestamps): http://www.x.org/releases/X11R7.6/doc/libxcb/tutorial/index.html#userinput You could simulate it, by measuring the time between clicks, but because it's async it would not work very well. Why not open a feature request on

Re: tasklist: raise client on mouse enter during dragdrop

2011-05-06 Thread Jörg Thalheim
Massimiliano Brocchini brocch...@netseven.it Thanks Jörg, that would be great! I'll be your beta tester :) On Wed, May 4, 2011 at 10:07 AM, Jörg Thalheim jthalh...@gmail.comwrote: When I have some time the following days, I try to provide a patch to fix this. 2011/5/3 Jörg Thalheim jthalh

Re: volume is mute sometimes

2011-05-03 Thread Jörg Thalheim
If you use pulseaudio as your sound system, I would recommend to switch to vicious.contrib.pulse. I also had amixer related problems. (the util the widget depends on) 2011/4/12 chris M. sprite numbch...@gmail.com I find that sometimes the volume widget of awesome will display mute , sometimes

Re: Timer and/or stopwatch for awesome tray

2011-04-22 Thread Jörg Thalheim
local tea = {} tea.widget = widget({ type = textbox }) tea.timer = timer { timeout = 1 } function tea:settime(t) if t = 3600 then -- more than one hour! t = os.date(%X, t-3600) else t = os.date(%M:%S, t) end self.widget.text = string.format(Time for Tea: b%s/b, t) end

Unleash the power of lfs

2011-03-18 Thread Jörg Thalheim
I have just play a little bit with lua filesystem (alias) and this snippet is the result. Hope someone find it useful as I. code -- You obivious have to install lua filesystem (Should be available for all distributions) require(lfs) local function processwalker() local function yieldprocess()

Re: rc.lua automatic clean-up

2011-03-03 Thread Jörg Thalheim
The Emacs editor is excellent in indent your code right. A mode for lua separately avaible. Throw batch mode you can do this automatic: http://www.cslab.pepperdine.edu/warford/BatchIndentationEmacs.html Maybe somebody here on the mailing list can compose a little snippet for your special

Re: Dockable storage device monitor

2011-02-03 Thread Jörg Thalheim
This one is good: UEvt http://elentir.sleipnir.fr/?p=433 - systray (optional) + desktop notification - very modular - power and disk management 2011/2/3 Johannes Graumann johannes_graum...@web.de: Hi, What storage device monitors (along the lines of kde4's plasmoidviewer notifier) are people

Re: Vicious Fs Widget - character problem

2011-02-01 Thread Jörg Thalheim
This snippet could solve the problem. It also reduce string.gsub calls to one per format. function format(format, args) -- naive testing whether args is an indexed table. any better solution? if args[1] ~= nil then -- args is not an indexed table, we expect the format $1,$2..$100