Last active
January 22, 2022 15:24
-
-
Save wribeiiro/a7f665d47d1171f7e57e78bac8ba3b02 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
conky.config = { | |
alignment = 'top_left', | |
background = false, | |
border_width = 1, | |
cpu_avg_samples = 2, | |
default_color = 'white', | |
default_outline_color = 'white', | |
default_shade_color = 'white', | |
draw_borders = false, | |
draw_graph_borders = true, | |
draw_outline = false, | |
draw_shades = false, | |
use_xft = true, | |
font = 'DejaVu Sans Mono:size=9', | |
gap_x = 65, | |
gap_y = 65, | |
minimum_height = 5, | |
minimum_width = 400, | |
net_avg_samples = 2, | |
no_buffers = true, | |
out_to_console = false, | |
out_to_stderr = false, | |
extra_newline = false, | |
own_window = true, | |
own_window_class = 'Conky', | |
own_window_type = 'desktop', | |
own_window_argb_visual = true, | |
own_window_argb_value = 150, | |
stippled_borders = 0, | |
update_interval = 1.0, | |
uppercase = false, | |
use_spacer = 'none', | |
show_graph_scale = false, | |
show_graph_range = false | |
}; | |
conky.text = [[ | |
${color2}CPU ${color0}${alignr}${cpu cpu0}% | |
${cpubar cpu0 5,} | |
${top name 1} $alignr ${top cpu 1}% | |
${top name 2} $alignr ${top cpu 2}% | |
${top name 3} $alignr ${top cpu 3}% | |
${top name 4} $alignr ${top cpu 4}% | |
${top name 5} $alignr ${top cpu 5}% | |
${color2}RAM ${color0}${alignr}${mem} | |
${membar 5,} | |
${top_mem name 1} $alignr ${top_mem mem_res 1} | |
${top_mem name 2} $alignr ${top_mem mem_res 2} | |
${top_mem name 3} $alignr ${top_mem mem_res 3} | |
${top_mem name 4} $alignr ${top_mem mem_res 4} | |
${top_mem name 5} $alignr ${top_mem mem_res 5} | |
${if_running spotify}${voffset 10}${color green}Spotify (${exec ~/.conky/conky-spotify/scripts/status.sh}) $hr $color | |
# --- Get Spotify Cover --- | |
${image ~/.conky/conky-spotify/current/current.jpg -p 2, 270 -s 60x60} | |
# --- added -n (no caching) flag to image as found it was caching it, as it was not updating the cover for me correcty. Also, size and location of the image placement is specific to my setup, so tinker with that yourself --- | |
${exec ~/.conky/conky-spotify/scripts/cover.sh}${image ~/.conky/conky-spotify/current/current.jpg -p 0,587 -s 60x60 -n} | |
${offset 70}Title: ${exec ~/.conky/conky-spotify/scripts/title.sh} | |
${offset 70}Artist: ${exec ~/.conky/conky-spotify/scripts/artist.sh} | |
${offset 70}Album: ${exec ~/.conky/conky-spotify/scripts/album.sh}${voffset 10}${endif} | |
]]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment