2020-05-26 14:07:21 +00:00
|
|
|
-- vim: set tabstop=4 noexpandtab autoindent cindent syntax=lua nowrap :miv ---
|
|
|
|
|
|
|
|
conky.config = {
|
|
|
|
lua_load = '~/.config/conky/conky.lua',
|
|
|
|
update_interval = 1.5,
|
|
|
|
cpu_avg_samples = 2,
|
|
|
|
net_avg_samples = 2,
|
|
|
|
out_to_console = false,
|
|
|
|
override_utf8_locale = true,
|
|
|
|
double_buffer = true,
|
|
|
|
no_buffers = true,
|
|
|
|
text_buffer_size = 32768,
|
|
|
|
imlib_cache_size = 0,
|
|
|
|
own_window = true,
|
|
|
|
own_window_title = 'conky',
|
|
|
|
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
|
|
|
|
--[[ Full transparency, no alpha
|
|
|
|
own_window_transparent = true,
|
|
|
|
--]]
|
|
|
|
---[[ Transparency with alpha
|
|
|
|
own_window_argb_visual = true,
|
|
|
|
own_window_argb_value = 0,
|
|
|
|
--]]
|
|
|
|
own_window_type = 'normal',
|
|
|
|
border_inner_margin = 20,
|
|
|
|
border_outer_margin = 0,
|
|
|
|
xinerama_head = 2,
|
|
|
|
draw_shades = false,
|
|
|
|
draw_outline = false,
|
|
|
|
draw_borders = false,
|
|
|
|
draw_graph_borders = false,
|
|
|
|
use_xft = true,
|
|
|
|
font = 'Quicksand:size=14',
|
|
|
|
xftalpha = 1,
|
|
|
|
uppercase = false,
|
|
|
|
default_color = '#FFFFFF',
|
|
|
|
own_window_colour = '#000000',
|
|
|
|
--own_window_colour = '#2F2F2F',
|
|
|
|
alignment = 'bottom_left',
|
|
|
|
minimum_width = 200,
|
|
|
|
minimum_height = 0,
|
|
|
|
-- gap_x = 1680 - 200 - 40,
|
|
|
|
-- gap_x = 40,
|
|
|
|
gap_x = 20,
|
|
|
|
gap_y = 250,
|
|
|
|
color1 = 'white', -- Title
|
|
|
|
color2 = 'gray', -- Text
|
|
|
|
--color3 = '#aa2244', -- Lines
|
|
|
|
--color3 = '#41a3FF', -- Lines
|
|
|
|
color3 = '#ffffFF', -- Lines
|
|
|
|
};
|
|
|
|
conky.text = table.concat({[=====[
|
2020-07-16 10:51:44 +00:00
|
|
|
${execi 1 playerctl metadata xesam:artist | sed 's/-/—/'}
|
|
|
|
${font Quicksand:size=20}${execi 1 playerctl metadata xesam:title | sed 's/-/—/'}${font}
|
|
|
|
${alignr}${execi 1 playerctl status}
|
2020-05-26 14:07:21 +00:00
|
|
|
]=====]}, "\n")
|