View previous topic :: View next topic |
Author |
Message |
Knute Guru
Joined: 28 Jun 2004 Posts: 362 Location: Fargo, ND
|
Posted: Wed May 28, 2008 1:43 pm Post subject: Text formating in amazing for awesome |
|
|
I'm using the awesome window manager, and am trying to set up amazing for the network traffic.
I have it set up in awesome, but I want a space before the upspeed, and after the downspeed.
I know I can set up an emptybox before and after it, but there has to be a way to do it in the config.rb file for amazing.
Here's the widget code: Code: | widget("eth") {
set :module => :net_traffic
property("text") { "%3d^v%3d" %[@upload_rate, @download_rate] }
set :interval => 0.5
} |
In the property line there's got to be a way to put some variable that will do the blank line without making it bounce when the numbers change.
I'm a touch out of my depth here.
TIA _________________ Knute
----------
The human race has one really effective weapon, and that is laughter.
-- Mark Twain
If you want proof of that, take a look at windows sometime. |
|
Back to top |
|
|
alex_al n00b
Joined: 16 Jul 2008 Posts: 2 Location: Russia
|
Posted: Wed Jul 16, 2008 1:02 pm Post subject: |
|
|
Did you got ebuilds for amazing? If so, where I can get them too. Searching gives nothing. |
|
Back to top |
|
|
Knute Guru
Joined: 28 Jun 2004 Posts: 362 Location: Fargo, ND
|
Posted: Wed Jul 16, 2008 6:18 pm Post subject: |
|
|
Nope, no ebuilds, but you can get a package from http://amazing.rubyforge.org/.
I actually switched to another one that I liked better.
It's called awesome-status. (Sorry, can't remember where I found that one.) _________________ Knute
----------
The human race has one really effective weapon, and that is laughter.
-- Mark Twain
If you want proof of that, take a look at windows sometime. |
|
Back to top |
|
|
alex_al n00b
Joined: 16 Jul 2008 Posts: 2 Location: Russia
|
Posted: Wed Jul 16, 2008 7:56 pm Post subject: |
|
|
Yeah, I know these repos, but i'm not strong in writing ebuilds. Just want to make it in gentoo-way.
Thanks for awesome-status, will try too. I've found it at http://udvzsolt.extra.hu/news.php |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|