logo Debian Debian Debian-France Debian-Facile Debian-fr.org Forum-Debian.fr Debian ? Communautés logo inclusivité

Debian-facile

Bienvenue sur Debian-Facile, site d'aide pour les nouveaux utilisateurs de Debian.

Vous n'êtes pas identifié(e).


L'icône rouge permet de télécharger chaque page du wiki visitée au format PDF et la grise au format ODT → ODT PDF Export

conky tree colors

conky_treecolors
--[[
  conky_treecolors
  char : ─ │ ┌ ┐ └ ┘ ├ ┤ ┬ ┴ ┼ 
  set own_window_type from 'desktop' to 'override' to use in i3wm
]]
 
conky.config = {
  background = true,
  use_xft = true,
  font = 'Hack:pixelsize=12',
  xftalpha = 1,
  update_interval = 1.0,
  total_run_times = 0,
  own_window = true,
  own_window_transparent = true,
  own_window_type = 'desktop',
  own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
  own_window_class = 'conky',
  own_window_title = 'conky_treecolors',
  own_window_argb_visual = false,
  double_buffer = true,
  draw_shades = false,
  draw_outline = false,
  draw_borders = false,
  border_inner_margin = 0,
  border_width = 0,
  draw_graph_borders = false,
  alignment = 'tl',
  gap_x = 0,
  gap_y = 0,
  no_buffers = true,
  uppercase = false,
  text_buffer_size = 1024,
  top_name_width = 10,
  imlib_cache_size = 0,
  cpu_avg_samples = 2,
  show_graph_scale = false,
  show_graph_range = false,
  short_units = true,
  override_utf8_locale = true,
  use_spacer = 'none',
  if_up_strictness = 'address',
  default_color = 'd8dee9', --clear
  color1 = 'ffffff', --white
  color2 = 'ebcb8b', --yellow
  color3 = 'a3be8c', --green
  color4 = 'd08770', --orange
  color5 = 'bf616a', --red
  color6 = '5e81ac', --blue
  default_shade_color = 'black',
  default_outline_color = 'white'
}
 
conky.text = [[
${color6}─┐
 ├──┬─host ${color1}${nodename}${color6}
 │  ├─kernel ${color1}Debian${color4}-${texeci 28800 cat /etc/debian_version}-${color1}${kernel}${color6}
 │  └─${color4}${texeci 600 nakedupdate -c}${color6}
 │
 │    ┌time ${color3}${time %I:%M}${color6}
 ├────┼─date ${color}${time %A}${color3}${time %d}${color}${time %B}${color6}
 │    └up ${color3}${uptime_short}${color6}
 │
 ├──┬─ ${if_match $cpu > 80}${color5}${else}${color1}${endif}CPU${color}   ${cpugraph 8,180 ebcb8b bf616a -l -t}${color6}
 │  └─┬── ${if_match $cpu > 80}${color5}${else}${color1}${endif}${cpu}${color}%  ${color}${freq_g}${color}Ghz  ${color}${acpitemp}${color}°C${color6}
 │    ├──────run ${color4}$running_processes${color}/$processes${color6}
 │    │ name${goto 150}  pid    cpu    mem${color6}
 │    ├─${color2}${top name 1}${color}${goto 150}${top pid 1}${top cpu 1}%${top mem 1}%${color6}
 │    ├─${color}${top name 2}${goto 150}${top pid 2}${top cpu 2}%${top mem 2}%${color6}
 │    └─${color}${top name 3}${goto 150}${top pid 3}${top cpu 3}%${top mem 3}%${color6}
 │
 ├──┬─ ${if_match $memperc > 50}${color5}${else}${color1}${endif}RAM${color}   ${memgraph 8,180 2e3440 ebcb8b -l}${color6}
 │  └─┬─ ${if_match $memperc > 50}${color5}${else}${color1}${endif}${memperc}${color}%   ${color4}${mem}${color}/${memmax}${color6}
 │    ├────buff ${color}${buffers} ${color6}cache ${color}${cached} ${color6}swap ${color}${swap}${color6}
 │    │ name${goto 150}  pid    mem    cpu${color6}
 │    ├─${color2}${top_mem name 1}${color}${goto 150}${top_mem pid 1}${top_mem mem 1}%${top_mem cpu 1}%${color6}
 │    ├─${color}${top_mem name 2}${goto 150}${top_mem pid 2}${top_mem mem 2}%${top_mem cpu 2}%${color6}
 │    └─${color}${top_mem name 3}${goto 150}${top_mem pid 3}${top_mem mem 3}%${top_mem cpu 3}%${color6}
 │
 ├──┬─ ${if_match ${fs_used_perc /} > 80}${color5}${else}${color1}${endif}HDD${color}   ${diskiograph 8,180 2e3440 a3be8c}${color6}
 │  └─┬─system ${if_match ${fs_used_perc /} > 80}${color5}${else}${color1}${endif}${fs_used_perc /}${color}%   ${color4}${fs_used /}${color}/${fs_size /}${color6}
 │    ├─i/o ${color3}read ${color}${diskio_read}${color}/s${color6}
 │    └─i/o ${color2}write ${color}${diskio_write}${color}/s${color6}
─┘
]]
utilisateurs/arpinux/config/conky_treecolors.txt · Dernière modification: 27/01/2024 22:32 par arpinux

Pied de page des forums

Propulsé par FluxBB