Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Text formating in amazing for awesome
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Knute
Guru
Guru


Joined: 28 Jun 2004
Posts: 362
Location: Fargo, ND

PostPosted: Wed May 28, 2008 1:43 pm    Post subject: Text formating in amazing for awesome Reply with quote

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
View user's profile Send private message
alex_al
n00b
n00b


Joined: 16 Jul 2008
Posts: 2
Location: Russia

PostPosted: Wed Jul 16, 2008 1:02 pm    Post subject: Reply with quote

Did you got ebuilds for amazing? If so, where I can get them too. Searching gives nothing.
Back to top
View user's profile Send private message
Knute
Guru
Guru


Joined: 28 Jun 2004
Posts: 362
Location: Fargo, ND

PostPosted: Wed Jul 16, 2008 6:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
alex_al
n00b
n00b


Joined: 16 Jul 2008
Posts: 2
Location: Russia

PostPosted: Wed Jul 16, 2008 7:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
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