Skip to content

Instantly share code, notes, and snippets.

@ozyx
Created February 25, 2017 20:22
Show Gist options
  • Save ozyx/7eb786bfb8a92ad3c2f31476df2fbcd8 to your computer and use it in GitHub Desktop.
Save ozyx/7eb786bfb8a92ad3c2f31476df2fbcd8 to your computer and use it in GitHub Desktop.
Simple conkyrc showing MPD info
conky.config = {
alignment = 'top_left',
maximum_width = 500,
minimum_width = 300,
border_width = 1,
font = 'Terminus:size=10',
gap_x = 20,
gap_y = 20,
default_color = FFFFFF,
own_window = true,
own_window_class = 'Conky',
own_window_type = 'desktop',
own_window_argb_visual = true,
own_window_argb_value = 1,
own_window_transparent = true,
background = true,
use_xft = true,
xftalpha = .1,
update_interval = 1,
total_run_times = 0,
double_buffer = true,
draw_shades = true,
draw_outline = true,
draw_borders = true,
draw_graph_borders = true,
no_buffers = true,
cpu_avg_samples = 2,
override_utf8_locale = true,
use_spacer = 'right'
}
conky.text = [[
${font Terminus:bold:size=12}${color 1793d1}MPD: $alignc$font$color${scroll left 20 ${mpd_status}}
${if_mpd_playing}
$hr 1}
${color 1793d1}Artist:$alignc}$color$mpd_artist
${color 1793d1}Title:$alignc}$color$mpd_title
${color 1793d1}Album: $alignc}$color$mpd_album
$mpd_elapsed / $mpd_length
$mpd_bar $endif]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment