Package Details: lain-git 1588.0f2cbcb-1

Git Clone URL: https://aur.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: 48
Popularity: 1.058084
First Submitted: 2014-04-12 13:33
Last Updated: 2017-04-29 14:20

Dependencies (3)

Required by (1)

Sources (1)

Latest Comments

copycat-killer commented on 2017-04-29 14:17

lain.widget.watch has been removed because now redundant: use awful.widget.watch.

Use case examples from former wiki entry have been ported here:

https://awesomewm.org/recipes/watch

copycat-killer commented on 2017-02-08 13:40

A couple of consistency changes:

1. lain.widgets renamed to lain.widget
2. lain.widget.abase renamed to lain.widget.watch


@dummys I have no problem here doing

$ git clone https://aur.archlinux.org/lain-git.git # when you start using it
$ cd lain-git
$ git pull
$ makepkg -sri

In case, do

$ rm lain-git/lain* -r

before every update.

dummys commented on 2017-02-08 09:30

Hi,

I always get problem when I tried to update the old lain-git:

-> $ makepkg -sri
==> Making package: lain-git 1558.33223f2-3 (Wed Feb 8 10:28:18 CET 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating lain git repo...
Fetching origin
remote: Counting objects: 80, done.
remote: Total 80 (delta 49), reused 49 (delta 49), pack-reused 31
Unpacking objects: 100% (80/80), done.
From git://github.com/copycat-killer/lain
a1ba902..33223f2 master -> master
+ a9aca48...8f274fe refs/pull/243/merge -> refs/pull/243/merge (forced update)
+ 6e7916d...19999a7 refs/pull/249/merge -> refs/pull/249/merge (forced update)
+ 06fd4ec...da083fa refs/pull/259/merge -> refs/pull/259/merge (forced update)
+ 0d29525...23636f7 refs/pull/273/merge -> refs/pull/273/merge (forced update)
+ 7735f84...85d9594 refs/pull/276/merge -> refs/pull/276/merge (forced update)
* [new ref] refs/pull/309/head -> refs/pull/309/head
* [new ref] refs/pull/309/merge -> refs/pull/309/merge
* [new ref] refs/pull/310/head -> refs/pull/310/head
+ 1b4e545...f04b450 refs/pull/86/merge -> refs/pull/86/merge (forced update)
==> Validating source files with md5sums...
lain ... Skipped
==> Extracting sources...
-> Creating working copy of lain git repo...
fatal: Not a git repository (or any parent up to mount point /home)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
==> ERROR: Failure while updating working copy of lain git repo
Aborting...

I Need to rm -r the folder and redownload the package each time.

goll commented on 2017-02-02 12:03

Thanks for the quick fix!

copycat-killer commented on 2017-02-02 11:48

Thanks.

goll commented on 2017-02-02 11:22

There is a typo on line 22: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=lain-git#n22

You're missing the ending space before the ending bracket so the test expression doesn't get evaluated properly: [ -d "/usr/share/awesome/lib/" ]

Also on line 29: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=lain-git#n29

You're missing the "t" at the end: --quiet

copycat-killer commented on 2017-02-02 10:33

PKGBUILD updated.

femtomatic commented on 2017-02-01 23:00

Hi, the latest version of the package fails with the error:
ERROR: A failure occurred in package().

The check to see which version of awesome is installed fails for me, the "which awesome" command yields the same result with both the stable and git versions:
/usr/sbin/awesome

I'm not too savvy with bash scripting so I just changed the "if" statement to:
if [ -d "/usr/share/awesome/lib/"]; then
aw_path="$pkgdir/usr/share/awesome/lib"
else
aw_path="$pkgdir/usr/local/share/awesome/lib"
fi

Thanks for creating lain maintaining this package.

Cheers!

copycat-killer commented on 2017-01-30 21:53

It means that after a while fs_now.used is an empty string.

I can add a safe check to avoid the naughty.error, but I'd like to know why it happens.

Add the following line before 102:

if #fs_now.used == 0 then naughty.notify{text = "fs_now.used is nil", timeout = 0} end

and, when the notification popups, execute this command:

$ LC_ALL=C df -k --output=target,size,used,avail,pcent

and paste me the output.

But let's continue on GitHub instead of commenting here: fill an issue format when you have it. Thanks.

conandoel commented on 2017-01-30 21:21

After a while I get error of comparison nil in line 102 of fs.lua, I use the example code that you have in the wiki.

All comments