[Compiz] Probléme d'affichage (en cours)

Questions et astuces concernant l'installation et la configuration d'archlinux
Avatar de l’utilisateur
banditblue
Elfe
Messages : 623
Inscription : dim. 10 janv. 2010, 10:19

[Compiz] Probléme d'affichage (en cours)

Message par banditblue »

salut la team


j'essaie en vain de faire fonctionner ou plutôt d'affiche le conkydasn compiz qui lui est 100% fonctionnel

lorsque je lance depuis mon terminal

Code : Tout sélectionner

conky -c /home/moi/.conky/.conkyrc_compiz
jle conky s'affiche bien mais j'ai un probleme de trainé qui fait freezer l''ecran

voici mon conkyrc_compiz

Code : Tout sélectionner

--[[
Conky, a system monitor, based on torsmo

Any original torsmo code is licensed under the BSD license

All code written since the fork of torsmo is licensed under the GPL

Please see COPYING for details

Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
Copyright (c) 2005-2019 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
All rights reserved.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
]]

conky.config = {
    alignment = 'top_right',
    background = false,
    border_width = 0,
    cpu_avg_samples = 2,
    default_color = 'white',
    default_outline_color = 'white',
    default_shade_color = 'white',
    double_buffer = true,
    draw_borders = false,
    draw_graph_borders = false,
    draw_outline = false,
    draw_shades = false,
    extra_newline = false,
    font = 'DejaVu Sans Mono:size=12',
    gap_x = 0,
    gap_y = 180,
    minimum_height = 00,
    minimum_width = 200,
    net_avg_samples = 1,
    no_buffers = true,
    out_to_console = false,
    out_to_ncurses = false,
    out_to_stderr = false,
    out_to_x = true,
    own_window = true,
    own_window_transparent = true,
    own_window_class = 'Conky',
    own_window_type = 'desktop',
    show_graph_range = false,
    show_graph_scale = false,
    stippled_borders = 0,
    update_interval = 1.0,
    uppercase = false,
    use_spacer = 'yes',
    use_xft = true,
    lua_load = "~/.conky/lua/bargraph.lua",
    lua_draw_hook_pre = "main_bars",
}

