-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwork-laptop.conf
106 lines (94 loc) · 4.89 KB
/
work-laptop.conf
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
-- 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 = {
background = true,
use_xft = true,
xftfont = "123:size=11",
xftalpha = 0.1,
update_interval = 1,
total_run_times = 0,
own_window = true,
own_window_transparent = true,
own_window_type = "dock",
own_window_hints = "undecorated,below,sticky,skip_taskbar,skip_pager",
own_window_argb_visual = true,
own_window_argb_value = 100,
double_buffer = true,
minimum_size = 250,
maximum_width = 250,
draw_shades = false,
draw_outline = false,
draw_borders = false,
draw_graph_borders = false,
default_color = "gray",
default_shade_color = "red",
default_outline_color = "green",
alignment = "top_right",
gap_x = 15,
gap_y = 5,
no_buffers = true,
uppercase = false,
cpu_avg_samples = 2,
net_avg_samples = 1,
override_utf8_locale = true,
use_spacer = "left",
text_buffer_size = 256,
temperature_unit = "celsius"
}
conky.text = [[
${color DimGray}${font Inconsolata:bold:size=15}${time %Y-%m-%d} $alignr ${time %H:%M:%S}\
${font Soul Papa:bold:size=10}${color Tan1}SYSTEM ${color DarkSlateGray} ${hr 2}
#${color DimGray}${font Inconsolata:bold:size=11}$kernel $alignr $machine
${color DimGray}${font Inconsolata:bold:size=11}Uptime $alignr${uptime}
${if_match "${acpiacadapter}" == "on-line"}Battery$alignr ${color chartreuse3}↑ ${battery_percent BAT0}%${color DimGray}${else}\
${if_match ${battery_percent BAT0} > 75}Battery$alignr ${color DimGray}↓ ${battery_percent BAT0}%${color DimGray}${else}\
${if_match ${battery_percent BAT0} > 50}Battery$alignr ${color darkorange}↓ ${battery_percent BAT0}%${color DimGray}${else}\
${if_match ${battery_percent BAT0} > 10}Battery$alignr ${color firebrick}↓ ${battery_percent BAT0}%${color DimGray}${else}\
Battery$alignr ${color RED}↓ ${battery_percent BAT0}%${color DimGray}${endif}${endif}${endif}${endif}
${color DimGray}${font Inconsolata:bold:size=11}${exec grep model\ name /proc/cpuinfo | head -n1 | sed 's/^model\s*name*\s*\:\s*Intel(R) //' | sed 's/(TM)//' | sed 's/\s*CPU.*$//'}$alignr ${freq_g cpu0}Ghz
Temp $alignr ${hwmon 2 temp 1}°C
${voffset -7}\
${font Inconsolata:bold:size=11}${cpugraph cpu1 18,120 696969 802121 -t} ${cpugraph cpu2 18,120 696969 802921 -t}
${font Inconsolata:bold:size=11}${cpugraph cpu3 18,120 696969 803121 -t} ${cpugraph cpu4 18,120 696969 803921 -t}
${voffset 8}\
${font Inconsolata:bold:size=11}${color DimGray}DDR3$alignc $mem / $memmax $alignr $memperc%
${color 324732}$membar
${font Soul Papa:bold:size=10}${color Tan1}STORAGE ${color DarkSlateGray}${hr 2}
${font Inconsolata:bold:size=11}${color DimGray}SSD $alignr ${fs_used /} /${fs_size /} $alignr ${fs_used_perc /}%
${color 7b7419}${fs_bar /}
${font Soul Papa:bold:size=10}${color Tan1}PROCESSES ${color DarkSlateGray}${hr 2}
${font Inconsolata:bold:size=11}${color DimGray}${top_mem name 1}${alignr}${top mem 1} %
${color DimGray}${top_mem name 2}${alignr}${top mem 2} %
${color DimGray}${top_mem name 3}${alignr}${top mem 3} %
${color DimGray}${top_mem name 4}${alignr}${top mem 4} %
${color DimGray}${top_mem name 5}${alignr}${top mem 5} %
${color DimGray}${top_mem name 6}${alignr}${top mem 6} %
${color DimGray}${top_mem name 7}${alignr}${top mem 7} %
${color DimGray}${top_mem name 8}${alignr}${top mem 8} %
${color DimGray}${top_mem name 9}${alignr}${top mem 9} %
${color DimGray}${top_mem name 10}${alignr}${top mem 10} %
${font Soul Papa:bold:size=10}${color Tan2}NETWORK ${color DarkSlateGray}${hr 2}
${font Inconsolata:bold:size=11}${color DimGray}eno1 $alignr ${addr eno1}
${if_existing /sys/class/net/eno1/operstate up}${font size:11}↑${upspeedgraph eno1 18,108 2B7EA5 6E2BA5 -t -l} ${font size:11}↓${downspeedgraph eno1 18,108 2B7EA5 2BA58C -t -l}
${endif}${font Inconsolata:bold:size=11}${color DimGray}wlp2s0 $alignr ${addr wlp2s0}
${if_existing /sys/class/net/wlp2s0/operstate up}${font size:11}↑${upspeedgraph wlp2s0 18,108 2B7EA5 6E2BA5 -t -l} ${font size:11}↓${downspeedgraph wlp2s0 18,108 2B7EA5 2BA58C -t -l}
${endif}
]]