moby: conky: tune weather display
This commit is contained in:
parent
3c32246d9a
commit
41416cd184
|
@ -37,17 +37,16 @@ conky.config = {
|
||||||
color2 = '404040',
|
color2 = '404040',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
-- texeci <interval_sec> <cmd>: run the command periodically, _in a separate thread_ so as not to block rendering
|
||||||
conky.text = [[
|
conky.text = [[
|
||||||
${color1}${shadecolor 707070}${font Sxmo:size=50:style=Bold}${alignc}${exec date +"%H:%M"}${font}
|
${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}
|
${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=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}
|
${color2}${shadecolor a4d7d0}${font Sxmo:size=16}${alignc}⇅ ${downspeedf wlan0}K/s${font}
|
||||||
${font Sxmo:size=16}${alignc}☵ $memperc% $cpu%${font}
|
${font Sxmo:size=16}${alignc}☵ $memperc% $cpu%${font}
|
||||||
|
|
||||||
|
|
||||||
${color1}${shadecolor}${font Sxmo:size=22:style=Bold}${alignc}${exec @weather@ }${font}
|
|
||||||
]]
|
]]
|
||||||
|
|
|
@ -279,7 +279,7 @@ in
|
||||||
in pkgs.substituteAll {
|
in pkgs.substituteAll {
|
||||||
src = ./conky-config;
|
src = ./conky-config;
|
||||||
bat = "${battery_estimate}/bin/battery_estimate";
|
bat = "${battery_estimate}/bin/battery_estimate";
|
||||||
weather = "${pkgs.sane-weather}/bin/sane-weather";
|
weather = "timeout 20 ${pkgs.sane-weather}/bin/sane-weather";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user