This repository has been archived on 2021-04-06. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/home/.config/conky/conky.conf
2018-09-10 19:24:28 +00:00

40 lines
1.3 KiB
Lua

-- vim: ts=4 sw=4 noet ai cindent syntax=lua
conky.config = {
alignment = 'top_left',
border_width = 1,
default_bar_height = 8,
default_color = 'white',
default_outline_color = 'white',
default_shade_color = 'white',
double_buffer = true,
draw_borders = false,
draw_graph_borders = true,
draw_outline = false,
draw_shades = false,
font = 'Roboto Condensed:size=16',
gap_x = 15,
gap_y = 0, -- text has enought empty space
if_up_strictness = 'address',
maximum_width = 256,
minimum_width = 256,
update_interval = 1.0,
use_xft = true,
}
conky.text = [[
${alignc}${font Roboto Mono Thin:size=96}${time %H}${font}
${alignc}${font Roboto Mono Thin:size=96}${time %M}${font}
${hr}
${font FontAwesome:size=16}${font}${goto 50}${cpubar}
${font FontAwesome:size=16}${font}${goto 50}${membar}
${font FontAwesome:size=16}${font}${goto 50}${battery_bar}${if_up wlp3s0}
${font FontAwesome:size=16}${font}${goto 50}${wireless_link_bar wlp3s0}
${font FontAwesome:size=16}${font}${goto 50}${execbar sensors -u -A acpitz-virtual-0|grep -oE 'temp1_input: [0-9]*'|cut -d' ' -f2}
${hr}
${font FontAwesome:size=16}${goto 143}${font}${if_up enp0s25}
Ethernet
${downspeed enp0s25} ${goto 143}${upspeed enp0s25}${endif}${if_up wlp3s0}
WLAN: ${wireless_essid}
${downspeed wlp3s0} ${goto 143}${upspeed wlp3s0}${endif}
]]