Skip to content

Module: Conky

AbouZakaria edited this page Dec 26, 2019 · 2 revisions

configured using this name 'Conky'.

;Command  <string>  conky file path
Command=conky -c ~/conky/myconkyrc

Example:

$HOME/.config/qobbar/myconkyrc

conky.config = {
  out_to_x = false,
  own_window = false,
  out_to_console = true,
  background = false,
  update_interval = 5.0,
  temperature_unit = celsius,
};

conky.text = [[
       &nbsp; &nbsp;   ${time %a %d %b %Y} &nbsp;    ${time %H:%M}\
      <span style='color:\#BEFF99;'> &nbsp;   ${uptime_short}  </span>\
      <span style='color:\#00D7FF;'> &nbsp;  ${battery BAT1}  </span>\
      <span style='color:\#FE0059;'> &nbsp;   ${acpitemp}      </span>\
      <span style='color:\#63C68C;'> &nbsp;   ${memperc}%     </span>\
      <span style='color:\#FF8C00;'> &nbsp;   ${cpu cpu}%     </span>\
      <span style='color:\#00D7FF;'> &nbsp;    ${upspeedf wlp2s0}    ${downspeedf wlp2s0} </span>\
]];

$HOME/.config/qobbar/qobbar.conf

[panel]
BarLeft=Conky,Cpu

[Conky]
Command=conky -c $HOME/.config/qobbar/myconkyrc
Background=xrdb.color0
FontName="xos4 Terminus"

Common properties

;Background			<string>  color
Background=xrdb.background

;Foreground			<string>  color
Foreground=xrdb.foreground

;Underline			<string>  color
;Underline color if Border > 0
Underline=#B44B4B

;Overline			<string>  color 
;Underline color if Border > 0
Overline=xrdb.color4

; Border        <int>     default=0
Border=2

;BorderRadius  <int>     default 0
;radius corners
BorderRadius=4

;Alpha         <int>     0-to-255 default=255
;O full transparent 255 opac
Alpha=255

;FontName      <string>  default parent fontfamily
FontName=Monospace

;FontSize      <int>     default parent font size
FontSize=9

;FontBold      <bool>    default  window fontbold
FontBold=false