You are not logged in.

#1 2012-06-23 01:39:21

tinySpark
Member
Registered: 2012-06-09
Posts: 19

require("aweror") not working in Awesome

I'm trying to add the raise_or_run function to my awesome desktop, but when I add require("aweror") to my rc.lua, it reverts to the default desktop. I have aweror.lua in the right places but none of them are working:

$ locate aweror
/home/tinySpark/.config/awesome/aweror.lua
/usr/local/share/awesome/lib/aweror.lua
/usr/share/awesome/lib/aweror.lua

Any ideas?

Last edited by tinySpark (2012-06-23 01:39:43)

Offline

#2 2012-06-23 01:43:02

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,557
Website

Re: require("aweror") not working in Awesome

Is that a typo on the forums, or did you use parentheses?  You shouldn't.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2012-06-23 03:39:16

tinySpark
Member
Registered: 2012-06-09
Posts: 19

Re: require("aweror") not working in Awesome

So it should read like this?

require "aweror"

All of my other libraries have parens around them and removing them from the aweror line doesn't seem to change anything.

Offline

#4 2012-06-23 03:44:45

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,557
Website

Re: require("aweror") not working in Awesome

Perhaps either works.  I just found examples with parentheses, but I had always seen without.  Sorry, I guess that syntax is irrelevant.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2012-06-25 00:30:37

anrxc
Member
From: Croatia
Registered: 2008-03-22
Posts: 835
Website

Re: require("aweror") not working in Awesome

I have aweror.lua in the right places but none of them are working

One of them is broken, or all of them are. Read your stderr.


You need to install an RTFM interface.

Offline

Board footer

Powered by FluxBB