lua - Awesome desktop manager widgets -


i came upon problem before, renders awesome desktop manager useless.

i searching how connect wifi awesome. found gigamo wifi widget. cool, how eat it?

the awesome wiki entry on widgets not answer question.

i know question stupid , answer somewhere in documentation have no idea how read it. how , add widgets find on net awesome lua files?

edit: when searching rc.lua file henfiber mentioned, came upon archlinux wiki on awesome, put important things in 1 page.

you can use networkmanager available installation in official repos. contains applet creates icon @ system tray. can launch applet @ start-up, placing line in rc.lua file:

awful.util.spawn("nm-applet") 

or can start manually terminal, writing:

$ nm-applet & 

then can left-click @ networkmanager applet icon @ system tray , select list of available wifi access points. additionally, network manager applet allows perform more advanced functions, connecting vpn.

also, quite easy use 3rd-party widgets find in wiki or in github. requires these steps:

  1. download widget .lua file - let's called

    cool_widget.lua 
  2. move in ~/.config/awesome/ :

    ~/.config/awesome/cool_widget.lua 

    an alternative use structure

    ~/.config/awesome/cool_widget/init.lua 

    it better when widget requires more 1 files.

  3. load widget @ top of rc.lua file:

    cool_widget =  require("cool_widget") 
  4. add widget in wibox (toolbar) in same way add built-in ones


Comments

Popular posts from this blog

node.js - Using Node without global install -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

java - Null response to php query in android, even though php works properly -