-
Notifications
You must be signed in to change notification settings - Fork 0
/
.conkyrc
94 lines (86 loc) · 4.25 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
-- vim: ts=4 sw=4 noet ai cindent syntax=lua
--[[
Conky, a system monitor, based on torsmo
Any original torsmo code is licensed under the BSD license
All code written since the fork of torsmo is licensed under the GPL
Please see COPYING for details
Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
Copyright (c) 2005-2012 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
All rights reserved.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
]]
conky.config = {
alignment = 'top_right',
background = true,
double_buffer = true,
border_width = 1,
cpu_avg_samples = 2,
default_color = 'def4df',
default_outline_color = 'def4df',
default_shade_color = 'def4df',
draw_borders = false,
draw_graph_borders = true,
draw_outline = false,
draw_shades = false,
use_xft = true,
font = 'Droid Sans Mono:size=9',
gap_x = 5,
gap_y = 20,
minimum_height = 5,
minimum_width = 5,
net_avg_samples = 2,
no_buffers = true,
out_to_console = false,
out_to_stderr = false,
extra_newline = true,
own_window = true,
own_window_class = 'Conky',
own_window_transparent = true,
own_window_type = 'override',
own_window_hints = 'undecorated,below,skip_taskbar,skip_pager',
stippled_borders = 0,
update_interval = 1,
uppercase = false,
use_spacer = 'none',
show_graph_scale = true,
show_graph_range = true
}
conky.text = [[
${color 7a8488}Uptime:${color def4df} $uptime $alignr
${color 7a8488}OS:${color def4df} ${exec uname -r}
${color 7a8488}CPU:${color def4df} ${exec lscpu | sed -n 's/Model name:[ \t]*//p'}
${color 7a8488}SSID:${color def4df} ${texeci 6000 iwgetid -r}
${color def4df}${texeci 1 iwconfig wlp1s0 | grep -i quality | awk '{$1=$1;print}'}
${color 7a8488}Battery: ${color def4df}${battery_percent BAT1}% ${battery_time BAT1}${color 7a8488}${battery_bar BAT1}
${voffset -10}
${color 7a8488}CPU Usage:$color ${goto 130} $cpu% ${color 7a8488}${goto 170}Disk I/O:$color $alignr ${diskio}
${color 7a8488}GHz:$color ${goto 130} $freq_g ${goto 170}${color 7a8488}MHz:$color $alignr $freq
${color 7a8488}Processes:$color ${goto 130} $processes ${goto 170}${color 7a8488}Running:$color $alignr $running_processes
${voffset -10}
${color 7a8488}Name${goto 158}CPU${goto 225}Memory${goto 300}PID
${color}${top_mem name 1}${goto 150}${top_mem cpu 1}${goto 225}${top_mem mem_res 1}${goto 300}${top_mem pid 1}
${color}${top_mem name 2}${goto 150}${top_mem cpu 2}${goto 225}${top_mem mem_res 2}${goto 300}${top_mem pid 2}
${color}${top_mem name 3}${goto 150}${top_mem cpu 3}${goto 225}${top_mem mem_res 3}${goto 300}${top_mem pid 3}
${voffset 5}${color 7a8488}CPU ${goto 210}${color 7a8488}Disk I/O
${color #c9c9c9}${cpugraph 0 32,155 c9c9c9 c9c9c9} $alignr ${color #c9c9c9}${diskiograph 32,155 c9c9c9 c9c9c9 750}
${color 7a8488}Download ${goto 210}${color 7a8488}Upload
${color}${downspeedgraph wlp3s0 32,155 c9c9c9 c9c9c9} $alignr ${color #c9c9c9}${upspeedgraph wlp3s0 32,155 c9c9c9 c9c9c9}
${voffset -10}${color #c9c9c9}${downspeedgraph enp0s25 32,155 c9c9c9 c9c9c9} $alignr ${color #c9c9c9}${upspeedgraph enp0s25 32,155 c9c9c9 c9c9c9}
${color 7a8488}RAM:$color ${goto 65} $mem/$memmax ${goto 200}${color 7a8488}Swap: $color $alignr $swap/$swapmax
${color #c9c9c9}${membar 4,155} $alignr ${color #c9c9c9}${swapbar 4, 155}
${color 7a8488}/home/joeyism: $alignr $color${fs_used /home/joeyism}/${fs_size /home/joeyism}
${color #c9c9c9}${fs_bar 4 /home/joeyism}
${color 7a8488}/dev/shm: $alignr $color${fs_used /dev/shm}/${fs_size /dev/shm}
${color #c9c9c9}${fs_bar 4 /dev/shm}
${color #c9c9c9}${curl wttr.in/nice?format=%c+%C\nreal:+%t+|+feels+like:+%f\n%w+%p+%P\nHumidity:+%h\nSunrise:+%S\nSunset:+%s\n 60}
]]
--${color 7a8488}${curl wttr.in/montpellier?0mQT 30}