dotfiles/.config/conky/conkyrc2

111 lines
4.5 KiB
Text
Raw Normal View History

2019-02-17 18:22:29 +01:00
conky.config = {
2023-02-05 23:49:47 +01:00
alignment = 'top_left',
2019-02-17 18:22:29 +01:00
background = true,
cpu_avg_samples = 4,
xinerama_head = 1,
double_buffer = true,
2023-02-05 23:49:47 +01:00
font = 'xos4 Terminus:pixelsize=12',
2019-02-17 18:22:29 +01:00
draw_graph_borders = true,
2021-08-02 20:02:32 +02:00
draw_outline = false,
2019-02-17 18:22:29 +01:00
minimum_width = 260,
maximum_width = 260,
2021-07-31 20:51:55 +02:00
minimum_height = 1080,
2023-02-05 23:49:47 +01:00
gap_x = 274,
gap_y = 4,
2019-02-17 18:22:29 +01:00
no_buffers = true,
own_window = true,
own_window_class = Conky,
own_window_type = 'override',
2021-07-31 20:51:55 +02:00
own_window_transparent = false,
own_window_colour = '#2D2D2D',
2019-09-09 18:40:36 +02:00
update_interval = 1.0,
2019-02-17 18:22:29 +01:00
use_xft = true,
2021-08-02 20:02:32 +02:00
default_color = 'D3D0C8',
2019-02-17 18:22:29 +01:00
format_human_readable = true,
short_units = true,
if_up_strictness = 'link',
2020-11-06 01:59:52 +01:00
use_spacer = right,
2020-05-12 18:25:43 +02:00
text_buffer_size = 2048,
2023-02-05 23:49:47 +01:00
mpd_host = "/home/breizh/.mpd/socket",
2019-02-17 18:22:29 +01:00
color2 = 'F2F0EC',
2023-02-05 23:49:47 +01:00
font2 = 'xos4 Terminus:pixelsize=14',
2019-02-17 18:22:29 +01:00
template0 = [[${top_mem pid \1} ${top_mem name \1}${alignr}${top_mem mem_res \1} ${top_mem mem \1}%]]
};
conky.text = [[
2023-02-05 23:49:47 +01:00
${color 6699CC}$alignc${font xos4 Terminus:pixelsize=18}${time %A %d %B %Y}$font$color
2019-02-17 18:22:29 +01:00
${color2}${font2}Mémoire $hr$font$color
${memgraph}
2023-02-05 23:49:47 +01:00
${goto 140}${color 747369}${memwithbuffersbar}${color}${voffset -11}
2019-02-17 18:22:29 +01:00
RAM : $memperc%${goto 140}${if_match $memperc>85}${color F2777A}$else${if_match $memperc>70}${color FFCC66}$else${color 99CC99}$endif$endif${membar}$color
Util.: ${mem}${goto 140}Dispo.: ${memeasyfree}
Cache: ${cached}${goto 140}Libre : ${memfree}
Buff.: ${buffers}${goto 140}Total : ${memmax}
Swap : $swapperc%${goto 140}${if_match $swapperc>85}${color F2777A}$else${if_match $swapperc>70}${color FFCC66}$else${color 99CC99}$endif$endif${swapbar}$color
Util.: ${swap}${goto 140}Dispo.: ${swapfree}
${template0 1}
${template0 2}
${template0 3}
${template0 4}
${template0 5}
2022-04-15 13:05:19 +02:00
${template0 6}
${template0 7}
${template0 8}
${template0 9}
${template0 10}
2019-02-17 18:22:29 +01:00
${color2}${font2}Réseau $hr$font$color
2021-07-31 20:51:55 +02:00
${voffset 2}Téléchargement ${downspeed enp34s0}${goto 140}Téléversement ${upspeed enp34s0}
${downspeedgraph enp34s0 25,125}${alignr}${upspeedgraph enp34s0 25,125}
Téléchargé ${totaldown enp34s0}${goto 140}Téléversé ${totalup enp34s0}
2019-02-17 18:22:29 +01:00
2021-07-31 20:51:55 +02:00
$alignc${addrs enp34s0}
2023-02-05 23:49:47 +01:00
$alignc${scroll wait 48 1 5 ${v6addrs enp34s0 -n -s}}${if_up tun0}
2022-08-13 00:34:09 +02:00
#$alignc${curl ifconfig.co/ip}$alignc${curl ip.yunohost.org}${if_up tun0}
2019-04-19 22:18:25 +02:00
${color2}${font2}VPN $hr$font$color
${voffset 2}Téléchargement ${downspeed tun0}${goto 140}Téléversement ${upspeed tun0}
${downspeedgraph tun0 25,125}${alignr}${upspeedgraph tun0 25,125}
Téléchargé ${totaldown tun0}${goto 140}Téléversé ${totalup tun0}
$alignc${addrs tun0}
$alignc${scroll left 39 2 1 ${v6addrs tun0 -n -s}}
${endif}
2019-06-13 20:12:29 +02:00
${color2}${font2}Capteurs $hr$font$color${voffset 2}
CPU${goto 140}${if_match ${hwmon zenpower temp 1}>70}${color F2777A}$endif${hwmon zenpower temp 1}°C${color}
2019-02-17 18:22:29 +01:00
${color2}${font2}Carte graphique $hr${font}${color}
#${voffset 2}Usage${goto 140}${texeci 3 conky_radeon}%
#VRAM: ${texeci 3 conky_radeon vram mb}M${goto 140}${texeci 3 conky_radeon vram}%
2022-11-10 00:55:04 +01:00
Temp puce${goto 140}${if_match ${hwmon amdgpu temp 1}>80}${color F2777A}$endif${hwmon amdgpu temp 1}°C${color}
Temp junction${goto 140}${if_match ${hwmon amdgpu temp 2}>90}${color F2777A}$endif${hwmon amdgpu temp 2}°C${color}
Temp mem${goto 140}${if_match ${hwmon amdgpu temp 3}>80}${color F2777A}$endif${hwmon amdgpu temp 3}°C${color}
Conso${goto 140}${if_match ${execi 5 sensors -j | jq '."amdgpu-pci-2900"."PPT"."power1_average"'}>180}${color F2777A}$endif${execi 5 sensors -j | jq '."amdgpu-pci-2900"."PPT"."power1_average"' | cut -d. -f1} W${color}
2022-11-10 00:55:04 +01:00
Ventilo${goto 140}${if_match ${hwmon amdgpu fan 1}>2000}${color F2777A}$endif${hwmon amdgpu fan 1} RPM${color}
${color2}${font2}Système $hr$font$color${voffset 2}
Kernel${goto 140}$kernel
Uptime${goto 140}$uptime
2023-02-05 23:49:47 +01:00
Redshift${goto 140}${execpi 5 redshift -p | grep -Po "[0-9]+K"}
2021-05-18 19:13:45 +02:00
${color2}${font2}Sylvexplorer $hr$font$color${voffset 2}
${texeci 3600 /home/breizh/.config/conky/sylv.sh}
2023-02-05 23:49:47 +01:00
${color2}${font2}MPD $hr$font$color${voffset 2}
$alignc${scroll wait 48 1 5 ${mpd_smart}}
$alignc${if_match "$mpd_album"!=""}${scroll wait 48 1 5 ${mpd_album}}$endif
$alignr$mpd_elapsed / $mpd_length ${goto 140}${if_match "${mpd_status}"=="Playing"}${color 99CC99}$endif${if_match "${mpd_status}"=="Paused"}${color FFCC66}$endif${if_match "${mpd_status}"=="Stopped"}${color F2777A}$endif$mpd_bar$color
Piste: $mpd_track${goto 140}Date : $mpd_date
Nom : ${scroll wait 17 1 5 $mpd_name}${goto 140}Bitr.: $mpd_bitrate kbps
Rép. : $mpd_repeat${goto 140}Aléa.: $mpd_random
Comm.: ${scroll wait 41 1 5 ${mpd_comment}}
2019-02-17 18:22:29 +01:00
${color2}${font2}Notes $hr$font$color${voffset 2}
${catp /home/breizh/notes}
]]