Add conky preset to display currently running track
This commit is contained in:
parent
bc7643a922
commit
67042553eb
1 changed files with 55 additions and 0 deletions
55
conky/music.conf
Normal file
55
conky/music.conf
Normal file
|
@ -0,0 +1,55 @@
|
||||||
|
-- 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({[=====[
|
||||||
|
${execi 1 playerctl status}
|
||||||
|
${font Quicksand:size=20}${execi 1 playerctl metadata xesam:title | sed 's/-/—/'}
|
||||||
|
]=====]}, "\n")
|
Loading…
Reference in a new issue