summaryrefslogtreecommitdiffstats
path: root/.config/conky
diff options
context:
space:
mode:
authorYigit Sever2019-03-21 17:32:10 +0300
committerYigit Sever2019-03-21 17:32:10 +0300
commit840fc2fdafb9ddfae52379f2f89b632496661386 (patch)
tree1f33541b1083b26f0258deb2b4ddf898a6022fa2 /.config/conky
parente4985a44805d8b0568ebb8d15db00ee3d7ef1dbb (diff)
downloaddotfiles-840fc2fdafb9ddfae52379f2f89b632496661386.tar.gz
dotfiles-840fc2fdafb9ddfae52379f2f89b632496661386.tar.bz2
dotfiles-840fc2fdafb9ddfae52379f2f89b632496661386.zip
Add mobile configs
Diffstat (limited to '.config/conky')
-rw-r--r--.config/conky/conky.conf##mobile.Linux.Luchs87
1 files changed, 87 insertions, 0 deletions
diff --git a/.config/conky/conky.conf##mobile.Linux.Luchs b/.config/conky/conky.conf##mobile.Linux.Luchs
new file mode 100644
index 0000000..0b2b90d
--- /dev/null
+++ b/.config/conky/conky.conf##mobile.Linux.Luchs
@@ -0,0 +1,87 @@
1conky.config = {
2 alignment = 'top_right',
3 background = true,
4
5 draw_borders = false,
6 draw_graph_borders = true,
7 border_width = 1,
8 border_outer_margin = 5,
9 stippled_borders = 6,
10
11 cpu_avg_samples = 2,
12 default_color = 'white',
13 default_outline_color = '#555',
14 default_shade_color = 'black',
15 draw_outline = false,
16 draw_shades = true,
17 use_xft = true,
18 font = 'Fira Code Medium:size=9',
19
20 gap_x = 15,
21 gap_y = 35,
22
23 minimum_height = 5,
24 minimum_width = 5,
25 net_avg_samples = 2,
26 no_buffers = true,
27 out_to_console = false,
28 out_to_stderr = false,
29 extra_newline = false,
30 own_window = true,
31 own_window_class = 'Conky',
32 own_window_type = 'override',
33 own_window_transparent = true,
34 own_window_hints = 'below',
35 short_units = true,
36 update_interval = 1.0,
37 uppercase = false,
38 use_spacer = 'left',
39 pad_percents = 2,
40 show_graph_scale = false,
41 show_graph_range = false,
42 double_buffer = true,
43
44 color0 = '#e03031',
45 color2 = '#98971a',
46 color1 = '#6495ed',
47 color3 = '#6497b1',
48 color4 = '#e03031',
49 color5 = '#22475b',
50 color6 = '#6497b1',
51 color7 = '#e03031',
52 color8 = '#03396c'
53}
54
55conky.text = [[
56${color}${alignc}$sysname $kernel on $machine
57${color}${alignc}${exec whoami} @ $nodename
58${color0}$hr${color}
59${alignc}${color1}date ${color}${time %d %B %A}
60${color1}uptime${color} $uptime${alignr}${color1}time ${color}${time %k:%M:%S}
61${color0}temperatures $stippled_hr
62${color1}cpu ${color}${platform coretemp.0/hwmon/hwmon2 temp 1}°C${alignr} ${color1}mobo ${color}${acpitemp}°C
63${color0}processors $stippled_hr${color}
64${cpubar cpu1 6,45} ${freq_g 1}GHz ${cpu cpu1}% ${alignr}${cpubar cpu2 6,45} ${freq_g 2}GHz${alignr}${cpu cpu2}%
65${color0}load $stippled_hr${color}
66${color1}cpu${color} ${cpubar cpu0 6, 120}${alignr}${freq_g}GHz ${cpu cpu0}%
67${color1}ram${color} ${membar 6, 120}${alignr}$mem/$memmax $memperc%
68${color1}swp${color} ${swapbar 6,120}${alignr}$swap/$swapmax $swapperc%
69${color0}filesystem $stippled_hr${color}
70${color1}~ ${color}${FS_BAR 6, 130 /home}${alignr}${fs_used /home} /${fs_size /home} ${color}
71${color0}networking $stippled_hr${color}
72${color1}down${color} ${downspeed enp1s0}/s${alignr}${color1}up${color} ${upspeed enp1s0}/s
73${color}${alignc}${downspeedgraph enp1s0 32,150 2980b9 e74c3c -t}${color} ${upspeedgraph enp1s0 32,150 2980b9 e74c3c -t}
74${color1}address${color} ${addr enp1s0}${alignr}updates ${execi 3600 checkupdates | wc -l}
75${color1}inbound${color} ${tcp_portmon 1 32767 count}${color1} outbound${color} ${tcp_portmon 32768 61000 count}${alignr}${color1}all${color} ${tcp_portmon 1 65535 count}
76${color0}processes $stippled_hr${color}
77${color1}${alignc}name pid cpu% mem%
78${color}${alignc} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
79${color}${alignc} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
80${color}${alignc} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
81${color0}forecast $stippled_hr${color}
82${voffset 05}${texeci 1800 curl -s wttr.in/ank | sed -n '3,7{s/\d27\[[0-9;]*m//g;s/^..//;s/ *$//;p}'}
83${color0}calendar $stippled_hr${color}
84${voffset 05}${execp TODAY=`date +%_d`; cal | tail -n+2 | sed -e '1 s:.*:\${color3}&\${color6}:' -e '1 s:'"$(date +%a |cut -c 1-2)"':\${color4}&\${color5}:' -e '0,/'"$TODAY"'/{s/'"$TODAY"'/\${color7}'"$TODAY"'\${color8}/}' | sed s/^/'${alignc}'/}
85${color0}latest xkcd $stippled_hr${color}
86${voffset 05}${alignc}${rss https://xkcd.com/rss.xml 10 item_title 0}
87]]