forked from AguilarLagunasArturo/conky-themes
-
Notifications
You must be signed in to change notification settings - Fork 2
/
slate-conky.conf
101 lines (92 loc) · 6.15 KB
/
slate-conky.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
conky.config = {
-- window position and size
alignment = 'bottom_right',
gap_x = 20,
gap_y = 24,
minimum_height = 560,
minimum_width = 400,
maximum_width = 400,
background = flase,
border_width = 1,
own_window = true,
own_window_class = 'Conky',
own_window_type = 'desktop',
-- Colors
font = 'RobotoMono Nerd Font:size=10',
font1 = 'RobotoMono Nerd Font:size=10',
color1 = '#f3f3f3', -- accent
color2 = '#c8c8c8', -- accent dimmed
own_window_transparent = false, -- transparency
own_window_argb_visual = true, -- transparency
own_window_argb_value = 195, -- transparency [0 -255]
own_window_colour = '#121214', -- bg color [comment to full transparency]
default_color = 'white', -- default colors
default_outline_color = 'white', -- default colors
default_shade_color = 'white', -- default colors
double_buffer = true, -- removes flickering
draw_borders = false, -- borders (window)
draw_graph_borders = true, -- borders (graphs)
draw_outline = false, -- border (text)
draw_shades = false, -- shades
extra_newline = false, -- extra newline at the end when writing to stdout
-- other
update_interval = 1.0,
cpu_avg_samples = 4,
net_avg_samples = 4,
no_buffers = true,
out_to_console = false,
out_to_ncurses = false,
out_to_stderr = false,
out_to_x = true,
show_graph_range = false,
show_graph_scale = false,
stippled_borders = 0,
uppercase = false,
use_spacer = 'none',
use_xft = true,
}
conky.text = [[
${goto 24}${color1}${font1} General ${voffset 8}${font1}
${goto 24}${color1}OS: ${color2}$sysname $nodename $machine ${alignr}${color1} ${color2}${battery_percent BAT0}%
${goto 24}${color1}Kernel: ${color2}$kernel ${alignr}${color red} ${color2}${exec /bin/bash ~/.config/conky/slate-conky-theme/scripts/temp.sh}
${goto 24}${color1}Uptime: ${color2}$uptime ${alignr}${color cyan} ${color2}${exec /bin/bash ~/.config/conky/slate-conky-theme/scripts/fan.sh}
${goto 24}${color2}______________________________________________
${if_running spotify}${goto 24}${color1}--( ${color green}阮${color1} )-- ${alignr}${blink ${exec /bin/bash ~/.config/conky/slate-conky-theme/scripts/status.sh --sym_display}}${voffset 8}
${goto 24}${color1}Title: ${color2}${exec /bin/bash ~/.config/conky/slate-conky-theme/scripts/title.sh}
${goto 24}${color1}Album: ${color2}${exec /bin/bash ~/.config/conky/slate-conky-theme/scripts/album.sh}
${goto 24}${color1}Artist: ${color2}${exec /bin/bash ~/.config/conky/slate-conky-theme/scripts/artist.sh}
${goto 24}${color2}______________________________________________
${else}${goto 24}${color red}ﱙ${color1} Nothing is playing on Spotify!
${goto 24}${color2}______________________________________________
${endif}
${goto 24}${color1}${font1}${color pink}${color1} File system ${voffset 8}${font}
${goto 24}${color1}root: ${color2}${fs_used /}/${fs_size /} ${alignr} ${fs_used_perc /}% ${color1}${fs_bar 6, 124 /}
${goto 24}${color2}______________________________________________
${goto 24}${color orange}${font1} ${color1}Memory (MiB) ${font1}${alignr}${color1}${font1} CPU (%)${font}${voffset 8}
${goto 24}${color1}${top_mem name 1}${color2}${top_mem mem 1} ${alignr}${color1}${top name 1}${color2}${top cpu 1}
${goto 24}${color1}${top_mem name 2}${color2}${top_mem mem 2} ${alignr}${color1}${top name 2}${color2}${top cpu 2}
${goto 24}${color1}${top_mem name 3}${color2}${top_mem mem 3} ${alignr}${color1}${top name 3}${color2}${top cpu 3}${voffset 8}
${goto 24}${color1}RAM: ${color2}$mem/$memmax ${alignr}$memperc% ${color1}${membar 4, 124}
${goto 24}${color1}Swap: ${color2}$swap/$swapmax ${alignr}$swapperc% ${color1}${swapbar 4, 124}
${goto 24}${color1}CPU: ${freq_g}GHz ${color2}${alignr}${cpu}% ${color1}${cpubar 4, 124}${voffset 8}
${goto 24}${color2}______________________________________________
${if_existing /proc/net/route wlp3s0}${goto 24}${color yellow}${font1} ${color1}Wifi: ${color2}${wireless_bitrate wlp3s0}${alignr}${color2}${wireless_link_qual_perc wlp3s0}% ${color1}${wireless_link_bar 4,124 wlp3s0}${voffset 8}${font}
${goto 24}${color1}SSID: ${color2}${wireless_essid wlp3s0}${alignr}${color1}IP: ${color2}${addr wlp3s0}
${goto 24}${color1}Total Up: ${color2}${totalup wlp3s0} ${alignr}${color1}Total Down: ${color2}${totaldown wlp3s0}
${goto 24}${color1}Speed Up: ${color2}${upspeed wlp3s0} ${alignr}${color1}Speed Down: ${color2}${downspeed wlp3s0}${voffset 8}
${goto 24}${color2}______________________________________________
${else}${if_existing /proc/net/route enp0s20f0u1}${goto 24}${color yellow}${font1} ${color1}Ethernet:${voffset 8}${font}
${goto 24}${color1}IP: ${color2}${addr enp0s20f0u1}
${goto 24}${color1}Total Up: ${color2}${totalup enp0s20f0u1} ${alignr}${color1}Total Down: ${color2}${totaldown enp0s20f0u1}
${goto 24}${color1}Speed Up: ${color2}${upspeed enp0s20f0u1} ${alignr}${color1}Speed Down: ${color2}${downspeed enp0s20f0u1}${voffset 8}
${goto 24}${color2}______________________________________________
${else}${if_existing /proc/net/route enp0s20f0u2}${goto 24}${color yellow}${font1} ${color1}Ethernet:${voffset 8}${font}
${goto 24}${color1}IP: ${color2}${addr enp0s20f0u2}
${goto 24}${color1}Total Up: ${color2}${totalup enp0s20f0u2} ${alignr}${color1}Total Down: ${color2}${totaldown enp0s20f0u2}
${goto 24}${color1}Speed Up: ${color2}${upspeed enp0s20f0u2} ${alignr}${color1}Speed Down: ${color2}${downspeed enp0s20f0u2}${voffset 8}
${goto 24}${color2}______________________________________________
${else}${color grey}${goto 24}${color red}ﲁ ${color1}No network connection found!
${goto 24}${color2}______________________________________________${endif}${endif}${endif}
${goto 24}${color1} Processes: ${color2}$processes${alignr}${color1}Running: ${color2}$running_processes ${color1}Threads: ${color2}$running_threads
${goto 24}
]]