conky.text = [[
${offset 0}${voffset 10}
${font SF Square Head:size=10}Ordinateur${font}${hr 2} 
  ${font DejaVu:size=8}${voffset -5}Systeme${offset 40}:
  ${offset 105}${voffset -12}${sysname}
  ${offset 15}${voffset -1}Kernel${offset 50}:
  ${offset 107}${voffset -12}${kernel}
  ${offset 15}${voffset 0}Temps${offset 49}:
  ${offset 107}${voffset -12}${uptime}
  ${offset 15}${voffset -2}Cpu${offset 65}:
  ${offset 107}${voffset -12}${freq_g} GHz${font}
${font SF Square Head:size=10}Intel i9-10900kf${font}${hr 1}
  ${font DejaVu:size=7}
  ${offset 20}${voffset -12}Core 1    :${goto 90}${cpu cpu1} %
  ${offset 20}Core 2    :${goto 90}${cpu cpu2} %
  ${offset 20}Core 3    :${goto 90}${cpu cpu3} %
  ${offset 20}Core 4    :${goto 90}${cpu cpu4} %
  ${offset 20}Core 5    :${goto 90}${cpu cpu5} %
  ${offset 20}Core 6    :${goto 90}${cpu cpu6} %
  ${offset 20}Core 7    :${goto 90}${cpu cpu7} %
  ${offset 20}Core 8    :${goto 90}${cpu cpu8} %
  ${offset 20}Core 9    :${goto 90}${cpu cpu9} %
  ${offset 20}Core 10 :${goto 90}${cpu cpu10} %
  ${offset 20}Core 11 :${goto 90}${cpu cpu11} %
  ${offset 20}Core 12 :${goto 90}${cpu cpu12} %
  ${offset 20}Core 13 :${goto 90}${cpu cpu13} %
  ${offset 20}Core 14 :${goto 90}${cpu cpu14} %
  ${offset 20}Core 15 :${goto 90}${cpu cpu15} %
  ${offset 20}Core 16 :${goto 90}${cpu cpu16} %
  ${offset 20}Core 17 :${goto 90}${cpu cpu17} %
  ${offset 20}Core 18 :${goto 90}${cpu cpu18} %
  ${offset 20}Core 19 :${goto 90}${cpu cpu19} %
  ${offset 20}Core 20 :${goto 90}${cpu cpu20} %${font}
${font SF Square Head:size=10}${voffset -4}Disque Dur${font} ${hr 2} 
  ${font DejaVu:size=7}
  ${offset 12}${voffset -15}Systeme${goto 120}Home
  ${offset 12}${voffset -2}${fs_used /} / ${fs_size /}${goto 120}${fs_used /home} / ${fs_size /home}   
  ${offset 12}${voffset 12}Alpha (Win10)${goto 120}Beta	(Win10)         
  ${offset 12}${voffset -2}${fs_used /run/media/moi/A4D45200D451D4E0} / ${fs_size /run/media/moi/A4D45200D451D4E0}${goto 120}${fs_used /run/media/moi/Beta} / ${fs_size /run/media/moi/Beta}
  ${offset 12}${voffset 10}Cappa${goto 120}Epsilon
  ${offset 12}${voffset -2}${fs_used /run/media/moi/Cappa 8to} / ${fs_size /run/media/moi/Cappa 8to}${goto 120}${fs_used /run/media/moi/Epsilon 8to} / ${fs_size /run/media/moi/Epsilon 8to}
  ${offset 12}${voffset 10}Gamma
  ${offset 12}${voffset -2}${fs_used /run/media/moi/Gamma 8to} / ${fs_size /run/media/moi/Gamma 8to}${font}
${font SF Square Head:size=10}${voffset 5}Memoire${font} ${hr 2}
  ${font DejaVu:size=7}${offset 5}${voffset -8}Utilisé${goto 80}:
  ${offset 100}${voffset -12}${mem} / ${memmax}${font}
${font SF Square Head:size=10}${voffset -4}Resaux par le cable${font} ${hr 2} 
  ${font DejaVu:size=7}${offset -5}${voffset -5}Down${goto 60}:
  ${offset 60}${voffset -12}${downspeed enp4s0} /s
  ${offset 10}${voffset -3}Upload${goto 60}:
  ${offset 60}${voffset -12}${upspeed enp4s0} /s${font}
${font SF Square Head:size=10}Meteo ${font}${hr 2}
${texeci 500 bash $HOME/Wunderground_conky_script/wunderground}
${image $HOME/Wunderground_conky_script/Forecast_Images/current.png -p 20,680 -s 75x75}
${voffset -45}${offset 10}${font Arial:size=8}Condition Météo:${font}
${voffset -23}${offset 100}${font Arial:italic:size=10}${texeci 600 sed -n '88p' $HOME/Wunderground_conky_script/curr_cond|cut -c1-20}${font}
${voffset 10}${offset 105}${font Arial:size=9}Température:${font}
${voffset -30}${offset 180}${font wwDigital:size=18}${texeci 600 sed -n '52p' $HOME/Wunderground_conky_script/curr_cond}°${font}
${voffset -5}${offset 130}${font Arial:size=8}ressentie:${font}
${voffset -25}${offset 180}${font wwDigital:size=10}(${texeci 600 sed -n '58p' $HOME/Wunderground_conky_script/curr_cond}°)${font}
${voffset 10}${offset 105}${font Arial:size=9}Max:${font}${voffset -4}${font wwDigital:size=11}${texeci 600 sed -n '62p' $HOME/Wunderground_conky_script/curr_cond}°${font}
${voffset -20}${offset 165}${font Arial:size=9}Min:${voffset -4}${font}${font wwDigital:size=11}${texeci 600 sed -n '66p' $HOME/Wunderground_conky_script/curr_cond}°${font}
${voffset -8}${hr 1}
${offset 15}${font Arial:Italic:size=11}Prévision de la semaine${font}
${voffset -5}${offset 25}${font Arial:size=8}${texeci 600 sed -n '202p' $HOME/Wunderground_conky_script/10days|tr a-z A-Z|cut -c1-3}${offset 45}${texeci 600 sed -n '398p' $HOME/Wunderground_conky_script/10days|tr a-z A-Z|cut -c1-3}${offset 45}${texeci 600 sed -n '594p' $HOME/Wunderground_conky_script/10days|tr a-z A-Z|cut -c1-3}${font}
${font Arial:size=8}${voffset 30}${offset 25}${texeci 600 sed -n '796p' $HOME/Wunderground_conky_script/10days}°/${texeci 600 sed -n '894p' $HOME/Wunderground_conky_script/10days}°
${voffset -12}${offset 95}${texeci 600 sed -n '992p' $HOME/Wunderground_conky_script/10days}°/${texeci 600 sed -n '1090p' $HOME/Wunderground_conky_script/10days}°
${voffset -12}${offset 160}${texeci 600 sed -n '1188p' $HOME/Wunderground_conky_script/10days}°/${texeci 600 sed -n '1286p' $HOME/Wunderground_conky_script/10days}°
${font Arial:size=8}${voffset 10}${offset 25}${texeci 600 sed -n '788p' $HOME/Wunderground_conky_script/10days|tr a-z A-Z|cut -c1-3}${offset 45} ${texeci 600 sed -n '984p' $HOME/Wunderground_conky_script/10days|tr a-z A-Z|cut -c1-3}${offset 45}${texeci 600 sed -n '1180p' $HOME/Wunderground_conky_script/10days|tr a-z A-Z|cut -c1-3}${font}
${voffset -40}${hr 1}
${font Arial:size=8}${voffset 45}${offset 27}${texeci 600 sed -n '1384p' $HOME/Wunderground_conky_script/10days}°/${texeci 600 sed -n '1482p' $HOME/Wunderground_conky_script/10days}°
${voffset -13}${offset 90}${texeci 600 sed -n '1580p' $HOME/Wunderground_conky_script/10days}°/${texeci 600 sed -n '1678p' $HOME/Wunderground_conky_script/10days}°
${voffset -13}${offset 160}${texeci 600 sed -n '1776p' $HOME/Wunderground_conky_script/10days}°/${texeci 600 sed -n '1874p' $HOME/Wunderground_conky_script/10days}°${font}
${hr 1}
${font Arial:size=9}${goto 25}${font Arial:size=8}Direction du vent:${goto 120} ${texeci 600 sed -n '82p' $HOME/Wunderground_conky_script/curr_cond}  ${goto 150}${texeci 600 sed -n '86p' $HOME/Wunderground_conky_script/curr_cond} km/h
${goto 25}Pression:${goto 150}${texeci 600 sed -n '30p' $HOME/Wunderground_conky_script/curr_cond} mbar
${goto 25}Visibilité:${goto 150}${texeci 600 sed -n '78p' $HOME/Wunderground_conky_script/curr_cond} km
${goto 25}Humidité de l'air:${goto 150}${texeci 600 sed -n '36p' $HOME/Wunderground_conky_script/curr_cond} %
${goto 25}Index UV: ${goto 150}${texeci 600 sed -n '72p' $HOME/Wunderground_conky_script/curr_cond}
${goto 25}Précipitation (6h):${goto 150}${texeci 600 sed -n '22p' $HOME/Wunderground_conky_script/curr_cond} ml

${voffset -5}${goto 10}Ephéméride ;
${goto 25}Levée du soleil:${goto 150}${texeci 600 sed -n '44p' $HOME/Wunderground_conky_script/curr_cond|cut -c1-5}
${goto 25}Couchée du soleil:${goto 150}${texeci 600 sed -n '48p' $HOME/Wunderground_conky_script/curr_cond|cut -c1-5}
${goto 25}Levée de la lune:${goto 150}${texeci 600 sed -n '3p' $HOME/Wunderground_conky_script/moon_data|cut -c1-5}
${goto 25}Couchée de la lune:${goto 150}${texeci 600 sed -n '2p' $HOME/Wunderground_conky_script/moon_data|cut -c1-5}${font}
${image $HOME/Wunderground_conky_script/Forecast_Images/1.png -p 25,805 -s 30x30}
${image $HOME/Wunderground_conky_script/Forecast_Images/5.png -p 95,805 -s 30x30}
${image $HOME/Wunderground_conky_script/Forecast_Images/7.png -p 160,805 -s 30x30}
${image $HOME/Wunderground_conky_script/Forecast_Images/9.png -p 30,880 -s 30x30}
${image $HOME/Wunderground_conky_script/Forecast_Images/17.png -p 95,880 -s 30x30}
${image $HOME/Wunderground_conky_script/Forecast_Images/19.png -p 160,880 -s 30x30}
${font SF Square Head:size=10}${voffset -120}Mise a jour${font} ${hr 2}
  ${voffset -6}${font DejaVu:size=7}Yaourt
  ${voffset -12}${offset 60}${execpi 600 yaourt -Sya --logfile /dev/null > /dev/null; yaourt -Qu | wc -l}
  ${voffset -12}${offset 90}Yay
  ${voffset -12}${offset 115}${execpi 600 yay -Sya --logfile /dev/null > /dev/null; yay -Qu | wc -l}
  ${voffset -12}${offset 145}AUR:
  ${voffset -12}${offset 172}${execi 600 yay -Qum | wc -l}
  ${voffset -2}${offset 15}System   ${execi 600 pacman -Qu | wc -l}${font}
${voffset -10}${offset 5}${hr 2}

]]


