Re: How can I get top-level client in awesome ?

2016-07-04 Thread Hacksign
use `local clients = client.get(false, true)`. On 4 July 2016 at 03:13, Hacksign <evils...@gmail.com> wrote: If there is 2 clients called A and B. 1. B is below A 2. A is focused this means client B is fully displayed, but A is covered by B. How can I get instance of client B in

How can I get top-level client in awesome ?

2016-07-04 Thread Hacksign
If there is 2 clients called A and B. 1. B is below A 2. A is focused this means client B is fully displayed, but A is covered by B. How can I get instance of client B in config lua file ? client.focus returned current focus window(which is A here).I want retrieve instance of client B.

Can not switch client window with mouse click after screensaver

2016-03-06 Thread Hacksign
I can not switch client window with my mouse cursor click after a screen lock or screen blank. When this situation happened, replace my rc.lua with default rc.lua then restart awesome with mod4+ctrl+r still can not switch. Here is my config file : https://github.com/Hacksign/configs/tree

Re: Can not switch client window with mouse click after screensaver

2016-03-06 Thread Hacksign
7/2016 02:35 PM, Elv1313 . wrote: Hello, What is your Awesome version? Do you have any Qt apps running? If so, does it happen after you closed them and reload Awesome? Does it happen with the latest Awesome "git" version? On 7 March 2016 at 01:24, Hacksign <evils...@gmail.com> wr

Re: display window geometry (position, size) while resizing or moving

2015-09-29 Thread Hacksign
screen[mouse.screen].geometry=> returned a table with key "x" "y" "width" "height" if c is a client object, then c:geometry() => returned a table which structure is described above On 09/29/2015 03:53 PM, Robert Fleming wrote: Anyone know of a way to display a window's geometry (e.g. 80x24

Re: High consume CPU

2015-03-08 Thread Hacksign
is not awesome 2015-03-02 4:02 GMT+01:00 Hacksign evils...@gmail.com mailto:evils...@gmail.com: Remove ~/.config/awesome/rc.lua Restart awesome with default configuration. Does awesome still caused high cpu usage ? On 2015年03月01日 04:47, Diogo Leal wrote: Hello, My

Re: High consume CPU

2015-03-01 Thread Hacksign
Remove ~/.config/awesome/rc.lua Restart awesome with default configuration. Does awesome still caused high cpu usage ? On 2015年03月01日 04:47, Diogo Leal wrote: Hello, My notebook has an old configuration, CPU : Intel Core 2 duo(T550) @ 1.66GHz and Memory: 2GB, but the awesome this consuming

Re: cairo painting turned slow

2014-12-13 Thread Hacksign
;) maybe u can try my edit version:https://github.com/Hacksign/configs/tree/master/.config/awesome/alttab I dont like preview window, so I just removed the preview from the widget. and fix position problem when there is muilty monitors with different resolutions. On 2014年12月12日 19:06, Joren

Re: cairo painting turned slow

2014-12-12 Thread Hacksign
There is a memory leak problem, see the issu page on github On 2014年12月12日 18:48, Joren Heit wrote: Hi all, My homemade alt-tab implementation (http://awesome.naquadah.org/wiki/Familiar_Alt_Tab) suddenly became exhaustingly slow after a recent (i.e. last couple of weeks) Debian upgrade. I

Re: attemp to index global right_layout(a nil value)

2014-12-04 Thread Hacksign
You need declare a layout first befor using it: local right_layout = wibox.layout.fixed.horizontal() --init an layout with wibox widget local layout = wibox.layout.align.horizontal() --init another layout laout:set_right(right_layout) On 2014年12月05日 06:42, Mohsen Pahlevanzadeh wrote: Dear