conky-xanimos/configs/conky_cpu

69 lines
1.9 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,
background = true,
-- ------------------------- Position
alignment = 'top_right',
minimum_width = 235,
minimum_height = 165,
maximum_width = 235,
gap_x = 435,
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',
-- ------------------------- Colors
default_color = 'DCDCDC',
color0 = '3399FF',
color1 = 'CCCCCC',
color2 = 'AAAAAA',
color3 = '888888',
color4 = '555555',
color5 = '00008b',
-- ------------------------- Other
update_interval = 1,
top_cpu_separate = false,
cpu_avg_samples = 2,
template0 = [[${GOTO 50}${color\1}${top name \2}${GOTO 135}${font Monofur:bold:size=7}${top pid \2}${alignr}${top cpu \2}%]],
no_buffers = true,
};
conky.text = [[
${voffset 8}${GOTO 50}${font Monofur:bold:size=12}CPU${font}
${voffset 10}${GOTO 50}${font}Avg use: ${font Monofur:size=8}${color0}${cpu cpu0}%${alignr}${color}${font}Freq: ${font Monofur:size=8}${color0}${freq_g} Ghz${color}
${color}${font Monofur:bold:size=8}${GOTO 50}Core:${GOTO 90}1${offset 6}${color0}${font Monofur:size=6}${voffset -1}${cpu cpu0}%${voffset -1}${color}${font}${GOTO 127}2${offset 6}${color0}${font Monofur:size=6}${voffset -1}${cpu cpu1}%
${GOTO 50}${cpugraph cpu0 15,185 00008b 3399FF}
${GOTO 50}${cpugraph cpu1 15,185 00008b 3399FF}
${voffset 3}${font Monofur:size=7}${template0 0 1}
${template0 2 2}
${template0 3 3}
${template0 3 4}
${template0 3 5}
${template0 3 6}
${image ~/.conky/conky-xanimos/img/cpu.png -p 0,0}
]];