home/.config/conky/secondary.conf

72 lines
2.4 KiB
Plaintext
Raw Normal View History

-- vim: ts=4 sw=4 noet ai cindent syntax=lua
conky.config = {
own_window = true,
own_window_title = 'Conky',
own_window_class = 'Conky',
own_window_type = 'desktop',
own_window_colour = '1d2021',
own_window_argb_visual = true,
own_window_argb_value = 180,
double_buffer = true,
cpu_avg_samples = 2,
net_avg_samples = 2,
no_buffers = true,
update_interval = 1,
use_xft = true,
font = 'Roboto:style=Light:size=10',
default_color = '#ebdbb2',
color1 = '282828', -- Background
color2 = 'ebdbb2', -- Foreground
color3 = '3c3836', -- Background-alt
color4 = 'fb4934', -- Red (Debian)
color6 = '8ec07c', -- Cyan
color7 = 'fabd2f', -- Yellow
color8 = '83a598', -- Blue
color9 = 'd3869b', -- Magenta (Gentoo)
alignment = 'top_right',
xinerama_head = 0,
minimum_height = 4000,
minimum_width = 404,
border_width = 6,
gap_x = 10,
gap_y = 44,
show_graph_scale = true,
format_human_readable = true,
draw_outline = false,
draw_graph_borders = false,
draw_shades = false
}
conky.text = [[
${font Roboto:style=Medium:size=30}salt$font
${font Roboto:style=Light:size=17}${time %I:%M %p}$font
${font Roboto:style=Light:size=12}${time %A, %B %d, %Y}$font
${color3}$hr$color
2018-08-13 16:31:24 -05:00
${font Roboto:style=Medium:size=10}$color9${rss https://security.gentoo.org/glsa/feed.rss 60 feed_title}$font$color:${alignr}RSS
${rss https://security.gentoo.org/glsa/feed.rss 60 item_title 0}
${rss https://security.gentoo.org/glsa/feed.rss 60 item_title 1}
${rss https://security.gentoo.org/glsa/feed.rss 60 item_title 2}
${rss https://security.gentoo.org/glsa/feed.rss 60 item_title 3}
${rss https://security.gentoo.org/glsa/feed.rss 60 item_title 4}
${color3}$hr$color
2018-08-13 16:31:24 -05:00
${font Roboto:style=Medium:size=10}$color4${rss https://www.debian.org/security/dsa 60 feed_title}$font$color:${alignr}RSS
${rss https://www.debian.org/security/dsa 60 item_title 0}
${rss https://www.debian.org/security/dsa 60 item_title 1}
${rss https://www.debian.org/security/dsa 60 item_title 2}
${rss https://www.debian.org/security/dsa 60 item_title 3}
${rss https://www.debian.org/security/dsa 60 item_title 4}
${color3}$hr$color${if_existing /home/salt/Documents/todo}
2018-08-13 16:31:24 -05:00
${font Roboto:style=Medium:size=10}TODO$font:${alignr}Top 30 items
${head ~/Documents/todo 30 2}${color3}$hr$color${endif}
${font Roboto:style=Medium:size=10}Statistics$font:
Battery: $battery_percent% charged, $battery_time remaining
Processes: $running_processes running, $processes total
Uptime: $uptime
]]