une photo vaux mieux qu'un long discours
Image

a une époque il y avait une manip à faire pour que le conky s'intégre correctement a compiz, mais ne me souvient plus du tout de comment l'appliquer
La connaîssance n'a pas de limite.
Mais sa valeur, est d'autant plus grande, une fois partagé
Avatar de l’utilisateur
brunoo
Hankyu
Messages : 32
Inscription : mar. 13 oct. 2015, 20:09
Localisation : Auvergne

Re: [Compiz] Probléme d'affichage (en cours)

Message par brunoo »

Bonsoir,
Voici une partie de mon conky setting qui fonctionne bien avec compiz.

Code : Tout sélectionner

-- Window specifications --
gap_x = 0,
gap_y = 0,
minimum_height = 620,
minimum_width = 180,
-- maximum_width = 180,
own_window = true,
own_window_class = 'conky',
own_window_type = 'normal',  -- other options are: override/dock/desktop/panel/normal
own_window_transparent = false,
own_window_hints = 'undecorated,sticky,skip_taskbar,skip_pager,below',
border_inner_margin = 0,
border_outer_margin = 0,
alignment = 'middle_right',
own_window_argb_visual = true,
own_window_argb_value = 0,
Voir le "own_window_transparent, own_window_argb_visual et value".
Carte-mére : Gigabyte H77-DS3H - Carte graphique : Radeon HD4670 - Processeur : Intel(R) Core(TM) i3-3240 CPU @ 3.40GHz

