Skip to content

Instantly share code, notes, and snippets.

@reatlat
Created January 21, 2017 19:50
Show Gist options
  • Save reatlat/e8dbac709a91fb6a7178e10bb0fcf69f to your computer and use it in GitHub Desktop.
Save reatlat/e8dbac709a91fb6a7178e10bb0fcf69f to your computer and use it in GitHub Desktop.
######################
# - Conky settings - #
######################
update_interval 1
total_run_times 0
net_avg_samples 1
cpu_avg_samples 1
imlib_cache_size 0
double_buffer yes
no_buffers yes
#####################
# - Text settings - #
#####################
use_xft yes
xftfont Ubuntu:size=8
override_utf8_locale yes
text_buffer_size 2048
#############################
# - Window specifications - #
#############################
own_window_class Conky
own_window yes
own_window_type normal
own_window_transparent no
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_argb_visual yes
own_window_argb_value 0
alignment top_right
gap_x 20
gap_y 40
minimum_size 200 0
maximum_width 200
default_bar_size 60 5
#########################
# - Graphics settings - #
#########################
draw_shades no
default_color cccccc
color0 white
color1 E07A1F
color2 white
TEXT
Time & Date ${hr 2}
${font Arial Black:size=30}${alignc}${time %l:%M %P}${font}
${voffset 6}${font Arial Black:size=10}${alignc}${time %A, %B %d, %Y}
${hr 2}
${voffset 6}${font Arial Black:size=16}PST${font}
${font Arial Black:size=12}${tztime America/Los_Angeles %l:%M %P}${font}
${voffset 6}${font Arial Black:size=16}EST${font}
${font Arial Black:size=12}${tztime America/New_York %l:%M %P}${font}
CPU Freq ${hr 2}
${voffset 4}Frequency: ${alignr}${freq_g (1)} GHz
CPU Temperatures / Usage ${hr 2}
${voffset 4}Core1: ${color #FCAF3E}${hwmon 0 temp 1}°C$color${alignr 10}${cpu cpu1}%${alignr}${cpubar cpu1 8,60}
${voffset 4}Core2: ${color #FCAF3E}${hwmon 1 temp 1}°C$color${alignr 10}${cpu cpu2}%${alignr}${cpubar cpu2 8,60}
${voffset 4}Core3: ${color #FCAF3E}${hwmon 2 temp 1}°C$color${alignr 10}${cpu cpu3}%${alignr}${cpubar cpu3 8,60}
${voffset 4}Core4: ${color #FCAF3E}${hwmon 3 temp 1}°C$color${alignr 10}${cpu cpu4}%${alignr}${cpubar cpu4 8,60}
Misc Info ${hr 2}
${voffset 4}Memory: ${mem} ${alignr}${membar 8,60}
${voffset 4}Disk: ${diskio}${alignr}${diskiograph 8,60 F57900 FCAF3E}
${voffset 4}Swap: $swapperc% ${alignr}${swapbar 8,60}
${voffset 4}Uptime: ${alignr}${uptime}
${voffset 4}Processes: ${alignr}$processes ($running_processes running)
Highest: ${alignr 13}CPU${alignr}RAM
${voffset -4}${hr 1}
${top name 1} ${goto 124}${top cpu 1}${alignr }${top mem 1}
${top name 2} ${goto 124}${top cpu 2}${alignr }${top mem 2}
${top name 3} ${goto 124}${top cpu 3}${alignr }${top mem 3}
${top name 4} ${goto 124}${top cpu 4}${alignr }${top mem 4}
${top name 5} ${goto 124}${top cpu 4}${alignr }${top mem 5}
${top name 6} ${goto 124}${top cpu 4}${alignr }${top mem 6}
${top name 7} ${goto 124}${top cpu 4}${alignr }${top mem 7}
${top name 8} ${goto 124}${top cpu 4}${alignr }${top mem 8}
${top name 9} ${goto 124}${top cpu 4}${alignr }${top mem 9}
SSD ${hr 2}
${voffset 4}File System
${fs_free /}/${fs_size /} ${alignr}${fs_bar 8,60 /}
#${voffset 4}Storage
#${fs_free /media/hdd}/${fs_size /media/hdd} ${alignr}${fs_bar 8,60 /media/hdd}
Network ${hr 2}
${voffset 4}SSID: ${wireless_essid wlp2s0}
Signal: ${wireless_link_qual wlp2s0}% ${alignr}${wireless_link_bar 8,60 wlp2s0}
${voffset 4}Up: ${upspeed wlp2s0}${font} ${alignr}${upspeedgraph wlp2s0 8,60 F57900 FCAF3E}
Total: ${totalup wlp2s0}
${voffset 4}Down: ${downspeed wlp2s0}${font} ${alignr}${downspeedgraph wlp2s0 8,60 F57900 FCAF3E}
Total: ${totaldown wlp2s0}
${voffset 4}Local IP: ${alignr}${addr wlp2s0}
${hr 2}n
${voffset 4}Network Card:
${voffset 4}Up: ${upspeed enp0s20u1}${font} ${alignr}${upspeedgraph enp0s20u1 8,60 F57900 FCAF3E}
Total: ${totalup enp0s20u1}
${voffset 4}Down: ${downspeed enp0s20u1}${font} ${alignr}${downspeedgraph enp0s20u1 8,60 F57900 FCAF3E}
Total: ${totaldown enp0s20u1}
${voffset 4}Local IP: ${alignr}${addr enp0s20u1}
${hr 2}n
# TIME FORMAT IN SCRIPTS.#
# Complete list of FORMAT control characters supported by date command, eg #
# FORMAT controls the output.It can be the combination of any one of the following:#
#
# %% a literal %
# %a locale's abbreviated weekday name (e.g., Sun)
# %A locale's full weekday name (e.g., Sunday)
# %b locale's abbreviated month name (e.g., Jan)
# %B locale's full month name (e.g., January)
# %c locale's date and time (e.g., Thu Mar 3 23:05:25 2005)
# %C century; like %Y, except omit last two digits (e.g., 21)
# %d day of month (e.g, 01)
# %D date; same as %m/%d/%y
# %e day of month, space padded; same as %_d but no leading 0
# %F full date; same as %Y-%m-%d
# %g last two digits of year of ISO week number (see %G)
# %G year of ISO week number (see %V); normally useful only with %V
# %h same as %b
# %H hour (00..23)
# %I hour (01..12)
# %j day of year (001..366)
# %k hour ( 0..23)
# %l hour ( 1..12)
# %m month (01..12)
# %M minute (00..59)
# %n a newline
# %N nanoseconds (000000000..999999999)
# %p locale's equivalent of either AM or PM; blank if not known
# %P like %p, but lower case
# %r locale's 12-hour clock time (e.g., 11:11:04 PM)
# %R 24-hour hour and minute; same as %H:%M
# %s seconds since 1970-01-01 00:00:00 UTC
# %S second (00..60)
# %t a tab
# %T time; same as %H:%M:%S
# %u day of week (1..7); 1 is Monday
# %U week number of year, with Sunday as first day of week (00..53)
# %V ISO week number, with Monday as first day of week (01..53)
# %w day of week (0..6); 0 is Sunday
# %W week number of year, with Monday as first day of week (00..53)
# %x locale's date representation (e.g., 12/31/99)
# %X locale's time representation (e.g., 23:13:48)
# %y last two digits of year (00..99)
# %Y year
# %z +hhmm numeric timezone (e.g., -0400)
# %:z +hh:mm numeric timezone (e.g., -04:00)
# %::z +hh:mm:ss numeric time zone (e.g., -04:00:00)#
# %:::z numeric time zone with : to necessary precision (e.g., -04, +05:30)
# %Z alphabetic time zone abbreviation (e.g., EDT)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment