-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.conkyrc
155 lines (126 loc) · 4.56 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
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
# Standard antiX .conkyrc file
# For conky editing help and commands visit = Casey's Conky Reference with Examples {http://www.ifxgroup.net/conky.htm}
# set to yes if you want Conky to be forked in the background
background yes
short_units yes
cpu_avg_samples 2
net_avg_samples 1
out_to_console no
# X font when Xft is disabled, you can pick one with program xfontsel
#font 7x12
#font 6x10
#font 7x13
font 8x12
#font 7x12
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
#xftfont gentium:size=12
#xftfont DejaVu Sans:size=10
xftfont DejaVu Sans:bold:size=8
#xftfont DejaVu Sans:size=9
# Create own window instead of using desktop (required in nautilus, pcmanfm and rox desktops)
own_window yes
own_window_transparent no
own_window_hints undecorated,below,sticky,skip_taskbar
own_window_type override
own_window_argb_visual yes
own_window_argb_value 170
# Text alpha when using Xft
xftalpha 1.0
#on_bottom no
# Update interval in seconds
update_interval 1
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 200
maximum_width 250
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 0
# border margins
#border_margin 10
# border width
border_width 2
# Default colors and also border colors
default_color white
default_shade_color white
default_outline_color white
#color ffffff
color4 yellow
color8 77ccff
color9 5599cc
# 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 20
gap_y 50
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer right
# Subtract file system buffers from used memory?
no_buffers yes
# if_up_strictness link: up | link | address
if_up_strictness address
# set to yes if you want all text to be in uppercase
uppercase no
TEXT
$hr
${alignc}Cristopher Love GNU-Linux
${alignc}${color8}${font DejaVu Sans:size=70}${time %H:%M:%S} ${font} ${color}
${alignc}${time %a %d %b}
${alignc}Uptime: $uptime
$hr
res:${alignr}${execi 60 xdpyinfo | sed -n -r "s/^\s*dimensions:.*\s([0-9]+x[0-9]+).*/\1/p"}
dpi:${alignr}${execi 60 sed -nr "s/^\s*Xft.dpi:\s*([0-9]+(x[0-9]+)?).*/\1/p" $HOME/.Xresources | grep "[0-9]" || echo 96}
Automount: ${alignr}${execi 60 grep -q "^automount=TRUE" $HOME/.desktop-session/automount.conf 2>/dev/null && echo "enabled" || echo "disabled"}
CPU:${alignr}${cpu}%
Freq:${alignr}${freq}
$hr
${color}Init:${alignr}${execi 60 detect-init.sh}
${alignr}${cpugraph cpu0 30,200 5599cc 5599cc}
Disk:${alignr}${diskio}
${alignr}${diskiograph 30,200 5599cc 5599cc}${if_up eth0}
eth0 up: $alignr ${upspeed eth0}
${alignr}${upspeedgraph eth0 30,170 5599cc 5599cc}
eth0 down: $alignr ${downspeed eth0}
${alignr}${downspeedgraph eth0 30,170 5599cc 5599cc}${endif}${if_up eth1}
eth1 up: $alignr ${upspeed eth1}
${alignr}${upspeedgraph eth1 30,170 5599cc 5599cc}
eth1 down: $alignr ${downspeed eth1}
${alignr}${downspeedgraph eth1 30,170 5599cc 5599cc}${endif}${if_up wlan0}
wlan0 up: $alignr ${upspeed wlan0}
${alignr}${upspeedgraph wlan0 30,200 5599cc 5599cc}
wlan0 down: $alignr ${downspeed wlan0}
${alignr}${downspeedgraph wlan0 30,200 5599cc 5599cc}${endif}${if_up wlan1}
wlan1 up: $alignr ${upspeed wlan1}
${alignr} ${upspeedgraph wlan1 30,170 5599cc 5599cc}
wlan1 down: $alignr ${downspeed wlan1}
${alignr}${downspeedgraph wlan1 30,170 5599cc 5599cc}${endif}
$hr
${alignr}${color8}Used / Total ${color}
RAM:${alignr}$mem / $memmax
Swap:${alignr}$swap / $swapmax
/ Disk:${alignr}${fs_used /} / ${fs_size /}
$hr
${color orange}Name PID CPU% MEM%
${color8} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color8} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color8} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color8} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color8} ${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5}
${color8} ${top name 6} ${top pid 6} ${top cpu 6} ${top mem 6}
${color8} ${top name 7} ${top pid 7} ${top cpu 7} ${top mem 7}
${color8} ${top name 8} ${top pid 8} ${top cpu 8} ${top mem 8}
${color turquoise} ${top name 9} ${top pid 9} ${top cpu 9} ${top mem 9}
$hr
#Battery: ${battery_percent BAT0}% ${alignr}${color8}${battery_bar 8,70 BAT0} # You may need to change BAT0 to BAT1 or add the same line again if you have more then one battery.
#${execi 1000 acpi 2>/dev/null | grep -q . && echo "Battery: "}${execi 10 acpi -b 2>/dev/null | cut -d" " -f3,4 | sed 's/,$//'}