Commit Graph

104 Commits

Author SHA1 Message Date
Quan Guo cf5f4eef69 Merge pull request #10 from blueyed/fix-whitespace
minor: remove trailing whitespace
2015-04-21 23:24:14 +02:00
Quan Guo fe77a77d62 Merge pull request #9 from blueyed/use-client-jumpto
Use `awful.client.jumpto` in `selectfn`
2015-04-21 23:22:31 +02:00
Quan Guo c2061cc699 Merge pull request #8 from blueyed/fix-too-many-clients
Fix running out of entries in `charorder`
2015-04-21 23:21:23 +02:00
Daniel Hahler 0779215ae9 Fix running out of entries in `charorder`
When there are more clients than entries in `charorder`, the following
error occurs:

    W: awesome: luaA_dofunction:77: error while running function
    stack traceback:
            /home/user/.config/awesome/revelation/init.lua:166: in function </home/user/.config/awesome/revelation/init.lua:124>
            (...tail calls...)
            /usr/local/share/awesome/lib/awful/key.lua:43: in function </usr/local/share/awesome/lib/awful/key.lua:43>
    error: /home/user/.config/awesome/revelation/init.lua:166: attempt to index field '?' (a nil value)

This fixes it by skipping setup of `hintindex` in this case.

Fixes https://github.com/guotsuan/awesome-revelation/issues/4.
2015-04-21 02:43:48 +02:00
Daniel Hahler 1dcb5576fe minor: remove trailing whitespace 2015-04-21 02:09:37 +02:00
Daniel Hahler 79164e1f92 Use `awful.client.jumpto` in `selectfn`
This makes the code easier and less likely to cause issues in the
future.
2015-04-21 02:07:23 +02:00
Quan Guo 71f8972809 Merge branch 'master' into develop
Conflicts:
	init.lua
2014-03-02 22:33:23 +01:00
Quan Guo f8363cbc74 Add the function of pressing Shift + hint key
Now, in revelation, press Shift + hint key
to maximise the selected client.
Press Shift + any key again to undo
the maximisation.
2014-03-02 22:13:59 +01:00
Quan Guo e7576ce1f5 Merge pull request #2 from blueyed/doc-fixes
Doc fixes,
Thank you very much @blueyed  for all the fixes.
2014-03-02 17:38:56 +01:00
Daniel Hahler 64a69ddd80 doc: grammar and typo fixes for the install section 2014-03-02 15:13:57 +01:00
Daniel Hahler 421e601791 doc: fix install instructions for `git clone …`
The instructions assume the module to be installed in `revelation`, but
not `awesome-revelation`.
Also, you can omit the `.git` suffix when cloning from Github.
2014-03-02 15:10:47 +01:00
Quan Guo 1d705ce247 update the README.md to reflect the improvment 2014-02-19 20:14:49 +01:00
Quan Guo c5069cf0dd fix the typo in revelation.init(arg)
arg -> args
2014-02-19 20:11:03 +01:00
Quan Guo c6685a5369 Merge branch 'develop'
1) be able to handle speical clients(float, maxium, etc.)

Conflicts:
	init.lua
2014-02-19 20:06:15 +01:00
Quan Guo dfcdd4c08b change the restore function.
If you select the minimized client. revelation will restore it
and then focus on it
2014-01-21 20:09:18 +01:00
Quan Guo 22133471ed fix tow bugs. 1) function revelation.init() ould be revelation.init(args)
2) in init() args.match.exact should be args.match.any
Thanks @henfiber
2014-01-10 16:04:34 +01:00
Quan Guo f1701d4fbd fixed two bugs: 1)function revelation.init() -> function
revelation.init(arg)
               2) args.match.exact should be args.match.any in init()
2014-01-10 16:01:18 +01:00
Quan Guo 1e38d9e817 Add codes to handle special clines(maximized, ontopped,
fullscreened, etc)
2014-01-04 02:57:08 +01:00
Quan Guo 17f62a207d Merge branch 'develop'
Conflicts:
	init.lua