«La mélancolie, c'est le bonheur d'être triste.» - Victor Hugo -

«Éteindre en nous ce feu
Qui mord, qui dévore ?
Mais que faire d'autre,
Sinon rallumer un feu
Autrement plus puissant,
Plus libre.»
- François Cheng -
Avatar de l’utilisateur
banditblue
Elfe
Messages : 623
Inscription : dim. 10 janv. 2010, 10:19

Re: [Compiz] Probléme d'affichage (en cours)

Message par banditblue »

:D merci brunoo

je vais tenter de voir ce que cela donne avec tes recommandation :bravo:
La connaîssance n'a pas de limite.
Mais sa valeur, est d'autant plus grande, une fois partagé
Avatar de l’utilisateur
banditblue
Elfe
Messages : 623
Inscription : dim. 10 janv. 2010, 10:19

Re: [Compiz] Probléme d'affichage (terminé)

Message par banditblue »

Petit retour rapide,
j'ai rajouté quelques lignes est le conky est fonctionnel sur toutes les fenêtres.

Mes lignes de code pour ceux que ça intéresse

Pour l'horloge.kua

Code : Tout sélectionner

--[[
Conky, a system monitor, based on torsmo

Any original torsmo code is licensed under the BSD license

All code written since the fork of torsmo is licensed under the GPL

Please see COPYING for details

Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
Copyright (c) 2005-2019 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
All rights reserved.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
]]

