You are not logged in.
I am an awesome user (;)) and i am discovering Amazing. But i cant get the FileSystem applet to work. The relevant code:
[i].awesomrc[/i]
textbox NetTraffic { align = right }
textbox space2 { align = right text = " | disk1: " }
progressbar d1
{
align = right
width = 18
height = 0.5
data "d1"
{
bordercolor = "#ffffff"
fg = "#ffffff"
bg = "#535d6c"
fg_off = "#535d6c"
}
}
textbox space1 { align = right text = " | cpu: " }
progressbar CpuUsage
{
align = right
width = 18
height = 0.5
data "cpu"
{
bordercolor = "#ffffff"
fg = "#ffffff"
bg = "#535d6c"
fg_off = "#535d6c"
}
}
textbox memtitle { text = " | mem: " align = right }
progressbar Memory
{
align = right
width = 18
height = 0.5
data "mem"
{
bordercolor = "#ffffff"
fg = "#ffffff"
bg = "#535d6c"
fg_off = "#535d6c"
}
}
textbox space6 { align = right text = " | " }
textbox pacman { align = right }
textbox pac {align = right text = " new packages | " }
textbox mpd { align = right }
textbox space7 { align = right text = " | " }
textbox clock { align = right }
}
[i].amazing/config.rb[/i]
awesome {
set :screen => "0"
set :statusbar => "statusbar"
widget("NetTraffic") {
property("text"){ "d: %3d u:%3d" % [@download_rate, @upload_rate] }
set :interval => 0.5
}
widget("Memory") {
property("data mem"){[@usage] }
set :interval => 30
}
widget("clock") {
property("text"){@time}
set :interval => 60
}
widget("mpd") {
property("text"){ [@default]}
set :interval => 1
}
widget("pacman") {
set :interval => 60
}
widget("CpuUsage") {
set :cpu => 0
property("data cpu") {@usage}
set :interval => 1
}
widget("d1") {
set :module => :FileSystem
set :mountpoint => "/data/disk1"
property("data d1"){[@percentage]}
set :interval => 600
}
}
Does someone spot a mistake? When i test it using "amazing -t NetTraffic" it works...
Offline