-- Conky, a system monitor https://github.com/brndnmtthws/conky -- -- This configuration file is Lua code. You can write code in here, and it will -- execute when Conky loads. You can use it to generate your own advanced -- configurations. -- -- Try this (remove the `--`): -- -- print("Loading Conky config") -- -- For more on Lua, see: -- https://www.lua.org/pil/contents.html -- -- Conky Lua API: https://conky.cc/lua -- Configuration settings: https://conky.cc/config_settings conky.config = { alignment = 'top_left', background = true, border_inner_margin = 10, border_width = 3, cpu_avg_samples = 2, default_color = '#689d6a', default_outline_color = 'white', default_shade_color = 'white', double_buffer = true, draw_borders = true, draw_graph_borders = true, draw_outline = false, draw_shades = false, extra_newline = false, font = 'SourceCodePro-Regular:size=12', gap_x = 50, gap_y = 80, minimum_height = 350, minimum_width = 200, net_avg_samples = 2, no_buffers = true, out_to_console = false, out_to_ncurses = false, out_to_stderr = false, out_to_wayland = false, out_to_x = true, own_window = true, own_window_class = 'Conky', own_window_type = 'override', own_window_hints = 'undecorated,sticky,below,skip_taskbar,skip_pager', own_window_transparent = false, own_window_colour = '282828', show_graph_range = false, show_graph_scale = false, stippled_borders = 0, update_interval = 1.0, uppercase = false, use_spacer = 'none', use_xft = true, xinerama_head = 2, } -- Variables: https://conky.cc/variables conky.text = [[ ${color #458588}Common Network Ports ${color #504945}$hr ${color #cc241d}20 ${color #ebdbb2}FTP data transfer ${color #cc241d}21 ${color #ebdbb2}FTP control ${color #cc241d}22 ${color #ebdbb2}SSH ${color #cc241d}23 ${color #ebdbb2}Telnet ${color #cc241d}25 ${color #ebdbb2}SMTP ${color #cc241d}53 ${color #ebdbb2}DNS service ${color #cc241d}80 ${color #ebdbb2}HTTP ${color #cc241d}110 ${color #ebdbb2}POP3 ${color #cc241d}119 ${color #ebdbb2}NNTP ${color #cc241d}123 ${color #ebdbb2}NTP ${color #cc241d}143 ${color #ebdbb2}IMAP ${color #cc241d}161 ${color #ebdbb2}SNMP ${color #cc241d}194 ${color #ebdbb2}IRC ${color #cc241d}443 ${color #ebdbb2}HTTPS ]]