-
Notifications
You must be signed in to change notification settings - Fork 20
/
conky-spotify
52 lines (47 loc) · 1.46 KB
/
conky-spotify
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
conky.config = {
background = true,
-- font = 'GE Inspira:size=8',
uppercase = false,
override_utf8_locale = true,
default_color = 'white',
alignment = 'top_right',
gap_x = 35,
gap_y = 50,
minimum_width = 650,
maximum_width = 650,
own_window = true,
own_window_type = 'desktop',
own_window_transparent = true,
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
double_buffer = true,
draw_shades = false,
draw_outline = false,
draw_borders = false,
draw_graph_borders = false,
no_buffers = true,
use_xft = true,
xftalpha = 0.1,
cpu_avg_samples = 2,
update_interval = 1,
total_run_times = 0,
imlib_cache_size = 0,
};
conky.text = [[
# --- Get Spotify Cover ---
${if_running spotify}
${exec ~/.conky/conky-spotify/scripts/cover.sh}
# --- Show wallpaper and cover ---
${image ~/.conky/conky-spotify/current/current.jpg -p 0,0 -s 164x164}
${image ~/.conky/conky-spotify/background.png}
# --- Show now playing information ---
${voffset -110}
${goto 180}${font Noto Sans:size=8}Title:
${goto 190}${font GE Inspira:size=22}${exec ~/.conky/conky-spotify/scripts/title.sh}
${voffset -46}
${goto 180}${font Noto Sans:size=8}Artist:
${goto 190}${font GE Inspira:size=22}${exec ~/.conky/conky-spotify/scripts/artist.sh}
${voffset -46}
${goto 180}${font Noto Sans:size=8}Album:
${goto 190}${font GE Inspira:size=22}${exec ~/.conky/conky-spotify/scripts/album.sh}
${endif}
]];