brndnmtthws / conky

Light-weight system monitor for X, Wayland (sort of), and other things, too
https://conky.cc
GNU General Public License v3.0
7.16k stars 614 forks source link

Conky doesnt print any Wireless Options/Values (wireless_link_qual , wireless_link_qual_perc etc. ) on terminal #1117

Closed har5ha closed 3 years ago

har5ha commented 3 years ago

Hello!

I use conky-cli to set values in my status bar (dwm tiling manager using xsetroot ). The conky-cli than comes as a package in my Distro(debian based) doesn't have "wireless" options, so I had to manually compile to get the "Wireless Options".

But for some reason, none of the "Wireless Options" work. Can somebody help me with this.

Thanks in advance!

Following don't Work :

$ conky -t '$wireless_link_qual'
0
$ conky -t '$wireless_link_qual_perc'
unk

The following works :

$ conky -t '$acpitemp' -i 1
45
conky -v
conky 1.12.2_pre compiled 2021-07-26 for Linux x86_64

Compiled in features:

System config file: /etc/conky/conky.conf
Package library path: /usr/lib/conky

 General:
  * math
  * IPv6
  * Curl
  * Weather (METAR)
  * wireless
  * support for IBM/Lenovo notebooks
  * builtin default configuration
  * old configuration syntax
  * OSS mixer support
  * apcupsd
  * iostats
  * ncurses
  * Internationalization support
  * HSV Gradient

 Music detection:
  * CMUS
  * MPD
  * MOC

 Default values:
  * Netdevice: eno1
  * Local configfile: $HOME/.conkyrc
  * Localedir: /usr/share/locale
  * Maximum netdevices: 256
  * Maximum text size: 16384
  * Size text buffer: 256



~/.conkyrc :

conky.config = {
out_to_console = true,
background = false,
update_interval = 2,
total_run_times = 0,
no_buffers= true,
use_spacer = left
};
GeneMosher commented 3 years ago

${wireless_link_qual wlan0}

har5ha commented 3 years ago

${wireless_link_qual wlan0}

Thanks!. Your suggestion worked.

$ conky -t '${wireless_link_qual wlan1}' 60

PS: This can be closed!.