conky.config = {
    alignment = 'top_right',
    background = false,
    border_width = 0,
    cpu_avg_samples = 2,
    default_color = 'white',
    default_outline_color = 'white',
    default_shade_color = 'white',
    double_buffer = true,
    draw_borders = false,
    draw_graph_borders = false,
    draw_outline = false,
    draw_shades = false,
    extra_newline = true,
    font = 'DejaVu Sans Mono:size=12',
    gap_x = 0,
    gap_y = 0,
    minimum_height = 200,
    minimum_width = 200,
    net_avg_samples = 1,
    no_buffers = true,
    out_to_console = false,
    out_to_ncurses = false,
    out_to_stderr = false,
    out_to_x = true,
    own_window = true,
    own_window_transparent = true,
    own_window_hints = undecorate,sticky,skip_taskbar,skip_pager,below,
    own_window_class = 'conky',
    own_window_type = 'dock',
    own_window_argb_visual = true,
    own_window_argb_value = 0,
    own_window_argb_visual = true,
    own_window_argb_value = 0,
    show_graph_range = false,
    show_graph_scale = false,
    stippled_borders = 0,
    update_interval = 1.0,
    uppercase = false,
    use_spacer = 'none',
    use_xft = true,
    lua_load = "~/.conky/lua/conky_gray.lua",
    lua_draw_hook_pre = "main",
}

conky.text = [[
   ${font DejaVu:size=7}${voffset 70}${offset 62}${time %A}${font}
   ${font DejaVu:size=16}${voffset -10}${offset 72}${time %d}${font}
   ${font DejaVu:size=8}${voffset -5}${offset 62}${time %B}${font}
]]
Pour le .conkyrc_compiz

Code : Tout sélectionner

--[[
Conky, a system monitor, based on torsmo

Any original torsmo code is licensed under the BSD license

All code written since the fork of torsmo is licensed under the GPL

Please see COPYING for details

Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
Copyright (c) 2005-2019 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
All rights reserved.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

possibilité de changer      own_window_type -- par l'un de ces intitulés   dock,override,desktop,normal
]]

conky.config = {
    alignment = 'top_right',
    background = false,
    border_width = 0,
    cpu_avg_samples = 2,
    default_color = 'white',
    default_outline_color = 'white',
    default_shade_color = 'white',
    double_buffer = true,
    draw_borders = false,
    draw_graph_borders = false,
    draw_outline = false,
    draw_shades = false,
    extra_newline = true,
    font = 'DejaVu Sans Mono:size=12',
    gap_x = 0,
    gap_y = 180,
    minimum_height = 00,
    minimum_width = 200,
    net_avg_samples = 1,
    no_buffers = true,
    out_to_console = false,
    out_to_ncurses = false,
    out_to_stderr = false,
    out_to_x = true,
    own_window = true,
    own_window_transparent = true,
    own_window_hints = undecorate,sticky,skip_taskbar,skip_pager,below,
    own_window_class = 'conky',
    own_window_type = 'dock',
    own_window_argb_visual = true,
    own_window_argb_value = 0,
    show_graph_range = false,
    show_graph_scale = false,
    stippled_borders = 0,
    update_interval = 1.0,
    uppercase = false,
    use_spacer = 'none',
    use_xft = true,
    lua_load = "~/.conky/lua/bargraph.lua",
    lua_draw_hook_pre = "main_bars",
}

