Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

.conkyrc

From Randomness wiki
Revision as of 19:37, 9 September 2024 by Derg (talk | contribs) (Created page with "<syntaxhighlight lang="lua"> conky.config = { own_window = true, own_window_type = 'normal', own_window_transparent = true, own_window_argb_visual = true, own_window_class = 'conky-semi', own_window_hints = 'undecorated,above,sticky,skip_taskbar,skip_pager', background = false, use_xft = true, update_interval = 15, total_run_times = 0, double_buffer = true, minimum_height = 5, minimum_width = 5, maximum_width = 400,...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
conky.config = {
    own_window = true,
    own_window_type = 'normal',
    own_window_transparent = true,
    own_window_argb_visual = true,
    own_window_class = 'conky-semi',
    own_window_hints = 'undecorated,above,sticky,skip_taskbar,skip_pager',
    background = false,
    use_xft = true,
    update_interval = 15,
    total_run_times = 0,
    double_buffer = true,
    minimum_height = 5,
    minimum_width = 5,
    maximum_width = 400,
    draw_shades = false,
    draw_outline = false,
    draw_borders = false,
    draw_graph_borders = false,
    default_color = gray,
    default_shade_color = red,
    default_outline_color = green,
    alignment = 'top_right',
    gap_x = 20,
    gap_y = 20,
    no_buffers = false,
    uppercase = false,
    cpu_avg_samples = 2,
    net_avg_samples = 1,
    override_utf8_locale = false,
    use_spacer = 'right',
}

conky.text  =  [[
${font Arial:bold:size=12}${color Tan1}SYSTEM ${color DarkSlateGray} ${hr 2}
$font${color DimGray}$sysname $kernel $alignr $machine
Frequency $alignr${freq_g cpu0}Ghz
Uptime $alignr${uptime}

${font Arial:bold:size=12}${color Tan1}MEMORY ${color DarkSlateGray}${hr 2}
$font${color DimGray}MEM $alignc $mem / $memmax $alignr $memperc%
$membar
$font${color DimGray}SWAP $alignc $swap / $swapmax $alignr $swapperc%
$swapbar
#${font Arial:bold:size=16}${color Tan1}HDD ${color DarkSlateGray}${hr 2}
$font${color DimGray}DISK $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_used_perc /}%
${fs_bar /}

${font Arial:bold:size=12}${color Tan1}TOP PROCESSES ${color DarkSlateGray}${hr 2}
${color DimGray}$font${top_mem name 2}${alignr}${top mem 2} %
$font${top_mem name 3}${alignr}${top mem 3} %
$font${top_mem name 4}${alignr}${top mem 4} %
$font${top_mem name 5}${alignr}${top mem 5} %

${font Arial:bold:size=12}${color Tan1}Timezones ${color DarkSlateGray}${hr 2}
California $alignr ${tztime America/Tijuana %H:%M:%S}

${font Arial:bold:size=12}${color Tan1}IP addresses ${color DarkSlateGray}${hr 2}
${execi 60 hostname -I | tr ' ' '\n' }
]]