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 →
Ci-dessous, les différences entre deux révisions de la page.
— |
utilisateurs:arpinux:config:conky_level [27/01/2024 22:46] (Version actuelle) arpinux créée |
||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
+ | ====== conky level ====== | ||
+ | {{https://debian-facile.org/images/file-Rde5cb717ba0f9ea74d4063d14e3bb8ab.png}} | ||
+ | |||
+ | <file conf conky_level> | ||
+ | --[[ | ||
+ | conky_level | ||
+ | set own_window_type from 'desktop' to 'override' to use in i3wm | ||
+ | ]] | ||
+ | |||
+ | conky.config = { | ||
+ | background = true, | ||
+ | use_xft = true, | ||
+ | font = 'Hack:pixelsize=11', | ||
+ | update_interval = 1.0, | ||
+ | total_run_times = 0, | ||
+ | own_window = true, | ||
+ | own_window_transparent = true, | ||
+ | own_window_colour = '2e3440', | ||
+ | own_window_type = 'desktop', | ||
+ | own_window_hints = 'undecorated', | ||
+ | own_window_class = 'conky', | ||
+ | own_window_title = 'conky_level', | ||
+ | own_window_argb_visual = false, | ||
+ | double_buffer = true, | ||
+ | maximum_width = 250, | ||
+ | minimum_width = 250, | ||
+ | minimum_height = 20, | ||
+ | draw_shades = false, | ||
+ | draw_outline = false, | ||
+ | draw_borders = false, | ||
+ | border_inner_margin = 0, | ||
+ | border_width = 0, | ||
+ | default_color = 'd8dee9', --clear | ||
+ | alignment = 'bl', | ||
+ | gap_x = 0, | ||
+ | gap_y = 18, | ||
+ | no_buffers = true, | ||
+ | cpu_avg_samples = 2, | ||
+ | override_utf8_locale = true, | ||
+ | use_spacer = 'none', | ||
+ | } | ||
+ | conky.text = [[ | ||
+ | ${if_match ${cpu} > 0 }\ | ||
+ | ${color 409900}██${endif}${if_match ${cpu} > 5 }\ | ||
+ | ${color 4D9900}██${endif}${if_match ${cpu} > 10 }\ | ||
+ | ${color 599900}██${endif}${if_match ${cpu} > 15 }\ | ||
+ | ${color 669900}██${endif}${if_match ${cpu} > 20 }\ | ||
+ | ${color 739900}██${endif}${if_match ${cpu} > 25 }\ | ||
+ | ${color 7F9900}██${endif}${if_match ${cpu} > 30 }\ | ||
+ | ${color 8C9900}██${endif}${if_match ${cpu} > 35 }\ | ||
+ | ${color 999900}██${endif}${if_match ${cpu} > 40 }\ | ||
+ | ${color 998C00}██${endif}${if_match ${cpu} > 45 }\ | ||
+ | ${color 998000}██${endif}${if_match ${cpu} > 50 }\ | ||
+ | ${color 997300}██${endif}${if_match ${cpu} > 55 }\ | ||
+ | ${color 996600}██${endif}${if_match ${cpu} > 60 }\ | ||
+ | ${color 995900}██${endif}${if_match ${cpu} > 66 }\ | ||
+ | ${color 994D00}██${endif}${if_match ${cpu} > 70 }\ | ||
+ | ${color 994000}██${endif}${if_match ${cpu} > 75 }\ | ||
+ | ${color 993300}██${endif}${if_match ${cpu} > 80 }\ | ||
+ | ${color 992600}██${endif}${if_match ${cpu} > 85 }\ | ||
+ | ${color 991900}██${endif}${if_match ${cpu} > 90 }\ | ||
+ | ${color 990D00}██${endif}${if_match ${cpu} > 95 }\ | ||
+ | ${color 990000}████${endif} | ||
+ | ${if_match ${memperc} > 0 }\ | ||
+ | ${color 2B6600}██${endif}${if_match ${memperc} > 5 }\ | ||
+ | ${color 336600}██${endif}${if_match ${memperc} > 10 }\ | ||
+ | ${color 3C6600}██${endif}${if_match ${memperc} > 15 }\ | ||
+ | ${color 446600}██${endif}${if_match ${memperc} > 20 }\ | ||
+ | ${color 4D6600}██${endif}${if_match ${memperc} > 25 }\ | ||
+ | ${color 556600}██${endif}${if_match ${memperc} > 30 }\ | ||
+ | ${color 5E6600}██${endif}${if_match ${memperc} > 35 }\ | ||
+ | ${color 666600}██${endif}${if_match ${memperc} > 40 }\ | ||
+ | ${color 665E00}██${endif}${if_match ${memperc} > 45 }\ | ||
+ | ${color 665500}██${endif}${if_match ${memperc} > 50 }\ | ||
+ | ${color 664D00}██${endif}${if_match ${memperc} > 55 }\ | ||
+ | ${color 664400}██${endif}${if_match ${memperc} > 60 }\ | ||
+ | ${color 663C00}██${endif}${if_match ${memperc} > 66 }\ | ||
+ | ${color 663300}██${endif}${if_match ${memperc} > 70 }\ | ||
+ | ${color 662B00}██${endif}${if_match ${memperc} > 75 }\ | ||
+ | ${color 662200}██${endif}${if_match ${memperc} > 80 }\ | ||
+ | ${color 661A00}██${endif}${if_match ${memperc} > 85 }\ | ||
+ | ${color 661100}██${endif}${if_match ${memperc} > 90 }\ | ||
+ | ${color 660900}██${endif}${if_match ${memperc} > 95 }\ | ||
+ | ${color 660000}████${endif} | ||
+ | ]] | ||
+ | |||
+ | </file> |