-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpmconky
229 lines (182 loc) · 6.7 KB
/
pmconky
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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
# Platinummonkey's Conky configuration
# Built on Arch Linux i686 system
#
# To display everything here you will need the following scripts:
# r_box.sh - created by me
# r_box_bar.sh - created by me
# countdown2.rb - unknown creator, modified by me
# compsize2.sh - unknown command author, script created by me
# fortune - in the repo's
# arch_update.py - created by Michal Orlik (Put shell script with command 'pacman -Sy' into /etc/cron.hourly/ to make this work!)
#
# Other necessary tools for the above scripts to work:
# awk/gawk/etc... (must be properly linked to 'awk' unless you want to go through all the scripts and change it yourself ;))
# bc (bash calculator) availiable in the repo's (plus provided extensions)
# ruby (and rubygems) - repo's
# python - repo's
# patience - sold separately
#
# The following fonts are required for the logos to be displayed: (All of these are TTF fonts!)
# openlogos: http://icompile.info/logos.html
# illustrate: http://icompile.info/logos.html
# DejaVu Sans Mono: repo's
# set to yes if you want Conky to be forked in the background
background no
# X font when Xft is disabled, you can pick one with program xfontsel
#font 5x7
#font 6x10
#font 7x13
#font 8x13
#font 9x15
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
xftfont DejaVu Sans Mono:pixelsize=10
# Text alpha when using Xft
xftalpha 1
# Print everything to stdout?
out_to_console no
# MPD host/port
mpd_host localhost
mpd_port 6600
# mpd_password vista_killer
# Print everything to console?
out_to_console no
# mail spool
#mail_spool $MAIL
# Update interval in seconds
update_interval 5.0
# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0
# Create own window instead of using desktop (required in nautilus)
own_window yes
# If own_window is yes, you may use type normal, desktop or override
own_window_type override
# Use pseudo transparency with own_window?
own_window_transparent yes
# If own_window_transparent is set to no, you can set the background colour here
own_window_colour grey
# If own_window is yes, these window manager hints may be used
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 280 5
maximum_width 450
# Max buffers for conky!
# Default - max_specials 512
# Default - max_user_text 16384 #bytes
# Default - text_buffer_size 1280 #bytes
max_specials 1024
max_user_text 65536
text_buffer_size 10240
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Draw borders around graphs
draw_graph_borders yes
# Stippled borders?
stippled_borders 10
# border margins
border_margin 4
# border width
border_width 1
# Default colors and also border colors
default_color lightgrey
default_shade_color grey
default_outline_color grey
# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
#alignment none
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 12
gap_y 35
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2
# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer left
# mldonkey_hostname Hostname for mldonkey stuff, defaults to localhost
# mldonkey_port Mldonkey port, 4001 default
# mldonkey_login Mldonkey login, default none
# mldonkey_password Mldonkey password, default none
# boinc (seti) dir
# seti_dir /dir
# Allow for the creation of at least this number of port monitors (if 0 or not set, default is 16)
#min_port_monitors 16
# Allow each port monitor to track at least this many connections (if 0 or not set, default is 256)
#min_port_monitor_connections 256
# none, xmms, bmp, audacious, infopipe (default is none)
#xmms_player none
# stuff after 'TEXT' will be formatted on screen
#${alignr}${hwmon cpu 0} :CPU Temp──┤ │
TEXT
${alignr}${font openlogos:size=20}B${font}[$nodename-$sysname $kernel]
${alignr}│
${alignr}system──┤
${alignr}│ │
${alignr}$uptime :Uptime──┤ │
${alignr}$loadavg :Load──┤ │
${alignr}$cpu% :CPU Usage──┤ │
${alignr}${cpubar 5,200} │ │
${alignr}${acpitemp}.0°C :CPU Temp 1──┤ │
${alignr}:Processes──┘ │
${alignr}│ │
${alignr}$processes :Total──┤ │
${alignr}$running_processes :Running──┘ │
${alignr}│
${alignr}resources──┤
${alignr}│ │
${alignr}$diskio_read :Read──┤ │
${alignr}$diskio_write :Write──┤ │
${alignr}│ │
${alignr}$mem/$memmax - $memperc% used :RAM──┤ │
${alignr}${membar 5,200} │ │
${alignr}$swap/$swapmax - $swapperc% used :Swap──┤ │
${alignr}${swapbar 5,200} │ │
${alignr}${fs_used /}/${fs_size /} ${fs_used_perc /}% used :root──┤ │
${alignr}${fs_bar 5,200 /} │ │
${alignr}${fs_used /home}/${fs_size /home} ${fs_used_perc /home}% used :home──┤ │
${alignr}${fs_bar 5,200 /home} │ │
${alignr}${fs_used /mnt/Windows}/${fs_size /mnt/Windows} ${fs_used_perc /mnt/Windows}% used :Windows Drive──┤ │
${alignr}${fs_bar 5,200 /mnt/Windows} │ │
${alignr}net──┤
${alignr}│ │
${alignr}${downspeed eth0} k/s :down──┤ │
${alignr}${downspeedgraph eth0 8,200 eeeeee cccccc} │ │
${alignr}${upspeed eth0} k/s :up──┤ │
${alignr}${upspeedgraph eth0 8,200 eeeeee cccccc} │ │
${alignr}│
${alignr}${execi 1 echo "Now Playing:" `mpc | grep -` } │
${alignr}│
${alignr}${execi 300 /home/daniel/bin/weather.sh 78216}
${alignr}${execi 3600 ~/bin/conky/compsize2.sh}
${alignr}${execi 7200 ~/bin/conky/countdown2.rb | awk '{printf "%64s\n", $0}'}
${alignr}│
${alignr}:FORTUNE──┤
${alignr}${execi 3600 fortune -as | fold -w 58 | awk '{printf "%58s\n", $0}'}
${alignr}│
${alignr}:Arch Updates──┘
${hr}
#${texeci 1800 python ~/bin/conky/arch_update.py | awk '{printf "%58s\n", $0}'}
${alignr}
${alignc}${font openlogos:size=25}${if_running firefox-bin}P${endif}${if_running soffice.bin}f${endif}${font "Illustrate IT":size=20}${if_running rhythmbox}4${endif}${if_running vlc}7${endif}${if_running Flash.exe}R${endif}${font openlogos:size=25}t${font}