Last active
March 7, 2026 12:47
-
-
Save zrayev/d529dba97c774078ce0b2a4b35f8501e to your computer and use it in GitHub Desktop.
.conkyrc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| conky.config = { | |
| update_interval = 1, | |
| cpu_avg_samples = 2, | |
| net_avg_samples = 2, | |
| out_to_console = false, | |
| override_utf8_locale = true, | |
| double_buffer = true, | |
| no_buffers = true, | |
| text_buffer_size = 32768, | |
| imlib_cache_size = 0, | |
| own_window = true, | |
| own_window_type = 'dock', | |
| own_window_argb_visual = true, | |
| own_window_argb_value = 10, | |
| own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager', | |
| border_inner_margin = 5, | |
| border_outer_margin = 0, | |
| xinerama_head = 1, | |
| alignment = 'top_right', | |
| gap_x = 10, | |
| gap_y = 15, | |
| draw_shades = false, | |
| draw_outline = false, | |
| draw_borders = false, | |
| draw_graph_borders = false, | |
| use_xft = true, | |
| font = 'Ubuntu Mono:size=12', | |
| xftalpha = 0.8, | |
| uppercase = false, | |
| default_color = 'white', | |
| own_window_colour = '#000000', | |
| minimum_width = 300, minimum_height = 0, | |
| }; | |
| conky.text = [[ | |
| ${time %H:%M:%S}${alignr}${time %d-%m-%y} | |
| ${voffset -16}${font sans-serif:bold:size=18}${alignc}${time %H:%M}${font} | |
| ${voffset 4}${alignc}${time %A %B %d, %Y} | |
| ${font}${voffset -4} | |
| ${font sans-serif:bold:size=10}SYSTEM ${hr 2} | |
| ${font sans-serif:normal:size=9}$sysname $kernel $alignr $machine | |
| Host:$alignr$nodename | |
| Uptime:$alignr$uptime | |
| ${font sans-serif:bold:size=10}CPU ${hr 2} | |
| ${cpugraph cpu1} | |
| CPU: ${cpu cpu1}% ${cpubar cpu1} | |
| ${if_match "${execi 10 cat /sys/bus/pci/devices/0000:01:00.0/power/runtime_status}" == "active"} | |
| NVIDIA GPU: active | |
| ${endif} | |
| ${font sans-serif:bold:size=10}MEMORY ${hr 2} | |
| ${font sans-serif:normal:size=9}RAM $alignc $mem / $memmax $alignr $memperc% | |
| $membar | |
| SWAP $alignc ${swap} / ${swapmax} $alignr ${swapperc}% | |
| ${swapbar} | |
| ${font sans-serif:bold:size=10}DISK USAGE ${hr 2} | |
| ${font sans-serif:normal:size=9}/ $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_used_perc /}% | |
| ${fs_bar /} | |
| ${font Ubuntu:bold:size=10}NETWORK ${hr 2} | |
| ${font sans-serif:normal:size=9}Local IPs: ${alignr}External IP: | |
| ${execi 5000 ip a | grep inet | grep -vw lo | grep -v inet6 | cut -d \/ -f1 | sed 's/[^0-9\.]*//g'} ${alignr}${execi 5000 wget -q -O- http://ipecho.net/plain; echo} | |
| Down: ${downspeed wlp4s0} ${alignr}Up: ${upspeed wlp4s0} | |
| ${color lightgray}${downspeedgraph wlp4s0 80,130} ${alignr}${upspeedgraph wlp4s0 80,130}$color | |
| ${font sans-serif:bold:size=10}WEATHER ${hr 2} | |
| ${execi 600 curl -s "https://api.openweathermap.org/data/2.5/weather?q=Cherkasy,ua&appid=668eb55dc55efd5751b6e6512adb0d18&units=metric" | jq -r '.main.temp'}°C | |
| ${execi 600 curl -s "https://api.openweathermap.org/data/2.5/weather?q=Cherkasy,ua&appid=668eb55dc55efd5751b6e6512adb0d18&units=metric" | jq -r '.weather[0].description'} | |
| ${execi 600 curl -s "https://api.openweathermap.org/data/2.5/weather?q=Cherkasy,ua&appid=668eb55dc55efd5751b6e6512adb0d18&units=metric" | jq -r '.main.humidity'}% Humidity | |
| ${execi 600 curl -s "https://api.openweathermap.org/data/2.5/weather?q=Cherkasy,ua&appid=668eb55dc55efd5751b6e6512adb0d18&units=metric" | jq -r '.wind.speed'} m/s Wind Speed | |
| ]]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment