Re: Installing awesome from git under Ubuntu precise?

2012-06-08 Thread Nicolas G. Querol
2012/6/8 Rainer M Krug 

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hi
>
> I would like to use bashlets, and as it seems, I have to use awesome from
> git. In principal not a
> problem - but I would like to install it using a .deb, preferably one
> which just updates the
> official ubuntu one. Is there a ppa which has the git versions of awesome?
> Or how can I create the
> .bed for Ubuntu precise?
>
> If not possible, how can I install from source (I am a little bit
> reluctant to use "sudo make
> install" as I have bad experiences with other packeges (no uninstall!).
>
> Thanks a lot,
>
> Rainer
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk/SQ2YACgkQoYgNqgF2egrONACfWBQwruNeunU9v4BA99vZvWUj
> RaMAnjDz5LW//y03aL/sRQlm4d5VuZlX
> =XnFa
> -END PGP SIGNATURE-
>
>
> --
> To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.
>

Hello!
As far as I know, you can uninstall manually compiled software: you just
have to do a "sudo make uninstall"
from the directory where you compiled it in the first place.
Cloning awesome from git periodically and compiling it locally seems a
better solution, as you otherwise will have to build a deb package each
time you want to include new commits from awesome's git repo.
For instructions on installing & building from git, refer to the wiki:
http://awesome.naquadah.org/wiki/Building_awesome

-- 
Nicolas Gaulard Querol 


Re: Setting a specified gap between windows

2012-06-05 Thread Nicolas G. Querol
2012/6/5 Benno Zimmer 

> you can overwrite these files or create symlinks (as i did):
>
> sudo rm /usr/share/awesome/lib/awful/layout/suit/spiral.lua
> sudo ln -s ~/.config/awesome/spiral.lua
> /usr/share/awesome/lib/awful/layout/suit/spiral.lua
>
> sudo rm /usr/share/awesome/lib/awful/layout/suit/fair.lua
> sudo ln -s ~/.config/awesome/fair.lua
> /usr/share/awesome/lib/awful/layout/suit/fair.lua
>
> sudo rm /usr/share/awesome/lib/awful/layout/suit/tile.lua
> sudo ln -s ~/.config/awesome/tile.lua
> /usr/share/awesome/lib/awful/layout/suit/tile.lua
>
>
> 2012/6/5 Nicolas G. Querol 
>
> 2012/6/4 Benno Zimmer 
>>
>>> hey there! iam using custom layouts to achieve this.
>>> https://github.com/intrntbrn/awesome fair.lua / tile.lua / spiral.lua
>>> iam not the author of the files (dont know where i got them from) and i
>>> also dont know if they will work in awesome-git.
>>> you have to specify "useless_gap" in these files.
>>>
>>> best regards!
>>>
>>> 2012/6/4 Paweł Rumian 
>>>
>>>> 2012/6/4 Nicolas G. Querol :
>>>> > Thanks again Paweł!
>>>>
>>>> I'm glad I was able to help :)
>>>>
>>>> Paweł
>>>>
>>>> --
>>>> To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.
>>>>
>>>
>>>
>> Ah, that does seems to be a better way to do what I want. Where am I
>> supposed to put those files?
>> Right now if I just put them in "~/.config/awesome" the default ones are
>> still used.
>>
>>
>> --
>> Nicolas Gaulard Querol 
>>
>>
>
After a little testing, that works perfectly, thank you!

-- 
Nicolas Gaulard Querol 


Re: Setting a specified gap between windows

2012-06-05 Thread Nicolas G. Querol
2012/6/4 Benno Zimmer 

> hey there! iam using custom layouts to achieve this.
> https://github.com/intrntbrn/awesome fair.lua / tile.lua / spiral.lua
> iam not the author of the files (dont know where i got them from) and i
> also dont know if they will work in awesome-git.
> you have to specify "useless_gap" in these files.
>
> best regards!
>
> 2012/6/4 Paweł Rumian 
>
>> 2012/6/4 Nicolas G. Querol :
>> > Thanks again Paweł!
>>
>> I'm glad I was able to help :)
>>
>> Paweł
>>
>> --
>> To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.
>>
>
>
Ah, that does seems to be a better way to do what I want. Where am I
supposed to put those files?
Right now if I just put them in "~/.config/awesome" the default ones are
still used.

-- 
Nicolas Gaulard Querol 


Re: Setting a specified gap between windows

2012-06-04 Thread Nicolas G. Querol
2012/6/4 Paweł Rumian 

> 2012/6/4 Nicolas G. Querol :
> > 2012/6/4 Paweł Rumian 
> >> Hello,
> >>
> >> check the parameter theme.border_width in the file theme.lua (of your
> >> current theme).
> >>
> >> BR,
> >> Paweł
> >
> >
> > Thanks for your suggestion.
> > It kind of does what I want, but would it be possible for thoses borders
> > to be out of the way, ie. totally transparent?
>
> You forgot to CC the list ;)
>

Ah, sorry about that!


> I don't know what do you want to achieve - 'to be out of the way'
> seems like setting border width to 0, but If you want to make them
> transparent then you will need to use true (hardware) transparency
> with a lightweight compositor, like compton:
> https://github.com/chjj/compton
>
> Then you can just set opacity by specyfying the alpha value in square
> brackets before the border color, for example:
> theme.border_normal = "[40]#3F3F3F"
>
> At least this is how it works in git/master, I am not 100% sure if it
> works in release version.
>
> HTH,
> Paweł
>

