dzen2 with cwm

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

dzen2 with cwm

James Griffin-2
Hi

I was wondering if anyone uses dzen2 with OpenBSD (-current). If so I'd be really interested to see some examples of setups and scripts.

I'd like to be able to see network activity, mailbox updates/status and a few other items of interest. Nothing too complex.

Cheers, Jamie.


--
James Griffin: jmz at kontrol.kode5.net
                                jmzgriffin at gmail.com

A4B9 E875 A18C 6E11 F46D  B788 BEE6 1251 1D31 DC38

Reply | Threaded
Open this post in threaded view
|

Re: dzen2 with cwm

Alexander Polakov
* James Griffin <[hidden email]> [130322 15:10]:
> I was wondering if anyone uses dzen2 with OpenBSD (-current). If so I'd
> be really interested to see some examples of setups and scripts.  I'd like
> to be able to see network activity, mailbox updates/status and a few other items
> of interest. Nothing too complex.

You may be probably interested in sysutils/xstatbar (nice graphs) or x11/xmobar
(all included) if you're too lazy to write monitoring scripts by yorself. Or
just pipe sysutils/conky output to dzen2.

--
Alexander Polakov | plhk.ru

Reply | Threaded
Open this post in threaded view
|

Re: dzen2 with cwm

James Griffin-2
[--------- Fri 22.Mar'13 at 15:50:04 +0400  Alexander Polakov :---------]

> * James Griffin <[hidden email]> [130322 15:10]:
> > I was wondering if anyone uses dzen2 with OpenBSD (-current). If so I'd
> > be really interested to see some examples of setups and scripts.  I'd like
> > to be able to see network activity, mailbox updates/status and a few other items
> > of interest. Nothing too complex.
>
> You may be probably interested in sysutils/xstatbar (nice graphs) or x11/xmobar
> (all included) if you're too lazy to write monitoring scripts by yorself. Or
> just pipe sysutils/conky output to dzen2.

Ok thanks Alexander. Basically you're right, I am totally lazy and don't wanna spend time writing scripts for something like this, i'm not ashamed to say. I've got more interesting things to do. I just thought someone might have come up with something nice that works and willing share.

Cheers for your reply though. Jamie


--
James Griffin: jmz at kontrol.kode5.net
                                jmzgriffin at gmail.com

A4B9 E875 A18C 6E11 F46D  B788 BEE6 1251 1D31 DC38

Reply | Threaded
Open this post in threaded view
|

Re: dzen2 with cwm

Zé Loff-2
FWIW:
https://gist.github.com/zeloff/5221377

Pretty common stuff (no mail status, though), with some trickery to
use no more than half the screen's width (was a nag when
connecting/disconnecting an external monitor) and some logic around
all the possible battery/ac power scenarios. Has a couple of commented
lines, because I used to separate wired/wireless net stats but later
chose to just show the total traffic (wired was barely used and there
was no point in showing zeros 99% of the time).

Cheers

On Mar 22, 2013, at 12:24 PM, James Griffin <[hidden email]> wrote:

> [--------- Fri 22.Mar'13 at 15:50:04 +0400  Alexander Polakov :---------]
>
>> * James Griffin <[hidden email]> [130322 15:10]:
>>> I was wondering if anyone uses dzen2 with OpenBSD (-current). If so I'd
>>> be really interested to see some examples of setups and scripts.  I'd like
>>> to be able to see network activity, mailbox updates/status and a few other items
>>> of interest. Nothing too complex.
>>
>> You may be probably interested in sysutils/xstatbar (nice graphs) or x11/xmobar
>> (all included) if you're too lazy to write monitoring scripts by yorself. Or
>> just pipe sysutils/conky output to dzen2.
>
> Ok thanks Alexander. Basically you're right, I am totally lazy and don't wanna spend time writing scripts for something like this, i'm not ashamed to say. I've got more interesting things to do. I just thought someone might have come up with something nice that works and willing share.
>
> Cheers for your reply though. Jamie
>
>
> --
> James Griffin: jmz at kontrol.kode5.net
> jmzgriffin at gmail.com
>
> A4B9 E875 A18C 6E11 F46D  B788 BEE6 1251 1D31 DC38

Reply | Threaded
Open this post in threaded view
|

Re: dzen2 with cwm

Stuart Henderson
In reply to this post by Alexander Polakov
On 2013-03-22, Alexander Polakov <[hidden email]> wrote:

> * James Griffin <[hidden email]> [130322 15:10]:
>> I was wondering if anyone uses dzen2 with OpenBSD (-current). If so I'd
>> be really interested to see some examples of setups and scripts.  I'd like
>> to be able to see network activity, mailbox updates/status and a few other items
>> of interest. Nothing too complex.
>
> You may be probably interested in sysutils/xstatbar (nice graphs) or x11/xmobar
> (all included) if you're too lazy to write monitoring scripts by yorself. Or
> just pipe sysutils/conky output to dzen2.
>

I used to do exactly this (pipe conky output through dzen2), then switched to xstatbar.

Reply | Threaded
Open this post in threaded view
|

Re: dzen2 with cwm

Andrew Hewus Fresh
In reply to this post by James Griffin-2
On Fri, Mar 22, 2013 at 10:36:32AM +0000, James Griffin wrote:
> I was wondering if anyone uses dzen2 with OpenBSD (-current). If so
> I'd be really interested to see some examples of setups and scripts.


I put mine here:
https://gist.github.com/afresh1/5095884

The statusbar is just CPU, memory and battery but easy enough to
add other things.  The bit that automatically adjusts to multiple
screens is handier (haven't tied it to dock/undock yet but perhaps
someday).

l8rZ,
--
andrew - http://afresh1.com

Whatever happened to the days when hacking started at the cerebral cortex
and not the keyboard?
                      -- Sid from UserFriendly.org

Reply | Threaded
Open this post in threaded view
|

Re: dzen2 with cwm

James Griffin-2
In reply to this post by Stuart Henderson
[--------- Fri 22.Mar'13 at 21:06:43 +0000  Stuart Henderson :---------]

> On 2013-03-22, Alexander Polakov <[hidden email]> wrote:
> > * James Griffin <[hidden email]> [130322 15:10]:
> >> I was wondering if anyone uses dzen2 with OpenBSD (-current). If so I'd
> >> be really interested to see some examples of setups and scripts.  I'd like
> >> to be able to see network activity, mailbox updates/status and a few other items
> >> of interest. Nothing too complex.
> >
> > You may be probably interested in sysutils/xstatbar (nice graphs) or x11/xmobar
> > (all included) if you're too lazy to write monitoring scripts by yorself. Or
> > just pipe sysutils/conky output to dzen2.
> >
>
> I used to do exactly this (pipe conky output through dzen2), then switched to xstatbar.

Cheers Stuart/Alexander - conky \w dzen2 or xstatbar seems worth a go.
No doubt i'll probably just uninstall them after a while. Afterall, I
can get info from the commandline and also use tmux to show some stats.
Just playing around with cwm really, so maybe i've too much time on my
hands :-) .

I'd probably be better off using the time to help in some with the
project, like writing docs - i'm pretty good at that.

Cheers for all replies and links etc.

Jamie.


--
James Griffin: jmz at kontrol.kode5.net
                                jmzgriffin at gmail.com

A4B9 E875 A18C 6E11 F46D  B788 BEE6 1251 1D31 DC38