howm

Forum rules
Post your scrot in the appropriate section. If the section does not exist yet - open a new thread ;)
User avatar
harveyhunt
Haxxor
Posts: 125
Joined: Mon Jul 07, 2014 3:06 am
Contact:

howm

Unread post by harveyhunt » Sun Jul 13, 2014 3:29 am

I thought a nice little howm gallery would be a cool idea. Enjoy. :)
Attachments
howm.gif

User avatar
dkeg
Configurator
Posts: 3781
Joined: Sun Nov 18, 2012 9:23 pm
Location: Mid-Atlantic Grill

Re: howm

Unread post by dkeg » Sun Jul 13, 2014 3:37 am

that's nice mr hunt, I like it. Especially the gaps

Work hard; Complain less

User avatar
Alad
should take a shower
Posts: 447
Joined: Wed May 21, 2014 12:52 am

Re: howm

Unread post by Alad » Sun Jul 13, 2014 3:44 am

Cool, moar GIFs! :D
It's funny how we used to be able to do real stuff with rudimentary computers, but now we can't. -- ratcheer

User avatar
franksinistra
Pedophobe
Posts: 869
Joined: Mon Jan 27, 2014 2:03 am
Location: UTC+7 / UTC+8

Re: howm

Unread post by franksinistra » Sun Jul 13, 2014 2:06 pm

convinced.
I'll try it once more
rice no more.

User avatar
harveyhunt
Haxxor
Posts: 125
Joined: Mon Jul 07, 2014 3:06 am
Contact:

Re: howm

Unread post by harveyhunt » Sun Jul 13, 2014 2:09 pm

franksinistra wrote:convinced.
I'll try it once more
Awesome. :)

I have just pushed some new changes that make scripting a bar slightly easier. I can post my dzen2 script as well if you would like?

User avatar
bones
Clooney
Posts: 2367
Joined: Fri Jun 28, 2013 11:47 pm
Location: Cascadia

Re: howm

Unread post by bones » Sun Jul 13, 2014 3:02 pm

Nice work, hh, this will make a nice spin.

machinebacon
Baconator
Posts: 10158
Joined: Thu Sep 16, 2010 11:03 am
Location: Chinkistan
Contact:

Re: howm

Unread post by machinebacon » Sun Jul 13, 2014 3:51 pm

Precious! Can't wait to roast that up :)
..gnutella..

User avatar
harveyhunt
Haxxor
Posts: 125
Joined: Mon Jul 07, 2014 3:06 am
Contact:

Re: howm

Unread post by harveyhunt » Sun Jul 13, 2014 9:07 pm

pidsley wrote:Here's my version of a dzen howm bar. Sending the information to stdout and letting people do whatever they want with it is definitely the best idea, in my opinion, and parsing your new format is simple.

Image
Looks great, I have got a dzen bar running too (not as tidy as your script though). The fact that you need two instances of Dzen to have left aligned text and right aligned text is really annoying.

Just a little tip, you can have -y -20 as an argument to dzen to place the bar at the bottom- makes things a little more portable. :)

pidsley
Hermit
Posts: 2353
Joined: Wed Oct 17, 2012 12:31 pm

Re: howm

Unread post by pidsley » Sun Jul 13, 2014 9:18 pm

^ so rewrite it -- i told you it was a hack, proof-of-concept sort of thing; I'm sure you can do better. I'll pull it off my github now.

User avatar
harveyhunt
Haxxor
Posts: 125
Joined: Mon Jul 07, 2014 3:06 am
Contact:

Re: howm

Unread post by harveyhunt » Sun Jul 13, 2014 9:33 pm

Just messed with some dzen colours and unicode icons to represent layouts. I think they may be a little small though...
Attachments
howm.gif

User avatar
simgin
Meme Fodder
Posts: 1167
Joined: Sun Jan 06, 2013 12:07 am
Location: Bradford-on-Avon, UK

Re: howm

Unread post by simgin » Sun Jul 13, 2014 10:05 pm

^ Looks good Harvey 8)
Someone told me that I am delusional, I almost fell off my unicorn.

User avatar
dkeg
Configurator
Posts: 3781
Joined: Sun Nov 18, 2012 9:23 pm
Location: Mid-Atlantic Grill

Re: howm

Unread post by dkeg » Sun Jul 13, 2014 10:44 pm

bar and conky both allow alignment

Work hard; Complain less

User avatar
Subsentient
Window Manager
Posts: 56
Joined: Fri Jun 13, 2014 4:25 am
Location: (void*)0
Contact:

Re: howm

