Jump to content
php.lv forumi

Awesome WM WiFi widgets


mandarīnpīle

Recommended Posts

Informaacija oficiaalajaa manuaalii:

 

--vicious.widgets.wifi
  -- provides wireless information for a requested interface
  -- takes the network interface as an argument, i.e. "wlan0"
  -- returns a table with string keys: {ssid}, {mode}, {chan}, {rate},
  -- {link}, {linp} and {sign}
 
 
Tad nu saveidoju widgetu luuk, shaadi:
 
wifiwidget = wibox.widget.textbox()
vicious.register(wifiwidget, vicious.widgets.wifi, "${ssid} Rate: ${rate}MB/s", 3, "wlp3s0")

 

 

Un izsaucu shaadi:

 

left_layout:add(wifiwidget)
 
 
Nekaadus errorus neizmet, bet outputaa ieguustu tikai "N/a Rate: 0Mb/s".. Kaapeec taa? Pievienojoties internetam ar wifi-menu tiek lietots tieshi wlp3s0 interfeiss, taapeec tam vajadzeetu buut pareizajam. Lua valoda, ja kaads nav lietas kursaa..
Edited by mandarīnpīle
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...