moby: conky: tune weather display

This commit is contained in:
Colin 2023-08-24 11:17:36 +00:00
parent 3c32246d9a
commit 41416cd184
2 changed files with 3 additions and 4 deletions

View File

@ -37,17 +37,16 @@ conky.config = {
color2 = '404040',
}
-- texeci <interval_sec> <cmd>: run the command periodically, _in a separate thread_ so as not to block rendering
conky.text = [[
${color1}${shadecolor 707070}${font Sxmo:size=50:style=Bold}${alignc}${exec date +"%H:%M"}${font}
${color2}${shadecolor a4d7d0}${font Sxmo:size=20}${alignc}${exec date +"%a %d %b"}${font}
${color1}${shadecolor}${font Sxmo:size=22:style=Bold}${alignc}${exec @bat@ }${font}
${color1}${shadecolor}${font Sxmo:size=20:style=Bold}${alignc}${texeci 600 @weather@ }${font}
${color2}${shadecolor a4d7d0}${font Sxmo:size=16}${alignc}⇅ ${downspeedf wlan0}K/s${font}
${font Sxmo:size=16}${alignc}☵ $memperc%  $cpu%${font}
${color1}${shadecolor}${font Sxmo:size=22:style=Bold}${alignc}${exec @weather@ }${font}
]]

View File

@ -279,7 +279,7 @@ in
in pkgs.substituteAll {
src = ./conky-config;
bat = "${battery_estimate}/bin/battery_estimate";
weather = "${pkgs.sane-weather}/bin/sane-weather";
weather = "timeout 20 ${pkgs.sane-weather}/bin/sane-weather";
};
}