Separate conky configs
This commit is contained in:
parent
83edb9cd09
commit
319e92155d
2 changed files with 126 additions and 0 deletions
54
dot_conkyrc-main
Normal file
54
dot_conkyrc-main
Normal file
|
|
@ -0,0 +1,54 @@
|
||||||
|
-- vim: ts=4 sw=4 noet ai cindent syntax=lua
|
||||||
|
|
||||||
|
conky.config = {
|
||||||
|
out_to_x = false,
|
||||||
|
own_window = false,
|
||||||
|
out_to_console = true,
|
||||||
|
short_units = true,
|
||||||
|
update_interval = 0.5,
|
||||||
|
background = false,
|
||||||
|
max_text_width = 0,
|
||||||
|
total_run_times = 0,
|
||||||
|
short_units = true,
|
||||||
|
if_up_strictness = 'address',
|
||||||
|
use_spacer = 'left',
|
||||||
|
|
||||||
|
cpu_avg_samples = 2,
|
||||||
|
};
|
||||||
|
|
||||||
|
conky.text = [[
|
||||||
|
[
|
||||||
|
${if_match "${exec cat ~/.local/share/pomodoro}"!="done"}
|
||||||
|
{"full_text": "Pomodoro: ${exec cat ~/.local/share/pomodoro}", "color": "\#ea0501"},
|
||||||
|
${endif}
|
||||||
|
|
||||||
|
{"full_text": "Tea: ${execi 30 tail -n 1 ~/.local/share/teatimer.log}s", "color": "\#ffffff"},
|
||||||
|
|
||||||
|
{"full_text": "~ ${fs_free /home}", "color": "\#ffffff"},
|
||||||
|
{"full_text": "/ ${fs_free /root}", "color": "\#ffffff"},
|
||||||
|
{"full_text": "IO r:${diskio_read} w:${diskio_write}", "color": "\#ffffff"},
|
||||||
|
{"full_text": "CPU ${cpu cpu0}%", "color": "\#ffffff"},
|
||||||
|
{
|
||||||
|
"full_text": "RAM ${memperc}%",
|
||||||
|
"color":
|
||||||
|
${if_match ${memperc}<90}
|
||||||
|
"\#ffffff"
|
||||||
|
${else}
|
||||||
|
"\#ff0000"
|
||||||
|
${endif}
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"full_text": "BAT ${battery_short} ${battery_time}",
|
||||||
|
"color":
|
||||||
|
${if_match ${battery_percent}<20}
|
||||||
|
"\#ff0000"
|
||||||
|
${else}
|
||||||
|
"\#00ff00"
|
||||||
|
${endif}
|
||||||
|
},
|
||||||
|
|
||||||
|
{"full_text": "${time %Y-%m-%d %H:%M}", "color": "\#ffffff"}
|
||||||
|
],
|
||||||
|
]];
|
||||||
|
|
||||||
72
dot_conkyrc-net
Normal file
72
dot_conkyrc-net
Normal file
|
|
@ -0,0 +1,72 @@
|
||||||
|
-- vim: ts=4 sw=4 noet ai cindent syntax=lua
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
conky.config = {
|
||||||
|
out_to_x = false,
|
||||||
|
own_window = false,
|
||||||
|
out_to_console = true,
|
||||||
|
short_units = true,
|
||||||
|
update_interval = 0.5,
|
||||||
|
background = false,
|
||||||
|
max_text_width = 0,
|
||||||
|
total_run_times = 0,
|
||||||
|
short_units = true,
|
||||||
|
if_up_strictness = 'address',
|
||||||
|
use_spacer = 'left',
|
||||||
|
|
||||||
|
cpu_avg_samples = 2,
|
||||||
|
};
|
||||||
|
|
||||||
|
conky.text = [[
|
||||||
|
[
|
||||||
|
|
||||||
|
${if_match "${addr enp6s0}"!="No Address"}
|
||||||
|
{
|
||||||
|
"full_text": "enp6s0 d:${downspeed enp6s0} u:${upspeed enp6s0} ${addr enp6s0}",
|
||||||
|
"color": "\#00ff00"
|
||||||
|
},
|
||||||
|
${endif}
|
||||||
|
|
||||||
|
${if_match "${addr enp4s0}"!="No Address"}
|
||||||
|
{
|
||||||
|
"full_text": "enp4s0 d:${downspeed enp4s0} u:${upspeed enp4s0} ${addr enp4s0}",
|
||||||
|
"color": "\#00ff00"
|
||||||
|
},
|
||||||
|
${endif}
|
||||||
|
|
||||||
|
${if_match "${addr enp0s13f0u1u4}"!="No Address"}
|
||||||
|
{
|
||||||
|
"full_text": "enp0s13f0u1u4 d:${downspeed enp0s13f0u1u4} u:${upspeed enp0s13f0u1u4} ${addr enp0s13f0u1u4}",
|
||||||
|
"color": "\#00ff00"
|
||||||
|
},
|
||||||
|
${endif}
|
||||||
|
|
||||||
|
${if_match "${addr eth0}"!="No Address"}
|
||||||
|
{
|
||||||
|
"full_text": "eth0 d:${downspeed eth0} u:${upspeed eth0} ${addr eth0}",
|
||||||
|
"color": "\#00ff00"
|
||||||
|
},
|
||||||
|
${endif}
|
||||||
|
|
||||||
|
|
||||||
|
${if_match "${addr wlp2s0}"!="No Address"}
|
||||||
|
{
|
||||||
|
"full_text": "WLAN: wlp2s0 q: ${wireless_link_bar wlp2s0} r: ${wireless_bitrate wlp2s0} d:${downspeed wlp2s0} u:${upspeed wlp2s0} ${addr wlp2s0} ${wireless_essid wlp2s0}",
|
||||||
|
"color": "\#00ff00"
|
||||||
|
},
|
||||||
|
${endif}
|
||||||
|
|
||||||
|
${if_match "${addr wlo1}"!="No Address"}
|
||||||
|
{
|
||||||
|
"full_text": "WLAN: wlo1 q: ${wireless_link_bar wlo1} r: ${wireless_bitrate wlo1} d:${downspeed wlo1} u:${upspeed wlo1} ${addr wlo1} ${wireless_essid wlo1}",
|
||||||
|
"color": "\#00ff00"
|
||||||
|
},
|
||||||
|
${endif}
|
||||||
|
|
||||||
|
${if_match "${addr tun0}"!="No Address"}
|
||||||
|
{"full_text": "VPN", "color": "\#00ff00"},
|
||||||
|
${endif}
|
||||||
|
],
|
||||||
|
]];
|
||||||
Loading…
Add table
Reference in a new issue