.conkyrc

~/.conkyrc

conky.config = {
    out_to_x = false,
    own_window = false,
    out_to_console = true,
    background = false,
    max_text_width = 0,

    -- Update interval in seconds
    update_interval = 2.0,

    -- This is the number of times Conky will update before quitting.
    -- Set to zero to run forever.
    total_run_times = 0,

    -- Shortens units to a single character (kiB->k, GiB->G, etc.). Default is off.
    short_units = true,

    -- How strict should if_up be when testing an interface for being up?
    -- The value is one of up, link or address, to check for the interface
    -- being solely up, being up and having link or being up, having link
    -- and an assigned IP address. 
    if_up_strictness = 'address',

    -- Add spaces to keep things from moving about?  This only affects certain objects.
    -- use_spacer should have an argument of left, right, or none
    use_spacer = 'left',

    -- Force UTF8? note that UTF8 support required XFT
    override_utf8_locale = false,

    -- number of cpu samples to average
    -- set to 1 to disable averaging
    cpu_avg_samples = 2,
};

conky.text = [[
[
    { "full_text": "<span font='12'>ريحان</span>", "color": "\#00ee00", "markup": "pango" },
    #{ "full_text": "${execpi 10 python /home/raihan/Private/mails/imaplib-main.py}! ", "color": "\#000000", "background": "\#ff6600" },
    #{ "full_text": "${execpi 10 python /home/raihan/Private/mails/imaplib-work.py}! ", "color": "\#000000", "background": "\#33cfc6", "separator": false, "separator_block_width": 3 },
    { "full_text": "${kernel} ", "color": "\#ffffff" },
    { "full_text": "<span font='12'>${execpi 10 python /home/raihan/.scripts/idate.py}</span><span foreground='yellow' font='13'>ﻫ</span> ", "color": "\#00ee00", "markup": "pango" },
    { "full_text": "${time %a, %d %b %Y} " , "color" :"\#ffffff" },
    { "full_text": " ${time %l:%M %P} " , "color": "\#eeee00" },
    { "full_text": "${wireless_link_qual_perc wlp2s0}%", "color" :"\#d6b2f9" },
    { "full_text": " ${downspeed wlp2s0}" , "color" :"\#00ee00" },
    { "full_text": " ${upspeed wlp2s0}" , "color" :"\#eeee00" },
    #{ "full_text": "E: ${addr enp1s0}", "color" :"\#d6b2f9" },
    #{ "full_text": "d: ${downspeed enp1s0} " , "color" :"\#00ee00" },
    #{ "full_text": "u: ${upspeed enp1s0} " , "color" :"\#eeee00" },
    { "full_text": "${battery_short BAT0} (${format_time $battery_time BAT0 "\hh \mm"})", "color": "\#ffffff" },
    { "full_text": " ${fs_free /} free " , "color" :"\#00ee00" },
    #{ "full_text": "H: ${fs_free /home} " , "color" :"\#ffd27f" },
    { "full_text": " ${exec amixer get Master | awk '$0~/%/{print $4}' | tr -d '[]'}", "color": "\#ffffff" }
],
]];
List of Font Awesome icons used:  



Kali terakhir halaman ini dikemaskini/disemak semula adalah pada .
Top