Not sure what is going on the conky works fine under Cinammon and Openbox
here is the conky code
--[[
#=====================================================================================
# Date : March 21 2023
# Author : thefrog
# Version : 1.0.0
# License : Distributed under the terms of GNU GPL version 2 or later
#=====================================================================================
# CONKY
# For commands in conky.config section:
# http://conky.sourceforge.net/config_settings.html
#
# For commands in conky.text section:
# http://conky.sourceforge.net/variables.html
#
#======================================================================================
]]
conky.config = {
alignment = 'middle_left',
gap_y = 5,
minimum_width = 50,
minimum_height=50,
background = true,
default_color = '02FF00',
color2 = 'ff0000', -- red
color1 = '02FF00', --green
color3 = 'e8ab49', -- orange
color4= 'b58bf0', -- purple
color5="ffffff", -- white
color6 = 'b13916', -- red-autumn
color7 = 'f0efef', -- offwhite
update_interval = 1,
double_buffer = true,
font = 'Verdana=14',
draw_shades = false,
no_buffers = true,
own_window = true,
own_window_class = "Conky",
own_window_type = 'desktop',
own_window_transparent = false,
own_window_argb_visual = true,
own_window_argb_value = 150,
use_xft = true,
-------------------------------------
-- Icon Sources
-------------------------------------
template0="~/.config/conky/images/weather-icons/64px-green",
-------------------------------------
-- API Key
-- To get API Key, first you have to sign up here https://openweathermap.org/appid
-------------------------------------
template6="e5d8c78d4d04129f7a9bd767d892b7b2",
-------------------------------------
-- City ID
-- Find your City ID here https://openweathermap.org/city
-------------------------------------
template7="5164466",
-------------------------------------
-- Temp Unit (default, metric, imperial)
-------------------------------------
template8="imperial",
-------------------------------------
-- Locale (e.g. "es_ES.UTF-8")
-- Leave empty for default
-------------------------------------
template9=""
}
conky.text = [[
$alignc${font Tahoma :size=40}${color4}\
${time %I}:${time %M}${font}${color4}
${hr}
#code taken from Jelly Conky from zagortenay333
${execi 300 l=${template9}; l=${l%%_*}; curl -s "api.openweathermap.org/data/2.5/forecast/daily?APPID=${template6}&id=${template7}&cnt=5&units=${template8}&lang=$l" -o ~/.cache/forecast.json}\
${execi 300 l=${template9}; l=${l%%_*}; curl -s "api.openweathermap.org/data/2.5/weather?APPID=${template6}&id=${template7}&cnt=5&units=${template8}&lang=$l" -o ~/.cache/weather.json}\
\
\
\
\
${font Tahoma :size=28}${color4}\
${voffset 5}\
$alignc${execi 300 jq ".main.temp" ~/.cache/weather.json | awk '{print int($1+0.5)}' # round num}°${font}
\
\
\
\
${voffset 5}\
$alignc${color7}${execi 300 jq -r ".weather[0].description" ~/.cache/weather.json}${font}${color4}
#end code
$hr
${image $HOME/.config/conky/images/myne/icons/os.png -p 65,190 -s 32x32}
$alignc${color4}${execi 6000 lsb_release -d | grep 'Descr'|awk {'print $2 " " $3" " $4" " $5'}}
${image $HOME/.config/conky/images/myne/icons/kernel.png -p 65,255 -s 32x40}
$alignc${color7}${kernel}
${image $HOME/.config/conky/images/myne/icons/update.png -p 65,330 -s 32x32}
$alignc${execpi 12000 checkupdates | wc -l} - ${execpi 3600 paru -Qu | wc -l}${color4}
$hr
$alignc${color7}${cpu cpu0} % CPU
${color4}${cpubar cpu0}
$alignc${color7}${voffset 12}${mem} / ${memperc} % RAM
${color4}${membar}
$alignc${color7}${voffset 12}${fs_free /} / ${fs_free_perc /} % HDD
${color4}${fs_bar /}
$hr
${image $HOME/.config/conky/images/myne/icons/Battery.png -p 45,610 -s 64x64}
$alignc${voffset 25}${font Verdana :size=16}${color7}${battery_short BAT0}
]]
Should note this is a fresh install.
Lenovo Legion 5
Nvidia GTX 1650
Nvidia Driver Version 570.86.16
X11 session
Should note that it only seems to disappear when the desktop is clicked on and not the panel or a open window