Last active
October 18, 2017 16:22
-
-
Save richardfleming/885b84f7d5916bbbaaa86ea6f4bff5ee to your computer and use it in GitHub Desktop.
Single line conky LUA script containing system info
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 = { | |
| background = true, | |
| update_interval = 1, | |
| short_units = true, | |
| -- Window | |
| own_window = true, | |
| own_window_class = 'conky', | |
| own_window_type = 'desktop', | |
| own_window_argb_visual = true, | |
| own_window_argb_value = 140, | |
| own_window_transparent = false, | |
| own_window_hints = 'undecorated, below, sticky, skip_taskbar, skip_pager', | |
| maximum_width = 1920, | |
| minimum_width = 1920, | |
| -- Text | |
| double_buffer = true, | |
| use_xft = true, | |
| xftalpha = 1, | |
| alignment = 'middle_middle', | |
| draw_outline = false, | |
| draw_borders = false, | |
| draw_shades = false, | |
| uppercase = true, | |
| -- Fonts and Colours | |
| font = 'Hyperspace:bold:size=7', | |
| default_color = 'BABDB6', -- Tasman | |
| color0 = '888a85', -- Gunsmoke | |
| color1 = 'F57900', -- Tangerine | |
| color2 = 'E9B96E', -- Dark Goldenrod | |
| color3 = '73D216', -- Lima | |
| color4 = '729FCF', -- Jordy Blue | |
| color5 = 'AD7FA8', -- London Hue | |
| color6 = 'EEEEEC', -- Sugar Cane | |
| } | |
| conky.text = [[ | |
| ${alignc} \ | |
| ${color3}${nodename_short} ${color0}— \ | |
| ${color6}Uptime $color $uptime ${color0}— \ | |
| ${color2}Cpu $color ${cpubar cpu0 6, 30} ${offset 5}${cpu}% ${color0}— \ | |
| ${color4}Ram $color ${membar 6, 30} $color $mem / $memmax ${color0}— \ | |
| ${color5}Disk $color ${fs_bar 6, 60 /} ${fs_used /} / ${fs_size /} ${color0}— \ | |
| ${color5}Swap $color ${swapbar 6, 60 /} ${swap} / ${swapmax} ${color0}— \ | |
| ${color1}IP $color ${addr eno1} ${color0}(${color1}Public${color} ${execi 3600 curl http://ipecho.net/plain}${color0}) | |
| ]] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment