Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - lain-git

Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: lain-git 1534.133fe63-3

Git Clone URL: https://aur-dev.archlinux.org/lain-git.git (read-only)
Package Base: lain-git
Description: Layouts, asynchronous widgets and utilities for Awesome WM
Upstream URL: https://github.com/copycat-killer/lain
Keywords: awesome
Licenses: GPL2
Conflicts: lain
Provides: lain
Submitter: copycat-killer
Maintainer: copycat-killer
Last Packager: copycat-killer
Votes: 47
Popularity: 4.152651
First Submitted: 2014-04-12 13:33
Last Updated: 2017-02-04 13:41

Dependencies (3)

Required by (1)

Sources (1)

Latest Comments

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

lybin commented on 2017-01-27 11:33

@copycat-killer, thank you for your job, but unstable not only in the past days, with battery was many problems, works fine then an update and battery widget is broken. Works again in next update. May be create some tag in repo, every time I try find the last working commit ) Thanks.

copycat-killer 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?

copycat-killer 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: https://github.com/copycat-killer/lain/issues/293

conandoel commented on 2017-01-24 21:05


copycat-killer 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.

copycat-killer 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.

copycat-killer 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 https://github.com/copycat-killer/lain.git ~/.config/awesome/lain
$ cd ~/.config/awesome/lain
$ git checkout 301faf5 .