You are not logged in.

#1 2008-07-28 05:02:53

valpolyakov
Member
Registered: 2008-07-28
Posts: 5

awesomeness - a panel for the awesome window manager

I've created a new set of widgets for the awesome window manager.
Aptly, I called the widgets: awesomeness. lol

Think of it as gkrellm (or conky) but:
1. Written in perl, thus very easily expandable and harnesses all the perl CPAN power.
2. It's out of your way, as it integrates into the awesome wm's status bar, thus it doesn't waste any precious screen space.

At this moment, here's what awesomeness can do/monitor:
1. CPU load
2. Memory usage
3. Swap usage
4. Network interface usage
5. Current weather
6. Unread emails in your mailbox (local mbox only, at the moment)
7. Current date/time
8. Interfaces with MPD/MPC for audio control (current song playing, etc)

Screenshot: http://www.polyakov.me/awesomeness.png
Latest code: http://www.polyakov.me/awesomeness.pl

If there will be interest in this, I will make everything configurable & loaded from a config file (as it stands, all values are hardcoded into the script) and will continue expanding functionality of this script.

I release this under GPLv2, and I certainly welcome any modifications and feedback on this.

cool

Offline

#2 2008-08-03 16:57:06

COMMUNISTCHINA
Member
Registered: 2008-06-16
Posts: 122
Website

Re: awesomeness - a panel for the awesome window manager

That's pretty cool.
How do you tell awesome to use it, though?


i don't know you that well.

Offline

#3 2008-08-03 19:54:20

Husio
Member
From: Europe
Registered: 2005-12-04
Posts: 359
Website

Re: awesomeness - a panel for the awesome window manager

  system("echo 0 widget_tell sb_system tb_net_down_eth1 text $eth1_in_kbps KB/s | awesome-client");

..so it's for 2.x awesome. 3.x is using Lua for scripting and writing such thing is peace of cake wink

Offline

#4 2008-08-07 18:25:37

bioe007
Member
Registered: 2007-11-12
Posts: 56

Re: awesomeness - a panel for the awesome window manager

first, thanks for posting this.

where is the supporting perl modules found? I only get errors like:

 $ ./awesomeness.pl 
Can't locate Sys/Statistics/Linux/CpuStats.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.10.0 /usr/share/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl /usr/lib/perl5/current /usr/lib/perl5/site_perl/current .) at ./awesomeness.pl line 17.
BEGIN failed--compilation aborted at ./awesomeness.pl line 17.

tried `pkgtools CpuStats.pm` and pkgtools -i .*CpuStats.* but getting nowhere. i did find a tarball here: http://search.cpan.org/~bloonix/Sys-Sta … s/Linux.pm that seems to fit the decsription. any tips?

-- nevermind -- solved by installing stuff using cpan4pacman

Last edited by bioe007 (2008-08-08 20:16:19)

Offline

Board footer

Powered by FluxBB