Hello all;
I am unable to have music playing on mpd (musicpd) to show up in conky. This worked on old FreeBSD install, I have bastardized my conky by stealing ideas online but nothing works.
I will appreciate any hints.
I am unable to have music playing on mpd (musicpd) to show up in conky. This worked on old FreeBSD install, I have bastardized my conky by stealing ideas online but nothing works.
I will appreciate any hints.
Code:
conky.config = {
override_utf8_locale = 'true',
use_xft = 'true',
xftfont = 'Cantarell:size=8',
text_buffer_size = 1024,
update_interval = 1.0,
total_run_times = 0,
double_buffer = true,
own_window = true,
out_to_x = true,
own_window_class = 'Conky',
own_window_type = 'desktop',
own_window_transparent = false,
--own_window_type override
own_window_colour = '#000000',
double_buffer = true,
own_window_hints = 'undecorated,above,sticky,skip_taskbar,skip_pager',
--minimum_size 1920 0
maximum_width = 1920,
maximum_height = 1,
draw_shades = false,
draw_outline = false,
draw_borders = false,
draw_graph_borders = false,
default_color = '#5f5a5a',
color1 = 'red',
alignment = 'br',
gap_x = 350,
gap_y = 5,
no_buffers = false,
uppercase = false,
--cpu_avg_samples 8
short_units = true,
border_inner_margin = 0,
border_outer_margin = 0,
out_to_x = false,
out_to_console = true,
total_run_times = 0,
use_spacer = 'none',
}
conky.text = [[
Job | ${color FF0000}FreeBSD 14.0-RELEASE${color FF0000} | ${color 7086b2} Machine: ${color b26f7a}$nodename${color 9c77b2} | Uptime: ${uptime} ${color 7086b2} | Cpu:${color 8c8b8b} ${cpu cpu0}% | RAM: $mem / $memmax $memperc% | Swap: ${swapperc}% | ${color 7086b2}Home: ${fs_used_perc /home/job/}% | ${color d1d1d1}Hdd: ${color} ${fs_used_perc /}% ${fs_used /} - ${fs_size /}${color} | ${color d1d1d1}Free: ${color} ${fs_free /}${color}${font} | ${color 9c77b2}${if_up wlan0}Up: ${color e0e0e0}${upspeedf wlan0}kb/s ${color 82BA00} ${color 82BA00}Down: ${color e0e0e0}${downspeedf lagg0}kb/s ${color 82BA00} | Batt: ${battery_percent BAT1}% | ${mpd_title}${color 9c77b2} * ${color 7086b2}Artist:${color b26f7a}${mpd_artist}${color 9c77b2} * ${color 7086b2}Album:${color b26f7a}${mpd_album}${color 9c77b2}]]