forked from g0tmi1k/os-scripts
-
Notifications
You must be signed in to change notification settings - Fork 7
/
conkyrc2
142 lines (127 loc) · 8.05 KB
/
conkyrc2
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
######################
# - Conky settings - #
######################
update_interval 2
total_run_times 0
net_avg_samples 1
cpu_avg_samples 2
imlib_cache_size 0
double_buffer yes
no_buffers yes
format_human_readable
#####################
# - Text settings - #
#####################
use_xft yes
xftfont Droid Sans: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_argb_visual yes
own_window_argb_value 150
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
alignment top_right
gap_y 25
gap_x 25
border_inner_margin 8
minimum_size 180 500
maximum_width 180
maximum_height 560
default_bar_size 92 6
#########################
# - Graphics settings - #
#########################
draw_shades yes
default_shade_color 000000
default_color FFFFFF
TEXT
${font Droid Sans:style=Bold:size=8}SYSTEM $stippled_hr${font}
##############
# - SYSTEM - #
##############
${voffset 6}${font OpenLogos:size=19}%${font}${goto 40}${voffset -15}Kernel: ${alignr}${kernel}
${goto 40}Uptime: ${alignr}${uptime}
# Battery
${goto 40}${font Droid Sans:style=Normal:size=8}Battery Status${alignr}${battery_short BAT1}
#${goto 40}Left Fan RPM: ${alignr}${i8k_left_fan_rpm}
#${goto 40}Left Fan Status: ${alignr}${i8k_left_fan_status}
${goto 40}CPU Fan: ${alignr}${i8k_right_fan_rpm}RPM
#${goto 40}Right Fan Status: ${alignr}${i8k_right_fan_status}
${goto 40}Temperature: ${font Droid Sans:style=Bold:size=8}${alignr}${color}${i8k_cpu_temp}C
# |--UPDATES
#${goto 40}Updates: ${alignr}${font Droid Sans:style=Bold:size=8}${execi 10800 pacman -Qu | wc -l}${font} Packages
# |--CPU
#${goto 40}Temperature: ${font Droid Sans:style=Bold:size=8}${alignr}${color}${acpitemp}C
${voffset 6}${font Droid Sans:style=Bold:size=8}CPU${font}${offset -20}${voffset 10}${cpubar cpu0 4,18}
${voffset -23}${goto 40}Core 1: ${font Droid Sans:style=Bold:size=8}${cpu cpu1}%${font} ${alignr}${cpubar cpu1 7,70 EEEEEE}
${voffset 1}${goto 40}Core 2: ${font Droid Sans:style=Bold:size=8}${cpu cpu2}%${font} ${alignr}${cpubar cpu2 7,70 EEEEEE}
${voffset 1}${goto 40}Core 3: ${font Droid Sans:style=Bold:size=8}${cpu cpu3}%${font} ${alignr}${cpubar cpu3 7,70 EEEEEE}
${voffset 1}${goto 40}Core 4: ${font Droid Sans:style=Bold:size=8}${cpu cpu4}%${font} ${alignr}${cpubar cpu4 7,70 EEEEEE}
# |--MEM
${voffset 6}${font Droid Sans:style=Bold:size=8}RAM${font}${goto 40}RAM: ${font Droid Sans:style=Bold:size=8}$memperc%${font}
${voffset 6}${offset 1}${voffset -8}${membar 4,18}${voffset 4}${goto 40}${voffset -2}Free: ${font Droid Sans:style=Bold:size=8}${memeasyfree}${font} ${goto 110}Used: ${font Droid Sans:style=Bold:size=8}${mem}${font}
# |--SWAP
${voffset 5}${font Droid Sans:style=Bold:size=8}SWP${font}${goto 40}Swap: ${font Droid Sans:style=Bold:size=8}${swapperc}%${font}
${voffset 4}${offset 1}${voffset -7}${swapbar 4,18}${voffset 4}${goto 40}Free: ${font Droid Sans:style=Bold:size=8}$swapmax${font} ${goto 110}Used: ${font Droid Sans:style=Bold:size=8}$swap${font}
# |--PROC
${voffset 4}${font Droid Sans:style=Bold:size=8}TOP${font}${voffset 0}${goto 126}CPU${alignr}RAM
${voffset -1}${goto 40}${top name 1}${font Droid Sans:style=Bold:size=8} ${goto 120}${top cpu 1}${alignr }${top mem 1}${font}
${voffset -1}${goto 40}${top name 2}${font Droid Sans:style=Bold:size=8} ${goto 120}${top cpu 2}${alignr }${top mem 2}${font}
${voffset -1}${goto 40}${top name 3}${font Droid Sans:style=Bold:size=8} ${goto 120}${top cpu 3}${alignr }${top mem 3}${font}
${voffset -1}${goto 40}${top name 4}${font Droid Sans:style=Bold:size=8} ${goto 120}${top cpu 4}${alignr }${top mem 4}${font}
${voffset -1}${goto 40}${top name 5}${font Droid Sans:style=Bold:size=8} ${goto 120}${top cpu 5}${alignr }${top mem 5}${font}
${voffset -1}${goto 40}${top name 6}${font Droid Sans:style=Bold:size=8} ${goto 120}${top cpu 6}${alignr }${top mem 6}${font}
${voffset -1}${goto 40}${top name 7}${font Droid Sans:style=Bold:size=8} ${goto 120}${top cpu 7}${alignr }${top mem 7}${font}
${voffset -1}${goto 40}${top name 8}${font Droid Sans:style=Bold:size=8} ${goto 120}${top cpu 8}${alignr }${top mem 8}${font}
${voffset -1}${goto 40}${top name 9}${font Droid Sans:style=Bold:size=8} ${goto 120}${top cpu 9}${alignr }${top mem 9}${font}
${voffset -1}${goto 40}${top name 10}${font Droid Sans:style=Bold:size=8} ${goto 120}${top cpu 10}${alignr }${top mem 10}${font}
#############
# - CLOCK - #
#############
${voffset 6}${font Droid Sans:style=Bold:size=8}DATE $stippled_hr${font}
${font Droid Sans:size=20}${alignc}${time %H:%M}${font}
${alignc}${time %d %B %Y}
###############
# - NETWORK - #
###############
${voffset 4}${font Droid Sans:style=Bold:size=8}NETWORK $stippled_hr${font}
${voffset 4}${goto 20}Upload: ${font Droid Sans:style=Bold:size=8}${upspeed wlan0}${font} ${alignr}${upspeedgraph wlan0 8,50 EEEEEE}
${goto 20}Overall: ${font Droid Sans:style=Bold:size=8}${totalup eth0}${font}
${voffset 4}${goto 20}Download: ${font Droid Sans:style=Bold:size=8}${downspeed wlan0}${font} ${alignr}${downspeedgraph wlan0 8,50 EEEEEE}
${goto 20}Overall: ${font Droid Sans:style=Bold:size=8}${totaldown wlan0}${font}
${voffset 4}${goto 20}Local IP: ${alignr}${font Droid Sans:style=Bold:size=8}${addr wlan0}${font}
# ${goto 20}Public IP: ${alignr}${font Droid Sans:style=Bold:size=8}${execi 10800 ~/.public_ip}${font}
${goto 20}Public IP: ${alignr}${font Droid Sans:style=Bold:size=8}${execi 60 curl ifconfig.me}${font}
${goto 20}Potencia: ${alignr}${font Droid Sans:style=Bold:size=8}${wireless_link_qual_perc wlan0}
##########
# - HD - #
##########
${voffset 4}${font Droid Sans:style=Bold:size=8}HD $stippled_hr${font}
# |--HD default
${voffset 4}${goto 20}Root: ${font Droid Sans:style=Bold:size=8}${fs_used_perc /}%${font}${goto 100}${alignr}${fs_bar 6,68 /}
${offset 7}Free: ${font Droid Sans:style=Bold:size=8}${fs_free /root}${font} ${alignr 1}Used: ${font Droid Sans:style=Bold:size=8}${fs_used /root}${font}
${voffset 4}${goto 20}System: ${font Droid Sans:style=Bold:size=8}${fs_used_perc /}%${font}${goto 100}${alignr}${fs_bar 6,68 /}
${offset 7}Free: ${font Droid Sans:style=Bold:size=8}${fs_free /}${font} ${alignr 1}Used: ${font Droid Sans:style=Bold:size=8}${fs_used /}${font}
# |--HDTEMP1
${voffset 7}${goto 20}${voffset -4}Temperature: ${font Droid Sans:style=Bold:size=8}${execi 120 sudo hddtemp /dev/sda -n --unit=C}°C${font}${alignr}/dev/sda
##################
# - OPEN PORTS - #
##################
${voffset 6}${font Droid Sans:style=Bold:size=8}OPEN PORTS $stippled_hr${font}
${goto 5}${font Droid Sans:style=Bold:size=8}${color}Opened: ${tcp_portmon 1 65535 count}
${goto 5}${font Droid Sans:style=Bold:size=8}${color}${offset 10}URL:${goto 160}PORT:
${goto 5}${font Droid Sans:style=Normal:size=6}${color1}${tcp_portmon 1 65535 rhost 0} ${goto 160} ${tcp_portmon 1 65535 rport 0}
${goto 5}${font Droid Sans:style=Normal:size=6}${color1}${tcp_portmon 1 65535 rhost 1} ${goto 160} ${tcp_portmon 1 65535 rport 1}
${goto 5}${font Droid Sans:style=Normal:size=6}${color1}${tcp_portmon 1 65535 rhost 2} ${goto 160} ${tcp_portmon 1 65535 rport 2}
${goto 5}${font Droid Sans:style=Normal:size=6}${color1}${tcp_portmon 1 65535 rhost 3} ${goto 160} ${tcp_portmon 1 65535 rport 3}
${goto 5}${font Droid Sans:style=Normal:size=6}${color1}${tcp_portmon 1 65535 rhost 4} ${goto 160} ${tcp_portmon 1 65535 rport 4}
${goto 5}${font Droid Sans:style=Normal:size=6}${color1}${tcp_portmon 1 65535 rhost 5} ${goto 160} ${tcp_portmon 1 65535 rport 5}
${goto 5}${font Droid Sans:style=Normal:size=6}${color1}${tcp_portmon 1 65535 rhost 6} ${goto 160} ${tcp_portmon 1 65535 rport 6}
${goto 5}${font Droid Sans:style=Normal:size=6}${color1}${tcp_portmon 1 65535 rhost 7} ${goto 160} ${tcp_portmon 1 65535 rport 7}
${goto 5}${font Droid Sans:style=Normal:size=6}${color1}${tcp_portmon 1 65535 rhost 8} ${goto 160} ${tcp_portmon 1 65535 rport 8}
${goto 5}${font Droid Sans:style=Normal:size=6}${color1}${tcp_portmon 1 65535 rhost 9} ${goto 160} ${tcp_portmon 1 65535 rport 9}