My Conky

July 15, 2017
conky linux

Suite à l’installation d’une Manjaro j’ai du mettre à jour mon .conkyrc, du coup je vais le partager avec vous.

conky.config = {
    double_buffer = true,
    own_window = true,
    own_window_transparent = false,
    own_window_type = 'normal',
    own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
    own_window_argb_visual = true,
    own_window_argb_value = 255,
    own_window_colour = '333333',
    own_window_class = 'Conky',
    out_to_console = false,
    out_to_stderr = false,
    draw_borders = false,
    border_inner_margin = 3,
    draw_shades = false,
    gap_x = 0,
    gap_y = 3,
    alignment = 'bottom_left',
    update_interval = 1.0,
    default_color = 'ffffff',
    use_xft = true,
    font = 'ubuntu:size=7',
    override_utf8_locale = true,
    use_spacer = 'right',
    minimum_width = 1920,
    minimum_height = 10
    --mpd_host = 127.0.0.1,
    --mpd_port = '6600'
}

conky.text = [[
Serveur MPD : ${color 1994d1}${mpd_status} ${color}Artiste : ${color 1994d1}${mpd_artist}${color} Titre : ${color 1994d1}${mpd_title} ${color}Rand : ${color 1994d1}${mpd_random}${color}${alignc} Date : ${color 1994d1}${time %d/%m/%y}${color} Time : ${color 1994d1}${time %H:%M}${color} | Kernel : ${color 1994d1}$kernel${color} Uptime : ${color 1994d1}${uptime_short}${color} | Core 1 : ${color 1994d1}${cpu cpu1}%${color} Core 2 : ${color 1994d1}${cpu cpu2}%${color} Ram : ${color 1994d1}${mem}${color} / ${color 1994d1}${memmax}${color} Swap : ${color 1994d1}${swapperc}%${color} | Root : ${color 1994d1}${fs_used /}${color} / ${color 1994d1}${fs_size /}${color} Home : ${color 1994d1}${fs_used /home}${color} / ${color 1994d1}${fs_size /home}${color} 
]]

Il vous sera nécessaire de l’adapter au niveau de la taille via la fonction minimum_width et d’autre chose si vous voulez le personnalisé.