Skip to content

Instantly share code, notes, and snippets.

@dajare
Last active April 17, 2020 07:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dajare/e021605486ee074d2eda7af0349bded7 to your computer and use it in GitHub Desktop.
Save dajare/e021605486ee074d2eda7af0349bded7 to your computer and use it in GitHub Desktop.
Conky configuration file (Xfce 4.14.1)

conky.conf

conky.config={
  alignment = 'bottom_right',
  background = false,
  use_xft = true,
  font = 'Ubuntu Mono:size=10',
  xftalpha = 0.2,
  update_interval = 2.0,
  total_run_times = 0,
  own_window = true,
  own_window_type = 'normal',
  own_window_class = 'conky',
  own_window_transparent = true,
  own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
  own_window_argb_visual = true,
  own_window_argb_value = 192,
  double_buffer = true,
  draw_shades = false,
  draw_outline = false,
  draw_graph_borders = true,
  stippled_borders = 0,
  border_width = 1,
  minimum_width = 230,
  maximum_width = 230,
  default_color = 'darkgrey',
  default_shade_color = 'black',
  default_outline_color = 'black',
  gap_x = 10,
  gap_y = 15,
  no_buffers = true,
  uppercase = false,
  cpu_avg_samples = 2,
  net_avg_samples = 2,
  override_utf8_locale = false,
  use_spacer = "none",
};

conky.text = [[

${alignc}Workspace: ${font :bold:size=8}${color gold}${if_match ${desktop}==1}1${endif}${if_match ${desktop}==2}2${endif}${font}
${font Ubuntu:style=Bold:size=12}${color gold}${alignc}${time %Y.%m.%d} ~ ${time %H:%M}${font}
${color lemonchiffon}${alignc}Linux Mint 19.3 "Tricia" Xfce
${color lightsteelblue}${alignc}$kernel on $machine
${color lightsteelblue}${alignc}CPU: ${color lightsteelblue}$cpu%  ${color lightsteelblue}CPU Temp: ${acpitemp}C
${color slategrey} ${cpugraph 24,200 708090 FFFACD -t}
${color lightsteelblue}${alignc}RAM Used:$mem ${color lightsteelblue}of $memmax
${color lightslategrey} ${membar 12,200}
${color lightsteelblue}${alignc}Processes:$color$processes ${color lightsteelblue}Running:$color$running_processes

${color lightsteelblue} Cpu usage         CPU   PID
${color darkgrey} ${top name 1}      ${offset -50} ${top cpu 1} ${top pid 1}
${color darkgrey} ${top name 2}      ${offset -50} ${top cpu 2} ${top pid 2}
${color darkgrey} ${top name 3}      ${offset -50} ${top cpu 3} ${top pid 3}
${color darkgrey} ${top name 4}      ${offset -50} ${top cpu 4} ${top pid 4}
${color darkgrey} ${top name 5}      ${offset -50} ${top cpu 5} ${top pid 5}
${color darkgrey} ${top name 6}      ${offset -50} ${top cpu 5} ${top pid 6}
# ${color darkgrey} ${top name 7}      ${offset -50} ${top cpu 5} ${top pid 7}

${color lightsteelblue} Mem usage   
${color darkgrey} ${top_mem name 1}      ${offset -50} ${top_mem mem 1} ${top pid 1}
${color darkgrey} ${top_mem name 2}      ${offset -50} ${top_mem mem 2} ${top pid 2}
${color darkgrey} ${top_mem name 3}      ${offset -50} ${top_mem mem 3} ${top pid 3}
${color darkgrey} ${top_mem name 4}      ${offset -50} ${top_mem mem 4} ${top pid 4}
${color darkgrey} ${top_mem name 5}      ${offset -50} ${top_mem mem 5} ${top pid 5}
${color darkgrey} ${top_mem name 6}      ${offset -50} ${top_mem mem 6} ${top pid 6}
# ${color darkgrey} ${top_mem name 7}      ${offset -50} ${top_mem mem 7} ${top pid 7}
# ${color darkgrey} ${top_mem name 8}      ${offset -50} ${top_mem mem 8} ${top pid 8}
]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment