forked from Madh93/conky-spotify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
conky-spotify-medium
55 lines (49 loc) · 1.53 KB
/
conky-spotify-medium
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
53
54
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 = 450,
maximum_width = 450,
own_window = true,
own_window_type = 'desktop',
own_window_argb_visual = true,
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}
${endif}
# --- Show wallpaper and cover ---
${image ~/.conky/conky-spotify/current/current.jpg -p 2,0 -s 112x112}
${image ~/.conky/conky-spotify/background.png -p 0,0 -s 482x170}
# --- Show now playing information ---
${voffset -114}
${goto 124}${font Noto Sans:size=7}Title:
${goto 132}${font GE Inspira:size=14}${exec ~/.conky/conky-spotify/scripts/title.sh}
${voffset -32}
${goto 124}${font Noto Sans:size=7}Artist:
${goto 132}${font GE Inspira:size=14}${exec ~/.conky/conky-spotify/scripts/artist.sh}
${voffset -32}
${goto 124}${font Noto Sans:size=7}Album:
${goto 132}${font GE Inspira:size=14}${exec ~/.conky/conky-spotify/scripts/album.sh}
${voffset -32}
]];