Unread post by Subsentient » Mon Aug 04, 2014 3:46 am

Now this seems rather nice actually. I might find a use for this the next time I build a 100MB Xorg/busybox distro.
Bathing in peanut butter is good for the soul. Not the chunky kind though, the chunks get stuck in your crack.

User avatar
harveyhunt
Haxxor
Posts: 125
Joined: Mon Jul 07, 2014 3:06 am
Contact:

Re: howm

Unread post by harveyhunt » Fri Aug 08, 2014 2:38 pm

Subsentient wrote:Now this seems rather nice actually. I might find a use for this the next time I build a 100MB Xorg/busybox distro.
Thanks Subsentient, I am working on getting some more code done whilst I am on holiday, hopefully some more bug fixes soon. :-)

User avatar
Subsentient
Window Manager
Posts: 56
Joined: Fri Jun 13, 2014 4:25 am
Location: (void*)0
Contact:

Re: howm

Unread post by Subsentient » Sat Aug 09, 2014 9:16 pm

I might be helpful in sterilizing your code and making it standards-compliant. I'm a C language-lawyer. Let me know if this is something you want.
Bathing in peanut butter is good for the soul. Not the chunky kind though, the chunks get stuck in your crack.

User avatar
harveyhunt
Haxxor
Posts: 125
Joined: Mon Jul 07, 2014 3:06 am
Contact:

Re: howm

Unread post by harveyhunt » Tue Aug 12, 2014 1:06 pm

Subsentient wrote:I might be helpful in sterilizing your code and making it standards-compliant. I'm a C language-lawyer. Let me know if this is something you want.
That is definitely something that I would find helpful, this is my first bigger C project so I am not sure where to start with compliance. :-(

User avatar
Subsentient
Window Manager
Posts: 56
Joined: Fri Jun 13, 2014 4:25 am
Location: (void*)0
Contact:

Re: howm

Unread post by Subsentient » Wed Aug 13, 2014 8:39 pm

@harveyhunt: link me your source.

EDIT: Found it.

Harvey, I read a good portion, and this code is really, really good. I'm serious. It's beautiful. Well thought out, well optimized, bit shift and AND combinations that make my eyes hurt, it's glorious. I do hate the indentation but that's because I love Allman style. It appears you are attempting to comply with C99. That's fine, but I bet with minimal work you could comply with C89. :^D

Is that something you'd like?

The only immediate possible standard violation is that I saw a union in there, and knowing how unions are usually used, I must ask. Are you using it to type-pun? If so, that's allowed by GCC, but not actually legal C. You can only read the member of a union you last wrote to, sayeth the standard.
Bathing in peanut butter is good for the soul. Not the chunky kind though, the chunks get stuck in your crack.

User avatar
harveyhunt
Haxxor
Posts: 125
Joined: Mon Jul 07, 2014 3:06 am
Contact:

Re: howm

Unread post by harveyhunt » Wed Aug 27, 2014 1:40 pm

Subsentient wrote:@harveyhunt: link me your source.

EDIT: Found it.

Harvey, I read a good portion, and this code is really, really good. I'm serious. It's beautiful. Well thought out, well optimized, bit shift and AND combinations that make my eyes hurt, it's glorious. I do hate the indentation but that's because I love Allman style. It appears you are attempting to comply with C99. That's fine, but I bet with minimal work you could comply with C89. :^D

Is that something you'd like?

The only immediate possible standard violation is that I saw a union in there, and knowing how unions are usually used, I must ask. Are you using it to type-pun? If so, that's allowed by GCC, but not actually legal C. You can only read the member of a union you last wrote to, sayeth the standard.
Thanks Subsentient. :-)

Making sure stuff adhere to C99 would be awesome- I mentioned to you on IRC that I require C99 for the variadic macros.

I want to optimise the code a little more, it is a little too slow sometimes. Can you recommend a profiler that you like?

User avatar
harveyhunt
Haxxor
Posts: 125
Joined: Mon Jul 07, 2014 3:06 am
Contact:

Re: howm

Unread post by harveyhunt » Mon Sep 29, 2014 8:03 pm

I have just made a gif showing off cut and paste.

I really need to get around to updating my colours...
Attachments
cutandpaste.gif

User avatar
harveyhunt
Haxxor
Posts: 125
Joined: Mon Jul 07, 2014 3:06 am
Contact:

Re: howm

Unread post by harveyhunt » Thu Dec 18, 2014 3:45 am

I finally got some free time to mess with some new colours - they are about as festive as I get. ;-)
Attachments
howm.png

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest