diff --git a/hosts/modules/gui/sxmo/conky-config b/hosts/modules/gui/sxmo/conky-config index b2e734c2..ddbcba85 100644 --- a/hosts/modules/gui/sxmo/conky-config +++ b/hosts/modules/gui/sxmo/conky-config @@ -37,17 +37,16 @@ conky.config = { color2 = '404040', } +-- texeci : 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} ]] diff --git a/hosts/modules/gui/sxmo/default.nix b/hosts/modules/gui/sxmo/default.nix index 1a39980c..35b541e1 100644 --- a/hosts/modules/gui/sxmo/default.nix +++ b/hosts/modules/gui/sxmo/default.nix @@ -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"; }; }