2014-01-02 23:31:38 +01:00
Quan Guo f2af594de0 Update the README.md 2014-01-02 22:35:30 +01:00
Quan Guo c9e1d2bad7 The bug of incorrect layout should be fixed 2014-01-02 04:21:20 +01:00
Quan Guo dc8066861a try to fix the wrong layout bug 2013-12-31 22:55:59 +01:00
Quan Guo a381532c08 fixed the bug that the layout of the restored tags was wrongly set to be
float
2013-12-31 22:27:03 +01:00
Quan Guo e3902f380e fix the bug of function expose() with no parameters 2013-12-31 01:43:39 +01:00
Quan Guo 1df7333a21 update the README 2013-12-30 23:52:56 +01:00
Quan Guo 77ef3e3ee7 a. forece to disable all other tags when in the revelation tag
b. correct a few errors to make sure the letter boxes dispear as we wish
2013-12-30 23:41:46 +01:00
Quan Guo 8dd232f1fe update the the delivery of the parameters 2013-12-30 22:50:54 +01:00
Quan Guo f8992a38ba add a parameter to allow only collect clients from current tag 2013-12-30 22:42:52 +01:00
Quan Guo b19d5b5201 correct the minor bug in selectfn() 2013-09-08 16:21:57 +01:00
Quan Guo d7268f3c7b update README.md 2013-09-03 01:55:11 +01:00
Quan Guo 7ba32f17ad update the document and screenshot 2013-09-03 01:47:32 +01:00
Quan Guo a674b68f0c add screenshot 2013-09-01 11:48:34 +01:00
Quan Guo 602f599576 add screenshot 2013-08-31 23:34:40 +01:00
Quan Guo 834c29ce38 correct readme.md 2013-08-31 23:23:00 +01:00
Quan Guo 89615bdeac update the documents 2013-08-31 23:21:34 +01:00
Quan Guo 76ad9523f7 update the documents 2013-08-31 22:54:57 +01:00
Perry Hargrave 014e787658 Merge branch 'master' of github.com:bioe007/awesome-revelation 2012-06-05 08:44:16 -07:00
Perry Hargrave ad016b4c1b Add LICENSE and update doc to reflect it. 2012-06-05 08:43:41 -07:00
bioe007 8b89bb1e79 Merge pull request #6 from jmitchener/master
Fix readme formatting for Github display
2012-04-07 14:56:00 -07:00
Jim Mitchener 9028cbbdb2 Fix readme formatting for github 2012-04-04 14:53:18 -08:00
bioe007 e218f0eae5 Merge pull request #5 from jinleileiking/patch-1
Update README.md
2012-03-13 09:36:33 -07:00
jinleileiking 5c5e9a5d70 Update README.md 2012-03-13 14:31:58 +08:00
Perry Hargrave 1131fb792e Tiles floating clients during expose view
Thanks to Falco I noticed that its cumbersome to have some floating
clients during the expose view of all clients. What do you do if the
client you want is below a floating client?

Well now we make everybody tile during expose, then restore their states
when leaving the Revelation tag.

Signed-off-by: Perry Hargrave <resixian@gmail.com>
2011-12-22 13:49:53 -08:00
bioe007 e0d9dd372c Merge pull request #3 from FPtje/master
Middle mouse close window. Stores floating client geometry closes #4
2011-12-22 13:42:13 -08:00
Falco Peijnenburg 05a9877618 FIX: Floating clients losing their positions and sizes when
returning from Expose mode. (Issue #4)
2011-12-22 17:21:31 +01:00
Falco Peijnenburg e8f6064bd2 ADD: When in revelation mode, middle click will close the window
under the pointer.

This is very useful for window management. When you have many
windows open and you want to close some, you can just open
revelation and close the windows with middle mouse.

I have maintained your coding style, but I recommend not testing
boolean variables against true/false. So instead of
if mouse.buttons[1] == true then ...
you would have
if mouse.buttons[1] then

and instead of
if mouse.buttons[1] == false then -- doesn't actually appear in
code
you would have
if not mouse.buttons[1] then ...

That's just a minor niggle though.
2011-12-21 22:42:20 +01:00
Perry Hargrave 563e92714f Fix awful import
Signed-off-by: Perry Hargrave <resixian@gmail.com>
2011-12-06 14:59:12 -08:00
Perry Hargrave f7d9a444e6 Document client filtering. issue #2 2011-10-20 16:24:50 -07:00
Perry Hargrave 817bc9fc8d Adds client filtering ability. issue #2 2011-10-20 16:24:41 -07:00
Perry Hargrave bc3a7fa586 Update authors, fix long line
Signed-off-by: Perry Hargrave <resixian@gmail.com>
2011-10-05 22:27:00 -07:00