Package Details: lain-git 1765.f55ba48-1

Git Clone URL: (read-only, click to copy)
Package Base: lain-git
Description: Layouts, asynchronous widgets and utilities for Awesome WM
Upstream URL:
Keywords: awesome
Licenses: GPL2
Conflicts: lain
Provides: lain
Submitter: lcpz
Maintainer: lcpz
Last Packager: lcpz
Votes: 59
Popularity: 0.000730
First Submitted: 2014-04-12 13:33
Last Updated: 2021-07-06 10:23

Dependencies (2)

Required by (2)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

lcpz commented on 2017-01-27 10:53

Even though this library has been stable for 4 years, a git is unstable by definition.

But you're right: in the past days the instability reached the highest level, sorry. :D

The reason is that, in occasion of Awesome 4.0, I worked very hard to finally make not only my first release, but also to enhance the project.

Now lain is asynchronous and fully Awesome 4.x compliant.

The turbolences are gone, and the release tag 1.0 is near.

Thanks to everyone who supported this project along the years, without which this goal would not be achieved.

lybin commented on 2017-01-27 08:18

Whenever you update something crashes :( Thx, author, but impossible use this library, may be create lain stable?

lcpz commented on 2017-01-26 20:05

Attention again everyone: there is an API break in latest commit, due to the fact that now lain.widgets.* don't return a metatable to the widget, but the main table itself.

In order to call the widget, you must now use the widget field. Example:

local cpu = lain.widgets.cpu()
cpu.widget -- <-- this is the widget

Also, read here:

conandoel commented on 2017-01-24 21:05


lcpz commented on 2017-01-24 20:39

Watch your language here.

If you have a real issue, don't comment here, but fill correctly an Issue format on GitHub.

conandoel commented on 2017-01-24 20:05

ok I think I'll take your base again and edit it with my extras. Thank you.

lcpz commented on 2017-01-24 19:07


Your code works fine here.

conandoel commented on 2017-01-24 18:42

this code

fswidget = lain.widgets.fs({
settings = function()
local home_used = tonumber(fs_info["/home used_p"]) or 0
widget:set_text("/ " .. fs_now.used .. "% | /home " .. home_used .. "% ")

Not found in my rc.lua. Show N/A% for / and 0% for /home.

lcpz commented on 2017-01-10 12:29

Attention everyone: this package is updated to the new Awesome branch (4.x).

If you're using Community/awesome package, which is currently still at version 3.5.9, for the time being either switch to AUR/awesome-git, or install lain from Git and revert to latest 3.5.x commit:

$ git clone ~/.config/awesome/lain
$ cd ~/.config/awesome/lain
$ git checkout 301faf5 .

lcpz commented on 2015-02-09 12:58

Good. Added to wiki: