--[[ #===================================================================================== # arcolinux # Date : package-date # Author : Erik Dubois at http://www.erikdubois.be # Version : package-version # License : Distributed under the terms of GNU GPL version 2 or later # Documentation : http://erikdubois.be/ #====================================================================================== # CONKY # For commands in conky.config section: # http://conky.sourceforge.net/config_settings.html # # For commands in conky.text section: # http://conky.sourceforge.net/variables.html # # A PDF with all variables is provided #===================================================================================== # FONTS # To avoid copyright infringements you will have to download # and install the fonts yourself sometimes. #===================================================================================== # GENERAL INFO ABOUT FONTS # Go and look for a nice font on sites like http://www.dafont.com/ # Download and unzip - double click the font to install it (font-manager must be installed) # No font-manager then put fonts in ~/.fonts # Change the font name in the conky # The name can be known with a command in the terminal: fc-list | grep "part of name" # Change width and height of the conky according to font # Reboot your system or fc-cache -fv in terminal # Enjoy #===================================================================================== # FONTS FOR THIS CONKY # http://www.dafont.com/style-bats.font #====================================================================================== ]] conky.config = { --## Begin Window Settings ##################### own_window = true, own_window_type = 'desktop', own_window_transparent = yes, own_window_hints = 'undecorated,below,skip_taskbar,skip_pager,sticky', own_window_colour = '#000000', own_window_class = 'Conky', own_window_title = 'arcolinux Top Conky', --## ARGB can be used for real transparency --## NOTE that a composite manager is required for real transparency. --## This option will not work as desired (in most cases) in conjunction with --## own_window_type normal own_window_argb_visual = true, --## When ARGB visuals are enabled, this use this to modify the alpha value --## Use: own_window_type normal --## Use: own_window_transparent no --## Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity. own_window_argb_value = 0, minimum_height = 600, -- minimum height of window minimum_width = 300, -- minimum height of window maximum_width = 300, -- maximum height of window gap_x = 60, -- pixels between right or left border gap_y = 0, -- pixels between bottom or left border alignment = 'middle_left', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right, use_xft = true, font = 'Roboto:size=10', -- Alpha of Xft font. Must be a value at or between 1 and 0 ### xftalpha = 1, -- Force UTF8? requires XFT ### override_utf8_locale = true, uppercase = false, --######################## End Font Settings ### --## Colour Settings ########################### draw_shades = false,--yes default_shade_color = 'black', draw_outline = false,-- amplifies text if yes default_outline_color = 'black', --default_color 656667 # Waldorf original colour --default_color 7a7a7a # Flame & Bunsen Grey --default_color 929292 # Labs Grey default_color = '#FFFFFF', color0 = '#ffffff',-- purewhite color1 = '#777777',-- Gray color2 = '#009CFF', color3 = '#4FFFBD',-- YellowGreen color4 = '#00FFE7', color5 = '#FFDEAD',-- NavajoWhite color6 = '#00BFFF',-- DeepSkycyan color7 = '#5F9EA0',-- Cadetcyan color8 = '#BDB76B',-- DarkKhaki color9 = '#CD5C5C',-- IndianRed --###################### End Colour Settings ### --## Borders Section ########################### draw_borders = false, -- Stippled borders? stippled_borders = 5, -- border margins border_inner_margin = 5, border_outer_margin = 0, -- border width border_width = 2, -- graph borders draw_graph_borders = true,--no --default_graph_size 15 40 --####################### End Borders Secton ### --## Miscellaneous Section ##################### -- Boolean value, if true, Conky will be forked to background when started. background = true, -- Adds spaces around certain objects to stop them from moving other things -- around, this only helps if you are using a mono font -- Options: right, left or none use_spacer = 'none', -- Default and Minimum size is 256 - needs more for single commands that -- "call" a lot of text IE: bash scripts --text_buffer_size 6144 -- Subtract (file system) buffers from used memory? no_buffers = true, -- change GiB to G and MiB to M short_units = true, -- Like it says, ot pads the decimals on % values -- doesn't seem to work since v1.7.1 pad_percents = 2, -- Imlib2 image cache size, in bytes. Default 4MiB Increase this value if you use -- $image lots. Set to 0 to disable the image cache. imlib_cache_size = 0, -- Use the Xdbe extension? (eliminates flicker) -- It is highly recommended to use own window with this one -- so double buffer won't be so big. double_buffer = true, -- Maximum size of user text buffer, i.e. layout below TEXT line in config file -- (default is 16384 bytes) -- max_user_text 16384 -- Desired output unit of all objects displaying a temperature. Parameters are -- either "fahrenheit" or "celsius". The default unit is degree Celsius. -- temperature_unit Fahrenheit --################ End Miscellaneous Section ### update_interval = 1, }; conky.text = [[ ${color4}${font Roboto:size=8}P R O C E S S O R S ${hr 2}${font}${color} ${color4}${font StyleBats:size=20}s${font}${offset 8}${voffset -12}${color2} FREQUENCY${color} $alignr${freq}MHz ${offset 30}${color2}TEMPERATURE${color} $alignr${execi 10 sensors | grep 'Core 0' | awk {'print $3'}} ${color}${cpugraph 30,300} ${color2} Core 1${color} ${alignr}${offset -10}${cpu cpu1}%${alignr}${cpubar 8,200 cpu1} ${color2} Core 2${color} ${alignr}${offset -10}${cpu cpu2}%${alignr}${cpubar 8,200 cpu2} ${color2} Core 3${color} ${alignr}${offset -10}${cpu cpu3}%${alignr}${cpubar 8,200 cpu3} ${color2} Core 4${color} ${alignr}${offset -10}${cpu cpu4}%${alignr}${cpubar 8,200 cpu4} ${color2} Core 5${color} ${alignr}${offset -10}${cpu cpu5}%${alignr}${cpubar 8,200 cpu5} ${color2} Core 6${color} ${alignr}${offset -10}${cpu cpu6}%${alignr}${cpubar 8,200 cpu6} ${color2} Core 7${color} ${alignr}${offset -10}${cpu cpu7}%${alignr}${cpubar 8,200 cpu7} ${color2} Core 8${color} ${alignr}${offset -10}${cpu cpu8}%${alignr}${cpubar 8,200 cpu8} ${color2} Top Processes${goto 222}cpu%${goto 274}mem%${color} ${voffset 4} 1 - ${top name 1}${alignr}${goto 170} ${goto 222}${top cpu 1} ${goto 274}${top mem 1} 2 - ${top name 2}${alignr} ${goto 222}${top cpu 2} ${goto 274}${top mem 2} 3 - ${top name 3}${alignr} ${goto 222}${top cpu 3} ${goto 274}${top mem 3} 4 - ${top name 4}${alignr} ${goto 222}${top cpu 4} ${goto 274}${top mem 4} 5 - ${top name 5}${alignr} ${goto 222}${top cpu 5} ${goto 274}${top mem 5} ${color4}${font Roboto:size=8}M E M O R Y ${hr 2}${font}${color} ${color4}${font StyleBats:size=20}y${font}${color}${offset 8}${voffset -12}${color2} RAM ${color}${alignr}${offset -10}${mem} / ${memmax}${alignr}${membar 11,85} ${color2}${offset 30} SWAP${color} ${alignr}${offset -10}${swap} / ${swapmax}${alignr}${swapbar 11,85} ${color2} Top Processes${goto 222}cpu%${goto 274}mem%${color} ${voffset 4} 1 - ${top_mem name 1}${alignr}${goto 170} ${goto 222}${top_mem cpu 1} ${goto 274}${top_mem mem 1} 2 - ${top_mem name 2}${alignr}${goto 170} ${goto 222}${top_mem cpu 2} ${goto 274}${top_mem mem 2} 3 - ${top_mem name 3}${alignr}${goto 170} ${goto 222}${top_mem cpu 3} ${goto 274}${top_mem mem 3} 4 - ${top_mem name 4}${alignr}${goto 170} ${goto 222}${top_mem cpu 4} ${goto 274}${top_mem mem 4} 5 - ${top_mem name 5}${alignr}${goto 170} ${goto 222}${top_mem cpu 5} ${goto 274}${top_mem mem 5} ${color4}${font Roboto:size=8}D R I V E S ${hr 2}${font}${color} # sda ${color4}${font StyleBats:size=20}N${font}${color}${offset 8}${voffset -12}${color2}I/O Read${color} ${alignr}${offset -10}${diskio_read /dev/sda}${alignr}${diskiograph_read sda 11,100} ${offset 30}${color2}I/O Write${color} ${alignr}${offset -10}${diskio_write /dev/sda}${alignr}${diskiograph_write sda 11,100} ${offset 30}${color2}[ ${color4}sda2${color2} ] ${color4}ROOT${color} ${alignr}${offset -10}${fs_used /} / ${fs_size /}${alignr}${fs_bar 11,75} ${offset 30}${color2}[ ${color4}sda3${color2} ] ${color4}HOME${color} ${alignr}${offset -10}${fs_used /home} / ${fs_size /home}${alignr}${fs_bar 11,75 /home} # sdb ${color4}${font StyleBats:size=20}H${font}${color}${offset 8}${voffset -12}${color2}I/O Read${color} ${alignr}${offset -10}${diskio_read /dev/sdb}${alignr}${diskiograph_read sdb 11,100} ${offset 30}${color2}I/O Write${color} ${alignr}${offset -10}${diskio_write /dev/sdb}${alignr}${diskiograph_write sdb 11,100} ${offset 30}${color2}[ ${color4}sdb1${color2} ] ${color4}SAVE${color} ${alignr}${offset -10}${fs_used /mnt/SAVE} / ${fs_size /mnt/SAVE}${alignr}${fs_bar 11,75 /mnt/SAVE} # sdc ${color4}${font StyleBats:size=20}H${font}${color}${offset 8}${voffset -12}${color2}I/O Read${color} ${alignr}${offset -10}${diskio_read /dev/sdc}${alignr}${diskiograph_read sdc 11,100} ${offset 30}${color2}I/O Write${color} ${alignr}${offset -10}${diskio_write /dev/sdc}${alignr}${diskiograph_write sdc 11,100} ${offset 30}${color2}[ ${color4}sdc2${color2} ] ${color4}BIG-DATA1${color} ${alignr}${offset -10}${fs_used /mnt/BIG-DATA1} / ${fs_size /mnt/BIG-DATA1}${alignr}${fs_bar 11,75 /mnt/BIG-DATA1} ${offset 30}${color2}[ ${color4}sdc3${color2} ] ${color4}BIG-DATA2${color} ${alignr}${offset -10}${fs_used /mnt/BIG-DATA2} / ${fs_size /mnt/BIG-DATA2}${alignr}${fs_bar 11,75 /mnt/BIG-DATA2} # sdd ${color4}${font StyleBats:size=20}H${font}${color}${offset 8}${voffset -12}${color2}I/O Read${color} ${alignr}${offset -10}${diskio_read /dev/sdd}${alignr}${diskiograph_read sdd 11,100} ${offset 30}${color2}I/O Write${color} ${alignr}${offset -10}${diskio_write /dev/sdd}${alignr}${diskiograph_write sdd 11,100} ${offset 30}${color2}[ ${color4}sdd1${color2} ] ${color4}USBIG${color} ${alignr}${offset -10}${fs_used /mnt/USBIG} / ${fs_size /mnt/USBIG}${alignr}${fs_bar 11,75 /mnt/USBIG} ${color4}${font Roboto:size=8}N E T W O R K S ${hr 2}${font}${color} ${color2}${voffset -12}${offset 75}LOCAL ${alignr}${color4}enp0s31f6 ${color0}${alignr}${addr enp0s31f6} ${color4}${font StyleBats:size=20}i${font}${color}${offset 8}${voffset -5}${color2} Up ${alignr}${color}${upspeed enp0s31f6} ${upspeedgraph enp0s31f6 11,150} ${color2}${offset 30}Down ${alignr}${color} ${downspeed enp0s31f6} ${downspeedgraph enp0s31f6 11,150} ${color2}${voffset -12}${offset 75}VPN ${alignr} ${color4}tun0 ${color0}${alignr}${addr tun0} ${color4}${font StyleBats:size=20}p${font}${color}${offset 8}${voffset -5}${color2} Up ${alignr}${color}${upspeed tun0} ${upspeedgraph tun0 11,150} ${color2}${offset 30}Down ${alignr}${color} ${downspeed tun0} ${downspeedgraph tun0 11,150} ]];