conky.text = [[
${offset 0}${voffset 10}
${font SF Square Head:size=10}Ordinateur${font}${hr 2} 
  ${font DejaVu:size=8}${voffset -5}Systeme${offset 40}:
  ${offset 105}${voffset -12}${sysname}
  ${offset 15}${voffset -1}Kernel${offset 50}:
  ${offset 107}${voffset -12}${kernel}
  ${offset 15}${voffset 0}Temps${offset 49}:
  ${offset 107}${voffset -12}${uptime}
  ${offset 15}${voffset -2}Cpu${offset 65}:
  ${offset 107}${voffset -12}${freq_g} GHz${font}
${font SF Square Head:size=10}Intel i9-10900kf${font}${hr 1}
  ${font DejaVu:size=7}
  ${offset 20}${voffset -12}Core 1    :${goto 90}${cpu cpu1} %
  ${offset 20}Core 2    :${goto 90}${cpu cpu2} %
  ${offset 20}Core 3    :${goto 90}${cpu cpu3} %
  ${offset 20}Core 4    :${goto 90}${cpu cpu4} %
  ${offset 20}Core 5    :${goto 90}${cpu cpu5} %
  ${offset 20}Core 6    :${goto 90}${cpu cpu6} %
  ${offset 20}Core 7    :${goto 90}${cpu cpu7} %
  ${offset 20}Core 8    :${goto 90}${cpu cpu8} %
  ${offset 20}Core 9    :${goto 90}${cpu cpu9} %
  ${offset 20}Core 10 :${goto 90}${cpu cpu10} %
  ${offset 20}Core 11 :${goto 90}${cpu cpu11} %
  ${offset 20}Core 12 :${goto 90}${cpu cpu12} %
  ${offset 20}Core 13 :${goto 90}${cpu cpu13} %
  ${offset 20}Core 14 :${goto 90}${cpu cpu14} %
  ${offset 20}Core 15 :${goto 90}${cpu cpu15} %
  ${offset 20}Core 16 :${goto 90}${cpu cpu16} %
  ${offset 20}Core 17 :${goto 90}${cpu cpu17} %
  ${offset 20}Core 18 :${goto 90}${cpu cpu18} %
  ${offset 20}Core 19 :${goto 90}${cpu cpu19} %
  ${offset 20}Core 20 :${goto 90}${cpu cpu20} %${font}
${font SF Square Head:size=10}${voffset -4}Disque Dur${font} ${hr 2} 
  ${font DejaVu:size=7}
  ${offset 12}${voffset -15}Systeme${goto 120}Home
  ${offset 12}${voffset -2}${fs_used /} / ${fs_size /}${goto 120}${fs_used /home} / ${fs_size /home}   
  ${offset 12}${voffset 12}Alpha (Win10)${goto 120}Beta	(Win10)         
  ${offset 12}${voffset -2}${fs_used /run/media/moi/A4D45200D451D4E0} / ${fs_size /run/media/moi/A4D45200D451D4E0}${goto 120}${fs_used /run/media/moi/Beta} / ${fs_size /run/media/moi/Beta}
  ${offset 12}${voffset 10}Cappa${goto 120}Epsilon
  ${offset 12}${voffset -2}${fs_used /run/media/moi/Cappa 8to} / ${fs_size /run/media/moi/Cappa 8to}${goto 120}${fs_used /run/media/moi/Epsilon 8to} / ${fs_size /run/media/moi/Epsilon 8to}
  ${offset 12}${voffset 10}Gamma
  ${offset 12}${voffset -2}${fs_used /run/media/moi/Gamma 8to} / ${fs_size /run/media/moi/Gamma 8to}${font}
${font SF Square Head:size=10}${voffset 5}Memoire${font} ${hr 2}
  ${font DejaVu:size=7}${offset 5}${voffset -8}Utilisé${goto 80}:
  ${offset 100}${voffset -12}${mem} / ${memmax}${font}
${font SF Square Head:size=10}${voffset -4}Resaux par le cable${font} ${hr 2} 
  ${font DejaVu:size=7}${offset -5}${voffset -5}Down${goto 60}:
  ${offset 60}${voffset -12}${downspeed enp4s0} /s
  ${offset 10}${voffset -3}Upload${goto 60}:
  ${offset 60}${voffset -12}${upspeed enp4s0} /s${font}
${font SF Square Head:size=10}Meteo ${font}${hr 2}
${texeci 500 bash $HOME/Wunderground_conky_script/wunderground}
${image $HOME/Wunderground_conky_script/Forecast_Images/current.png -p 20,680 -s 75x75}
${voffset -45}${offset 10}${font Arial:size=8}Condition Météo:${font}
${voffset -23}${offset 100}${font Arial:italic:size=10}${texeci 600 sed -n '88p' $HOME/Wunderground_conky_script/curr_cond|cut -c1-20}${font}
${voffset 10}${offset 105}${font Arial:size=9}Température:${font}
${voffset -30}${offset 180}${font wwDigital:size=18}${texeci 600 sed -n '52p' $HOME/Wunderground_conky_script/curr_cond}°${font}
${voffset -5}${offset 130}${font Arial:size=8}ressentie:${font}
${voffset -25}${offset 180}${font wwDigital:size=10}(${texeci 600 sed -n '58p' $HOME/Wunderground_conky_script/curr_cond}°)${font}
${voffset 10}${offset 105}${font Arial:size=9}Max:${font}${voffset -4}${font wwDigital:size=11}${texeci 600 sed -n '62p' $HOME/Wunderground_conky_script/curr_cond}°${font}
${voffset -20}${offset 165}${font Arial:size=9}Min:${voffset -4}${font}${font wwDigital:size=11}${texeci 600 sed -n '66p' $HOME/Wunderground_conky_script/curr_cond}°${font}
${voffset -8}${hr 1}
${offset 15}${font Arial:Italic:size=11}Prévision de la semaine${font}
${voffset -5}${offset 25}${font Arial:size=8}${texeci 600 sed -n '202p' $HOME/Wunderground_conky_script/10days|tr a-z A-Z|cut -c1-3}${offset 45}${texeci 600 sed -n '398p' $HOME/Wunderground_conky_script/10days|tr a-z A-Z|cut -c1-3}${offset 45}${texeci 600 sed -n '594p' $HOME/Wunderground_conky_script/10days|tr a-z A-Z|cut -c1-3}${font}
${font Arial:size=8}${voffset 30}${offset 25}${texeci 600 sed -n '796p' $HOME/Wunderground_conky_script/10days}°/${texeci 600 sed -n '894p' $HOME/Wunderground_conky_script/10days}°
${voffset -12}${offset 95}${texeci 600 sed -n '992p' $HOME/Wunderground_conky_script/10days}°/${texeci 600 sed -n '1090p' $HOME/Wunderground_conky_script/10days}°
${voffset -12}${offset 160}${texeci 600 sed -n '1188p' $HOME/Wunderground_conky_script/10days}°/${texeci 600 sed -n '1286p' $HOME/Wunderground_conky_script/10days}°
${font Arial:size=8}${voffset 10}${offset 25}${texeci 600 sed -n '788p' $HOME/Wunderground_conky_script/10days|tr a-z A-Z|cut -c1-3}${offset 45} ${texeci 600 sed -n '984p' $HOME/Wunderground_conky_script/10days|tr a-z A-Z|cut -c1-3}${offset 45}${texeci 600 sed -n '1180p' $HOME/Wunderground_conky_script/10days|tr a-z A-Z|cut -c1-3}${font}
${voffset -40}${hr 1}
${font Arial:size=8}${voffset 45}${offset 27}${texeci 600 sed -n '1384p' $HOME/Wunderground_conky_script/10days}°/${texeci 600 sed -n '1482p' $HOME/Wunderground_conky_script/10days}°
${voffset -13}${offset 90}${texeci 600 sed -n '1580p' $HOME/Wunderground_conky_script/10days}°/${texeci 600 sed -n '1678p' $HOME/Wunderground_conky_script/10days}°
${voffset -13}${offset 160}${texeci 600 sed -n '1776p' $HOME/Wunderground_conky_script/10days}°/${texeci 600 sed -n '1874p' $HOME/Wunderground_conky_script/10days}°${font}
${hr 1}
${font Arial:size=9}${goto 25}${font Arial:size=8}Direction du vent:${goto 120} ${texeci 600 sed -n '82p' $HOME/Wunderground_conky_script/curr_cond}  ${goto 150}${texeci 600 sed -n '86p' $HOME/Wunderground_conky_script/curr_cond} km/h
${goto 25}Pression:${goto 150}${texeci 600 sed -n '30p' $HOME/Wunderground_conky_script/curr_cond} mbar
${goto 25}Visibilité:${goto 150}${texeci 600 sed -n '78p' $HOME/Wunderground_conky_script/curr_cond} km
${goto 25}Humidité de l'air:${goto 150}${texeci 600 sed -n '36p' $HOME/Wunderground_conky_script/curr_cond} %
${goto 25}Index UV: ${goto 150}${texeci 600 sed -n '72p' $HOME/Wunderground_conky_script/curr_cond}
${goto 25}Précipitation (6h):${goto 150}${texeci 600 sed -n '22p' $HOME/Wunderground_conky_script/curr_cond} ml

${voffset -5}${goto 10}Ephéméride ;
${goto 25}Levée du soleil:${goto 150}${texeci 600 sed -n '44p' $HOME/Wunderground_conky_script/curr_cond|cut -c1-5}
${goto 25}Couchée du soleil:${goto 150}${texeci 600 sed -n '48p' $HOME/Wunderground_conky_script/curr_cond|cut -c1-5}
${goto 25}Levée de la lune:${goto 150}${texeci 600 sed -n '3p' $HOME/Wunderground_conky_script/moon_data|cut -c1-5}
${goto 25}Couchée de la lune:${goto 150}${texeci 600 sed -n '2p' $HOME/Wunderground_conky_script/moon_data|cut -c1-5}${font}
${image $HOME/Wunderground_conky_script/Forecast_Images/1.png -p 25,805 -s 30x30}
${image $HOME/Wunderground_conky_script/Forecast_Images/5.png -p 95,805 -s 30x30}
${image $HOME/Wunderground_conky_script/Forecast_Images/7.png -p 160,805 -s 30x30}
${image $HOME/Wunderground_conky_script/Forecast_Images/9.png -p 30,880 -s 30x30}
${image $HOME/Wunderground_conky_script/Forecast_Images/17.png -p 95,880 -s 30x30}
${image $HOME/Wunderground_conky_script/Forecast_Images/19.png -p 160,880 -s 30x30}
${font SF Square Head:size=10}${voffset -120}Mise a jour${font} ${hr 2}
  ${voffset -6}${font DejaVu:size=7}Yaourt
  ${voffset -12}${offset 60}${execpi 600 yaourt -Sya --logfile /dev/null > /dev/null; yaourt -Qu | wc -l}
  ${voffset -12}${offset 90}Yay
  ${voffset -12}${offset 115}${execpi 600 yay -Sya --logfile /dev/null > /dev/null; yay -Qu | wc -l}
  ${voffset -12}${offset 145}AUR:
  ${voffset -12}${offset 172}${execi 600 yay -Qum | wc -l}
  ${voffset -2}${offset 15}System   ${execi 600 pacman -Qu | wc -l}${font}
${voffset -10}${offset 5}${hr 2}
]]
La connaîssance n'a pas de limite.
Mais sa valeur, est d'autant plus grande, une fois partagé
Répondre