Thank you, I didn't know about setting the opacity in theme.lua.
What I meant by "out of the way" is having physical borders that create a
gap
between tiled windows, but stay invisible (transparent in fact). This
avoids tiled
windows to be immediately next to each other, and improve readability IMO.

So to achieve this, I actually needed, with your advice, to set border
opacity to
0, border size to the size of the desired gap (e.g. 10), and finally to use
something like xcompmgr, or better yet as you said, compton. The only
problem
is that you cannot enable shadows, as it will make the "invisible" borders
look
like Windows Aero. But some could like it :)

Thanks again Paweł!

-- 
Nicolas Gaulard Querol 


Setting a specified gap between windows

2012-06-04 Thread Nicolas G. Querol
Hello awesomers,

Sorry if this question has already been answered, but how would one specify
a consistent
gap of a few pixels between tiled windows? I'm using awesome-git at the
moment.

-- 
Nicolas Gaulard Querol 


Re: Vicious gmail widget

2012-02-15 Thread Nicolas G. Querol
Le mardi 14 févr. 2012 à 20:26:10 (+0100), Adrian C. a écrit :
> See attached patch.
> 
> Not sure about usefulness of this feature judging just from sample you 
> provided before. Summary tag suggested it was my e-mail not Joerg's in 
> your sample, but he was the first one to be listed in an  tag.
> 
> 

Just read your mail and tested the patch; It works fine in most cases, thank 
you very
much!
And yes, the gmail atom feed may not be verbose enough to handle the
case of mailing lists, or it simply could be some bad configuration of
my mail client... Sometimes the widget would display my mail address
instead of the sender's.


-- 
Nicolas G. Querol | nicolas.gquerol(at)gmail.com

-- 
To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.


Re: Vicious gmail widget

2012-02-13 Thread Nicolas G. Querol
Many thanks for the pointers, I will give it a try tomorrow and see if I can do
it myself. Otherwise you will be the first to know!
 
 
> Le dimanche 12 févr. 2012 à 02:23:55 (+0100), Adrian C. a écrit :
> > On Sat, 11 Feb 2012, Nicolas G. Querol wrote:
> > 
> > > > Does it appear before  tag? In which case maybe this would 
> > > > work.
> > > 
> > > I'm afraid it doesn't. I attached the output of curl if you want to 
> > > take a look.
> > > 
> > > Sorry to bother you, but like I said I hardly know Lua.
> > 
> > It just means a little more work for you because subject and from 
> > matches have to swap places. So the break no longer happens in the 
> > subject match. I don't have time to write example right now maybe 
> > someone else can. I should have a day off on Tuesday, if you don't 
> > figure it out I'll give it a try then.
> > 
> > 
> 

-- 
Nicolas G. Querol | nicolas.gquerol(at)gmail.com

-- 
To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.


Re: Vicious gmail widget

2012-02-11 Thread Nicolas G. Querol
Le vendredi 10 févr. 2012 à 18:22:09 (+0100), Adrian C. a écrit :
> Does it appear before  tag? In which case maybe this would work.

I'm afraid it doesn't. I attached the output of curl if you want to take
a look.

> If you have no idea what I'm talking about just read gmail.lua you can't 
> miss where these belong.

I tried to add your snippets anyway, and it didn't work because the
'{sender}' field is always nil no matter what, and thus cannot be
concatenated by the string.match method.


Sorry to bother you, but like I said I hardly know Lua.

-- 
Nicolas G. Querol | nicolas.gquerol(at)gmail.com

http://purl.org/atom/ns#";>
Gmail - Inbox for nicolas.gque...@gmail.com
New messages in your Gmail Inbox
1
http://mail.google.com/mail"; type="text/html" />
2012-02-11T02:51:16Z

Vicious gmail widget
Does it appear before <title> tag? In which case maybe this 
would work. Counting on subject ...
http://mail.google.com/mail?account_id=nicolas.gque...@gmail.com&message_id=1356966ce86cf389&view=conv&extsrc=atom";
 type="text/html" />
2012-02-10T22:34:00Z
2012-02-10T22:34:00Z
tag:gmail.google.com,2004:1393466529217835913

Jörg Thalheim
jthalh...@gmail.com


Adrian C.
an...@sysphere.org


me
nicolas.gque...@gmail.com


marco
ma...@iftbqp.com





Re: Vicious gmail widget

2012-02-09 Thread Nicolas G. Querol
Le jeudi 09 févr. 2012 à 01:27:21 (+0100), Adrian C. a écrit :
> Run this in your terminal emualtor
> 
> curl -n https://mail.google.com/mail/feed/atom
> 
> See where the sender if stored if anywhere. Write down those tags, and 
> text between them can easily be matched... but we'll get to that later.
> 
> 

I ran the command you told me to, and it appears that the sender is the
stored in the  tag.
It is displayed as follows: "f...@bar.com".

-- 
Nicolas G. Querol | nicolas.gquerol(at)gmail.com

-- 
To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.


Vicious gmail widget

2012-02-06 Thread Nicolas G. Querol
Hi, 

I began using the vicious gmail widget a few days ago, and was wondering if one 
could modify it to display (for instance, in a tooltip) the sender's email 
address. I reckon it would be quite useful under some circumstances, as email 
subjects are sometimes quite evasive (when not just blank, alas). As I am not a 
Lua expert, I would appreciate if someone could give me some advice here.

Thanks,

-- 
Nicolas G. Querol | nicolas.gquerol(at)gmail.com

-- 
To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.