62 lines
2.6 KiB
Plaintext
62 lines
2.6 KiB
Plaintext
conky.config = {
|
|
-- ------------------------- Windows Settings
|
|
own_window = true,
|
|
own_window_type = 'normal',
|
|
own_window_transparent = false,
|
|
own_window_hints = 'undecorated,sticky,below,skip_taskbar,skip_pager',
|
|
own_window_argb_visual = true,
|
|
own_window_argb_value = 0,
|
|
|
|
double_buffer = true,
|
|
|
|
-- ------------------------- Position
|
|
alignment = 'bottom_right',
|
|
|
|
minimum_width = 210,
|
|
minimum_height = 165,
|
|
maximum_width = 210,
|
|
gap_x = 5,
|
|
gap_y = 50,
|
|
|
|
-- ------------------------- Font
|
|
use_xft = true,
|
|
xftalpha = 0.8,
|
|
override_utf8_locale = true,
|
|
|
|
draw_shades = false,
|
|
|
|
draw_borders = false,
|
|
draw_outline = false,
|
|
draw_graph_borders = false,
|
|
|
|
font = 'Monofur:bold:size=8',
|
|
|
|
-- ------------------------- Color
|
|
default_color = 'DCDCDC',
|
|
-- color0 = '24D9D9',
|
|
color0 = '3399FF',
|
|
|
|
|
|
-- ------------------------- OTHER
|
|
update_interval = 1,
|
|
};
|
|
|
|
conky.text = [[
|
|
${voffset -18}${if_existing /proc/net/route eth0}${voffset 25}${GOTO 50}${font Monofur:bold:size=12}Network
|
|
${GOTO 50}${font}Public: ${color0}${font Monofur:size=8}${texeci 36000 wget -qO - http://ipecho.net/plain | tail}${color}
|
|
${voffset 5}${GOTO 50}${font}Local: ${color0}${font Monofur:size=8}${addrs eth0}${color}
|
|
${voffset 5}${GOTO 20}${upspeedgraph eth0 15,170 DCDCDC 3399FF}
|
|
${voffset 5}${GOTO 20}${downspeedgraph eth0 15,170 DCDCDC 3399FF}
|
|
${voffset 28}${GOTO 12}${font}Receive: ${font Monofur:size=8}${color0}${downspeed eth0}${GOTO 120}${font}${color}Send: ${font Monofur:size=8}${color0}${upspeed eth0}
|
|
${image ~/.conky/conky-xanimos/img/networkhigh.png -p 0,5}${else}${if_existing /proc/net/route wlan0}${voffset 8}${GOTO 50}${font Monofur:bold:size=18}Network${font}
|
|
${GOTO 50}${font}Public: ${color0}${font Monofur:size=8}${texeci 36000 wget -qO - http://ipecho.net/plain | tail}${color}
|
|
${voffset 5}${GOTO 50}${font}Local: ${color0}${font Monofur:size=8}${addrs wlan0}${color}
|
|
${voffset 5}${GOTO 50}${font}Up: ${font Monofur:size=8}${color0}${upspeed wlan0}
|
|
${voffset 0}${GOTO 50}${upspeedgraph eth0 15,150 3399FF 3399FF 5000}
|
|
${voffset 2}${GOTO 50}${font}${color}Down: ${font Monofur:size=8}${color0}${downspeed wlan}
|
|
${voffset 0}${GOTO 50}${downspeedgraph wlan0 15,150 3399FF 3399FF 10000}
|
|
${if_match "${wireless_link_qual_perc wlan0}"<"33"}${image ~/.conky/conky-xanimos/img/networklow.png -p 0,5 -s 45x45}${else}${if_match "${wireless_link_qual_perc wlan0}"<"66"}${image ~/.conky/conky-xanimos/img/networkmid.png -p 0,5}${else}${image ~/.conky/conky-xanimos/img/networkhigh.png -p 0,5}${endif}${endif}${else}${voffset 27}${GOTO 50}${font}Network
|
|
${GOTO 50}${font}No connection
|
|
${image ~/.conky/conky-xanimos/img/nonetwork.png -p 0,5}${endif}${endif}
|
|
]];
|