Conky: Polish a bit, add comments

This commit is contained in:
Salt 2018-05-18 15:08:55 -05:00
parent 0636286023
commit c2f61dab0d

View File

@ -16,13 +16,14 @@ conky.config = {
use_xft = true, use_xft = true,
font = 'Terminus:size=9', font = 'Terminus:size=9',
default_color = '#ebdbb2', default_color = '#ebdbb2',
color1 = '282828', color1 = '282828', -- Background
color2 = 'ebdbb2', color2 = 'ebdbb2', -- Foreground
color3 = '3c3836', color3 = '3c3836', -- Background-alt
color6 = '8ec07c', color4 = 'fb4934', -- Red (Hot, generic)
color7 = 'b8bb26', color6 = '8ec07c', -- Cyan (Network)
color8 = '83a598', color7 = 'b8bb26', -- Green (Disk)
color9 = 'd3869b', color8 = '83a598', -- Blue (CPU)
color9 = 'd3869b', -- Magenta (Memory)
alignment = 'bottom_right', alignment = 'bottom_right',
xinerama_head = 2, xinerama_head = 2,
@ -33,6 +34,7 @@ conky.config = {
gap_y = 58, gap_y = 58,
draw_outline = false, draw_outline = false,
draw_graph_borders = false,
draw_shades = false draw_shades = false
} }
@ -43,25 +45,22 @@ ${alignr}${time %A, %B %d, %Y}
${alignr}${time %I:%M %p} ${alignr}${time %I:%M %p}
${color3}$hr$color ${color3}$hr$color
CPU:${alignr}$freq_g GHz CPU:${alignr}$freq_g GHz
${color8}${cpugraph cpu0 40}$color ${color8}${cpugraph cpu0 40 $color8 $color4 -t}$color
cpu1 ${color8}${cpubar cpu1 9}$color cpu1 ${color8}${cpubar cpu1 9}$color
cpu2 ${color8}${cpubar cpu2 9}$color cpu2 ${color8}${cpubar cpu2 9}$color
cpu3 ${color8}${cpubar cpu3 9}$color cpu3 ${color8}${cpubar cpu3 9}$color
cpu4 ${color8}${cpubar cpu4 9}$color cpu4 ${color8}${cpubar cpu4 9}$color
${color3}$hr$color ${color3}$hr$color
MEMORY:${alignr}$mem / $memmax MEMORY:${alignr}$mem / $memmax
${color9}${memgraph 40}$color ${color9}${memgraph 40}$color
mem ${color9}${membar 9}$color mem ${color9}${membar 9}$color
swap ${color9}${swapbar 9}$color swap ${color9}${swapbar 9}$color
${color3}$hr$color ${color3}$hr$color
DISK: DISK:
${color7}${diskiograph /dev/sda 40}$color ${color7}${diskiograph /dev/sda 40}$color
/ ${color7}${fs_bar 9 /}$color / ${color7}${fs_bar 9 /}$color
/boot ${color7}${fs_bar 9 /boot}$color /boot ${color7}${fs_bar 9 /boot}$color
/home ${color7}${fs_bar 9 /home}$color /home ${color7}${fs_bar 9 /home}$color
${color3}$hr$color${if_up wlp1s0} ${color3}$hr$color${if_up wlp1s0}
WLAN:${alignr}${addr wlp1s0} on $wireless_essid WLAN:${alignr}${addr wlp1s0} on $wireless_essid
${color6}${downspeedgraph wlp1s0 20}$color$endif${if_up wlp5s0} ${color6}${downspeedgraph wlp1s0 20}$color$endif${if_up wlp5s0}
@ -71,12 +70,10 @@ ETHERNET:${alignr}${addr enp0s31f6}
${color6}${downspeedgraph enp0s31f6 20}$color$endif${if_up enp0s20f0u2} ${color6}${downspeedgraph enp0s31f6 20}$color$endif${if_up enp0s20f0u2}
USB TETHER:${alignr}${addr enp0s20f0u2} USB TETHER:${alignr}${addr enp0s20f0u2}
${color6}${downspeedgraph enp0s20f0u2 20}$color$endif ${color6}${downspeedgraph enp0s20f0u2 20}$color$endif
${color3}$hr$color ${color3}$hr$color
STATISTICS: STATISTICS:
Operating System: $sysname $kernel Operating System: $sysname $kernel
Battery: $battery_percent% charged, $battery_time remaining Battery: $battery_percent% charged, $battery_time remaining
Uptime: $uptime Uptime: $uptime
Processes: $processes total, $running_processes running Processes: $processes total, $running_processes running
]] ]]