-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.conkyrc
executable file
·130 lines (105 loc) · 6.49 KB
/
.conkyrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
# Conky settings #
background yes
update_interval 1
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale yes
double_buffer yes
no_buffers yes
text_buffer_size 2048
#imlib_cache_size 0
temperature_unit celsius
# Window specifications #
own_window yes
own_window_transparent yes
own_window_type desktop
own_window_hints undecorated,sticky,skip_taskbar,skip_pager,below
own_window_class Conky
border_inner_margin 0
border_outer_margin 0
# Minimum size of text area -adjust if you would like to user smaller fonts etc.
minimum_size 320 0
maximum_width 320
max_specials 1024
max_user_text 16384
default_bar_size 215 5
alignment tr
gap_x 35
gap_y 55
# Graphics settings #
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
# Text settings #
use_xft yes
xftfont caviar dreams:size=8
xftalpha 0.5
uppercase no
default_color FFFFFF
# HDDTemp config
hddtemp_host 127.0.0.1
hddtemp_port 7634
#====================================
# API Key
#====================================
template6 "a2aa59e7e360f340a7291333df4a866b"
#====================================
# City ID
#====================================
template7 "1566083"
#====================================
# Temp Unit (default, metric, imperial)
#====================================
template8 metric
#====================================
# Locale (e.g. "es_ES.UTF-8")
# Leave empty for default
# Leave the quotes
#====================================
template9 ""
###################################################
###################################################
# -- Lua Load -- # - removed in conky builder > 1.15
lua_load ~/.conky/clock_rings.lua
lua_draw_hook_pre clock_rings
# -- Album art fix -- #
imlib_cache_size 0
TEXT
${voffset 8}${color 339900}${font caviar dreams:size=16}${time %A}${font}${voffset -8}${alignr 50}${color FFFFFF}${font caviar dreams:size=38}${time %e}${font}
${color FFFFFF}${voffset -30}${color FFFFFF}${font caviar dreams:size=18}${time %B}${font}${voffset -3} ${color FFFFFF}${font caviar dreams:size=20}${time %Y}${font}${color 339900}${hr}
${voffset 40}${font caviar dreams:size=10}${alignr}Ho Chi Minh City${font}
#${font caviar dreams:size=12}${color FFFFFF}${alignr}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ VVTS temperature temperature 30} °C${font}
#${font caviar dreams:size=12}${color FFFFFF}${alignr}${execi 300 l=${template9}; l=${l%%_*}; curl -s "api.openweathermap.org/data/2.5/forecast/daily?APPID=${template6}&id=${template7}&cnt=5&units=${template8}&lang=$l" -o ~/.cache/forecast.json}\${font}
${image ~/.conky/new-ubuntu-logo.png -p 60,120 -s 81x27}
${goto 180}${color FF00FF}${font Liberation:style=Bold:pixelsize=12}SYSTEM ${color 339900}${hr 2 }
${alignr}${font}${color FFFFFF}Processes: ${color 339900}$processes
${alignr}${font}${color FFFFFF}Uptime: ${color 339900}${font Liberation:style=normal:pixelsize=10}${uptime}
${alignr}quyngan@$nodename
${color FFFFFF}${font Liberation:style=normal:pixelsize=12}${alignr}Ubuntu 14.04 - ${alignr}$kernel 64 Bit
${color FF00FF}${font Liberation:style=Bold:pixelsize=12}CPU${color 339900}${hr 1 }
${color FFFFFF}${goto 6}${font}${voffset -3}${goto 18}${font}${goto 18}Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz
${color FFFFFF}${goto 18}${font}CPU Temperature: ${font Liberation:style=normal:pixelsize=12} ${color 339900}${acpitemp} °C
${color FFFFFF}${goto 18}${font}CPU Usage: ${font Liberation:style=normal:pixelsize=12} ${color 339900}${freq}MHz X 4${alignr}${color FF0000}${cpu cpu0}% ${cpubar cpu0 6,60}
${color FF00FF}${font Liberation:style=Bold:pixelsize=12}RAM${color 339900}${hr 1 }
${goto 18}${color FFFFFF}${font Liberation:style=normal:pixelsize=12}Usage: ${color 339900}${font Liberation:style=normal:pixelsize=12}$mem / $memmax ${alignr}${color FF0000}${font Liberation:style=normal:pixelsize=12}$memperc% ${membar 6,60}
#${font}${voffset -3}${goto 18}${color FFFFFF}${font Liberation:style=normal:pixelsize=12}Swap: ${color 339900}${font Liberation:style=normal:pixelsize=12}$swap/$swapmax${color FF0000}${alignr}$swapperc% ${swapbar 6,60}
${font}${voffset -3}${goto 18}${color FFFFFF}${font Liberation:style=normal:pixelsize=12}${goto 18}Highest: ${color 339900}${alignr}CPU RAM
${goto 18}${voffset -5.5}${hr 1}
${color FF0000}${font Liberation:style=normal:pixelsize=12}${voffset -1}${goto 18}${top name 1}${alignr}${top cpu 1} ${top mem 1}
${goto 18}${top name 2}${alignr}${top cpu 2} ${top mem 2}
${goto 18}${top name 3}${alignr}${top cpu 3} ${top mem 3}
${color FF00FF}${font Liberation:style=Bold:pixelsize=12}FILESYSTEM(s)${color 339900}${hr 1 }
${font}${voffset -3}${goto 18}${color FFFFFF}${font Liberation:style=normal:pixelsize=12}Disk Temp: ${color 339900}${font Liberation:style=normal:pixelsize=12}$hddtemp °C${color FF0000}
${font}${voffset -3}${goto 18}${color FFFFFF}${font Liberation:style=normal:pixelsize=12}Disk I/O: ${color 339900}${font Liberation:style=normal:pixelsize=12}${diskio}${alignr}${color FF0000}${diskiograph 19,215 00FF00 FF0000 -t}
${font}${voffset -3}${goto 18}${color FFFFFF}${font Liberation:style=normal:pixelsize=12}Root (/dev/sda3): ${color 339900}${font Liberation:style=normal:pixelsize=12}${fs_free /} / ${fs_size /}${alignr}${color FF0000}${fs_used_perc /}% ${fs_bar 6,60 /}
${color FF00FF}${font Liberation:style=Bold:pixelsize=12}NETWORK:${color 339900}${hr 1 }
${color FF00FF}${font Liberation:style=Bold:pixelsize=12}wlan0
${goto 18}${voffset -3}${color #ff0000}${font Liberation:style=normal:pixelsize=12}Up: ${upspeed wlan0} ${color #ff0000}${alignr}${voffset -3}${upspeedgraph wlan0 19,215 00FF00 FF0000 -t}
${goto 18}${voffset -3}${color #ff0000}${font Liberation:style=normal:pixelsize=12}Down: ${downspeed wlan0} ${color #ff0000}${alignr}${voffset -3}${downspeedgraph wlan0 19,215 00FF00 FF0000 -t}
${color FF00FF}${font Liberation:style=Bold:pixelsize=12}eth0
${goto 18}${voffset -3}${color #ff0000}${font Liberation:style=normal:pixelsize=12}Up: ${upspeed eth0} ${color #ff0000}${alignr}${voffset -3}${upspeedgraph eth0 19,215 00FF00 FF0000 -t}
${goto 18}${voffset -3}${color #ff0000}${font Liberation:style=normal:pixelsize=12}Down: ${downspeed eth0} ${color #ff0000}${alignr}${voffset -3}${downspeedgraph eth0 19,215 00FF00 FF0000 -t}
${goto 18}${voffset -3}${font}Local IP: ${addr eth0}${alignr}${font}${voffset 2}${font Stylebats:pixelsize=12}M${font}TCP Connections: ${color #ff0000}${font Liberation:style=normal:pixelsize=12}${tcp_portmon 1 65535 count}
${color ff0000}${font Liberation:style=Bold:pixelsize=12}${voffset -3}${hr 2}
${color ff0000}${font Liberation:style=Bold:pixelsize=12}${voffset -3}${hr 2}