# Conky: one line across the top of all desktops w/ lots of info

**URL:** <https://forum.elivelinux.org/t/conky-one-line-across-the-top-of-all-desktops-w-lots-of-info/3895>\
**Category:** Elive\
**Tags:** e16\
**Created:** [May 15, 2024, 3:50pm UTC](https://forum.elivelinux.org/t/conky-one-line-across-the-top-of-all-desktops-w-lots-of-info/3895 "2024-05-15T15:50:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![LarryDC](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/larrydc/32/321_2.png) [@LarryDC](https://forum.elivelinux.org/u/LarryDC)\
**Post date:** [May 15, 2024, 3:50pm UTC](https://forum.elivelinux.org/t/conky-one-line-across-the-top-of-all-desktops-w-lots-of-info/3895/1 "2024-05-15T15:50:04Z")

</div>

I've been using this for years and find it useful.

Just save it as ~/.conkyrc

If there is a better way to enter code please let me know.

```lua
conky.config = {
    alignment = 'top_right',
    background = false,
    color2 = '008080',
    cpu_avg_samples = 2,
	default_color = '00ff00',
	double_buffer = true,
    font = 'Noto Serif:size=9',
    draw_shades = false,
    gap_x = 5,
    gap_y = 5,
    minimum_height = 15,
	minimum_width = 29,
	maximum_width = 1800,
    no_buffers = true,
	own_window = true,
    own_window_type = 'panel',
    own_window_hints = 'undecorated,skip_taskbar,skip_pager',
    own_window_transparent = false,
	update_interval = 2.0,
	use_xft = true,
}

conky.text = [[
${voffset 2} ${color yellow}K${color royal blue} $kernel ${color medium orchid} UpTime ${color firebrick}${uptime_short}${color wheat} Core 0 ${color hot pink} ${color 00ffff}${execi 10 sensors | grep ^'Core 0:' | head -n 1 |awk '{print $3}'} ${color DarkGoldenrod4} [high=85, crit=105] ${color dark violet} CPU ${color misty rose}${cpugraph 10,75 ff0000 0000ff} ${color cornflower blue}${cpu cpu0}% ${color yellow1} RAM ${color IndianRed2}${memperc}% ${color goldenrod3}${mem} / ${memmax} ${color dark magenta} enp4s0: ${color RosyBrown4}${addr enp4s0} ${voffset 2}${color saddle brown}Dn ${color sienna1}${downspeedf enp4s0}KiB/s ${color pale violet red}${downspeedgraph enp4s0 10,75 0000ff ff0000}${color indian red} ${voffset -4}Up: ${color gold}${upspeedf enp4s0}KiB/s ${color spring green}${upspeedgraph enp4s0 10,75 ff0000 0000ff}${color ff00ff} EliveB ${color lemon chiffon}${if_match ${fs_used_perc /} < 10} ${fs_used_perc /}${else}${if_match ${fs_used_perc /} < 90} ${fs_used_perc /}${else}${color saddle brown}${fs_used_perc /}${color gray}${endif}${endif}% of ${fs_size /}${color orange red} ${time %k:%M} ${color dodger blue} ${time %A, %e of %B %Y } ]]

```

---

<div class="post-metadata">

**Author:** ![triantares](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/triantares/32/2550_2.png) [@triantares](https://forum.elivelinux.org/u/triantares)\
**Post date:** [May 16, 2024, 10:30am UTC](https://forum.elivelinux.org/t/conky-one-line-across-the-top-of-all-desktops-w-lots-of-info/3895/2 "2024-05-16T10:30:14Z")

</div>

And as an addition, some advice:  
If you want to be able to go back on that, make sure to copy the existing .conkyrc with  
`cp .conkyrc .conkyrc-old`
