function set_settings()
graph_settings={
{
- name="cpu",
- arg="",
- max=100,
- y=85,
- x=5,
- autoscale=false,
- width=215,
- height=30,
- nb_values=120,
- fg_bd_size=2,
- bg_colour = {{0,0x007AF6,0},{1,0x000000,0}},
- --fg_bd_colour = { {0,0xFF0000,1},{0.5,0xFFA209,1},{1,0xFFFF00,1}},
- fg_bd_colour = { {0,0xFF0000,1},{0.5,0xFF3300,1},{1,0xFFFFFF,1}},
- --fg_colour = { {0,0xFF0000,1},{0.5,0xFFA209,1},{1,0xFFFF00,1}},
- fg_colour = { {0,0x00CCFF,0.7},{0.5,0x0000FF,0.7},{1,0x000000,0.1}},
- foreground=true,
- fg_orientation="ne",
- bg_bd_orientation="nn",
- bg_orientation="ne",
- },
+ name="cpu",
+ arg="",
+ max=100,
+ y=87,
+ x=5,
+ autoscale=false,
+ width=215,
+ height=29,
+ nb_values=120,
+ fg_bd_size=2,
+ bg_colour = {{0,0x007AF6,0},{1,0x000000,0}},
+ --fg_bd_colour = { {0,0xFF0000,1},{0.5,0xFFA209,1},{1,0xFFFF00,1}},
+ fg_bd_colour = { {0,0xFF0000,1},{0.5,0xFF3300,1},{1,0xFFFFFF,1}},
+ --fg_colour = { {0,0xFF0000,1},{0.5,0xFFA209,1},{1,0xFFFF00,1}},
+ fg_colour = { {0,0x00CCFF,0.7},{0.5,0x0000FF,0.7},{1,0x000000,0.1}},
+ foreground=true,
+ fg_orientation="ne",
+ bg_bd_orientation="nn",
+ bg_orientation="ne",
+ },
{
- name="upspeedf",
- arg="wlan0",
- max=9999,
- y=233,
- x=5,
- autoscale=true,
- width=275,
- height=35,
- nb_values=120,
- fg_bd_size=1,
- bg_colour = {{0,0x007AF6,0},{1,0x000000,0}},
- fg_bd_colour = { {0,0xFF0000,1},{0.5,0xFFA209,0.8},{1,0xFFFF00,0.6}},
- fg_colour = { {0,0xFF0000,0.65},{0.5,0xFFA209,0.5},{1,0xFFFF00,0.3}},
- foreground=true,
- inverse=true,
- DrawMe="${if_empty ${wireless_essid wlan0}}${else}1$endif",
- bg_orientation="ww",
+ name="upspeedf",
+ arg="wlan0",
+ max=9999,
+ y=233,
+ x=5,
+ autoscale=true,
+ width=275,
+ height=35,
+ nb_values=120,
+ fg_bd_size=1,
+ bg_colour = {{0,0x007AF6,0},{1,0x000000,0}},
+ fg_bd_colour = { {0,0xFF0000,1},{0.5,0xFFA209,0.8},{1,0xFFFF00,0.6}},
+ fg_colour = { {0,0xFF0000,0.65},{0.5,0xFFA209,0.5},{1,0xFFFF00,0.3}},
+ foreground=true,
+ inverse=true,
+ DrawMe="${if_up wlan0}1${else}0$endif",
+ bg_orientation="ww",
},
{
- name="downspeedf",
- arg="wlan0",
- max=9999,
- y=233,
- x=525,
- autoscale=true,
- width=275,
- height=35,
- nb_values=120,
- fg_bd_size=1,
- bg_colour = {{0,0x007AF6,0},{1,0x000000,0}},
- fg_bd_colour = { {0,0xFF0000,1},{0.5,0xFFA209,0.8},{1,0xFFFF00,0.6}},
- fg_colour = { {0,0xFF0000,0.65},{0.5,0xFFA209,0.5},{1,0xFFFF00,0.3}},
- foreground=true,
- DrawMe="${if_empty ${wireless_essid wlan0}}${else}1$endif",
- bg_orientation="ee",
+ name="downspeedf",
+ arg="wlan0",
+ max=9999,
+ y=233,
+ x=525,
+ autoscale=true,
+ width=275,
+ height=35,
+ nb_values=120,
+ fg_bd_size=1,
+ bg_colour = {{0,0x007AF6,0},{1,0x000000,0}},
+ fg_bd_colour = { {0,0xFF0000,1},{0.5,0xFFA209,0.8},{1,0xFFFF00,0.6}},
+ fg_colour = { {0,0xFF0000,0.65},{0.5,0xFFA209,0.5},{1,0xFFFF00,0.3}},
+ foreground=true,
+ DrawMe="${if_up wlan0}1${else}0$endif",
+ bg_orientation="ee",
},
{
- name="upspeedf",
- arg="gprs0",
- max=9999,
- y=230,
- x=5,
- autoscale=true,
- width=275,
- height=35,
- nb_values=120,
- fg_bd_size=1,
- bg_colour = {{0,0x007AF6,0},{1,0x000000,0}},
- fg_bd_colour = { {0,0xFF0000,1},{0.5,0xFFA209,1},{1,0xFFFF00,1}},
- fg_colour = { {0,0xFF0000,1},{0.5,0xFFA209,1},{1,0xFFFF00,1}},
- foreground=true,
- inverse=true,
- DrawMe="${if_up gprs0}1${else}0$endif",
- bg_orientation="ww",
+ name="upspeedf",
+ arg="gprs0",
+ max=9999,
+ y=233,
+ x=5,
+ autoscale=true,
+ width=275,
+ height=35,
+ nb_values=120,
+ fg_bd_size=1,
+ bg_colour = {{0,0x007AF6,0},{1,0x000000,0}},
+ fg_bd_colour = { {0,0xFF0000,1},{0.5,0xFFA209,0.8},{1,0xFFFF00,0.6}},
+ fg_colour = { {0,0xFF0000,0.65},{0.5,0xFFA209,0.5},{1,0xFFFF00,0.3}},
+ foreground=true,
+ inverse=true,
+ DrawMe="${if_up gprs0}1${else}0$endif",
+ bg_orientation="ww",
},
{
- name="downspeedf",
- arg="gprs0",
- max=9999,
- y=230,
- x=525,
- autoscale=true,
- width=275,
- height=35,
- nb_values=120,
- fg_bd_size=1,
- bg_colour = {{0,0x007AF6,0},{1,0x000000,0}},
- fg_bd_colour = { {0,0xFF0000,1},{0.5,0xFFA209,1},{1,0xFFFF00,1}},
- fg_colour = { {0,0xFF0000,1},{0.5,0xFFA209,1},{1,0xFFFF00,1}},
- foreground=true,
- DrawMe="${if_up gprs0}1${else}0$endif",
- bg_orientation="ee",
+ name="downspeedf",
+ arg="gprs0",
+ max=9999,
+ y=233,
+ x=525,
+ autoscale=true,
+ width=275,
+ height=35,
+ nb_values=120,
+ fg_bd_size=1,
+ bg_colour = {{0,0x007AF6,0},{1,0x000000,0}},
+ fg_bd_colour = { {0,0xFF0000,1},{0.5,0xFFA209,0.8},{1,0xFFFF00,0.6}},
+ fg_colour = { {0,0xFF0000,0.65},{0.5,0xFFA209,0.5},{1,0xFFFF00,0.3}},
+ foreground=true,
+ DrawMe="${if_up gprs0}1${else}0$endif",
+ bg_orientation="ee",
},
{
- name="loadavg",
- arg="1",
- max=20,
- y=95,
- x=372,
- autoscale=true,
- width=140,
- height=36,
- nb_values=100,
- fg_bd_size=0,
- bg_colour = {{0,0x667AF6,0},{1,0x000000,0}},
- fg_bd_colour = { {0,0xdd0000,0.7},{0.5,0xdddd00,0.7},{1,0xFFFF00,0.7}},
- fg_colour = { {0,0x000000,0.7},{0.5,0xdd0000,0.7},{1,0xff0000,0.7}},
- foreground=true,
+ name="loadavg",
+ arg="1",
+ max=20,
+ y=95,
+ x=372,
+ autoscale=true,
+ width=140,
+ height=36,
+ nb_values=100,
+ fg_bd_size=0,
+ bg_colour = {{0,0x667AF6,0},{1,0x000000,0}},
+ fg_bd_colour = { {0,0xdd0000,0.7},{0.5,0xdddd00,0.7},{1,0xFFFF00,0.7}},
+ fg_colour = { {0,0x000000,0.7},{0.5,0xdd0000,0.7},{1,0xff0000,0.7}},
+ foreground=true,
},
{
- name="to_bytes ${diskio",
- arg="mmcblk0}",
- max=2500000,
- y=187,
- x=640,
- autoscale=true,
- width=160,
- height=89,
- nb_values=130,
- fg_bd_size=0,
- bg_colour = {{0,0x667AF6,0},{1,0x000000,0}},
- fg_bd_colour = { {0,0xdd0000,1},{0.5,0xdddd00,1},{1,0xFFFF00,1}},
- fg_colour = { {1,0x111111,0.3},{0.5,0x33cc00,0.6},{0,0x00FF00,0.8}},
- foreground=true,
- bg_orientation="ne",
- fg_orientation="ee",
+ name="to_bytes ${diskio",
+ arg="mmcblk0}",
+ max=2500000,
+ y=187,
+ x=640,
+ autoscale=true,
+ width=160,
+ height=89,
+ nb_values=130,
+ fg_bd_size=0,
+ bg_colour = {{0,0x667AF6,0},{1,0x000000,0}},
+ fg_bd_colour = { {0,0xdd0000,1},{0.5,0xdddd00,1},{1,0xFFFF00,1}},
+ fg_colour = { {1,0x111111,0.3},{0.5,0x33cc00,0.6},{0,0x00FF00,0.8}},
+ foreground=true,
+ bg_orientation="ne",
+ fg_orientation="ee",
},
}
end