-
Notifications
You must be signed in to change notification settings - Fork 0
/
conkyrc.mishtop
141 lines (111 loc) · 4.81 KB
/
conkyrc.mishtop
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
131
132
133
134
135
136
137
138
139
140
141
# UBUNTU-CONKY
# A comprehensive conky script, configured for use on
# Ubuntu / Debian Gnome, without the need for any external scripts.
#
# Based on conky-jc and the default .conkyrc.
# INCLUDES:
# - tail of /var/log/messages
# - netstat connections to your computer
#
# — Pengo ([email protected])
#
# from http://www.tuxmaniac.com/work/conkyrc
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# fiddle with window
use_spacer right
use_xft no
# Update interval in seconds
update_interval 5.0
# Minimum size of text area
# minimum_size 250 5
# maximum width
maximum_width 300
# stop text being cut off
text_buffer_size 512
# Draw shades?
draw_shades no
# Text stuff
draw_outline no # amplifies text if yes
draw_borders no
font inconsolata
uppercase no # set to yes if you want all text to be in uppercase
# Stippled borders?
stippled_borders 3
# border margins
border_margin 9
# border width
border_width 10
# Default colors and also border colors, grey90 == #e5e5e5
#default_color grey
default_color black
own_window_colour brown
own_window_transparent yes
# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
gap_x 10
gap_y 10
# short units (GiB -> G)
short_units yes
# cut lines I might want to keep
#${execpi 300 /home/mish/dev/dotfiles/bin/conky_backup}
#
# stuff after ‘TEXT’ will be formatted on screen
# original colours
# orange
# grey darkgrey
# ${color #0048c8} 0048c8
#
# colours in top listing
# ${color #98c2c7} 684048
# ${color #e5e5e5} 1a1a1a
# ${color #c4c4c4} 4c4c4c
# ${color #a3a3a3} 5c5c5c
# ${color #939393} 6c6c6c
# ${color #838383} 7c7c7c
TEXT
$color
${color darkorange}SYSTEM ${hr 2}$color
$nodename $sysname $kernel on $machine
${color #0048c8}Uptime:$color $uptime - ${color #0048c8}Load:$color $loadavg
Last backup done: ${tail /home/mish/.lastbackupdate 1}
${color #0048c8}CPUs$color
${cpu cpu1}% ${alignr}${cpu cpu2}%
${cpugraph cpu1 25,100 78af78 5c5c5c}${alignr}${cpugraph cpu2 25,100 78af78 5c5c5c}
Processes:$color $processes ${color black}Running:$color $running_processes
${color #684048}NAME PID CPU% MEM% TIME
${color #1a1a1a}${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1} ${top time 1}
${color #4c4c4c}${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2} ${top time 2}
${color #5c5c5c}${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3} ${top time 3}
${color #6c6c6c}${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4} ${top time 4}
${color #7c7c7c}${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5} ${top time 5}
${color #684048}NAME PID CPU% MEM% VIRT
${color #1a1a1a}${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1} ${top_mem mem_vsize 1}
${color #4c4c4c}${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2} ${top_mem mem_vsize 2}
${color #5c5c5c}${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3} ${top_mem mem_vsize 3}
${color #6c6c6c}${top_mem name 4} ${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4} ${top_mem mem_vsize 4}
${color #7c7c7c}${top_mem name 5} ${top_mem pid 5} ${top_mem cpu 5} ${top_mem mem 5} ${top_mem mem_vsize 5}
${color darkorange}MEMORY / DISK ${hr 2}$color
RAM: $mem/$memmax - $memperc% ${membar 6}$color
Swap: $swap/$swapmax - $swapperc% ${swapbar 6}$color
Root: ${fs_used /}/${fs_size /} ${fs_free_perc /}% ${fs_bar 6 /}$color
${color darkorange}NETWORK ${hr 2}$color
${color #0048c8}eth0(${addr eth0})${alignr}${color black}${downspeed eth0}/s / ${upspeed eth0}/s
${downspeedgraph eth0 25,140 000000 ff0000} ${alignr}${upspeedgraph eth0 25,140 000000 00ff00}$color
${color #684048}DOWN: ${color grey}${totaldown eth0}${alignr}${color #684048}UP: ${color #ffffff}${totalup eth0}
${color #0048c8}wlan0${color grey}: ${wireless_essid wlan0}${alignr}${wireless_bitrate wlan0}
${addrs wlan0}${alignr}${color grey}${downspeed wlan0}/s / ${upspeed wlan0}/s
${color #684048}${downspeedgraph wlan0 25,140 000000 ff0000}${alignr}${color #684048}${upspeedgraph wlan0 25,140 000000 00ff00}
${color #684048}DOWN: ${color grey}${totaldown wlan0}${alignr}${color #684048}UP: ${color grey}${totalup wlan0}
${color darkorange}Connections: ${color darkorange}Inbound: ${color grey}${tcp_portmon 1 32767 count} ${color darkorange}Outbound: ${color grey}${tcp_portmon 32768 61000 count} ${color darkorange}Total: ${color grey}${tcp_portmon 1 65535 count}
${color darkorange}LOGGING ${hr 2}$color
${color grey}${execi 60 tail -n3 /var/log/syslog | fold -w50}